Commit Graph

17714 Commits

Author SHA1 Message Date
Nicholas Nethercote
a052cfef7b Bug 767202 (part 3) - Split StmtInfo into two. r=bhackett.
--HG--
extra : rebase_source : 9445502f380ef08d388c76a6bcd55773c2a28e02
2012-06-14 23:06:43 -07:00
Nicholas Nethercote
b6aa368dcc Bug 767202 (part 2) - Inline EnterFunction(). r=bhackett.
--HG--
extra : rebase_source : 9caf154af039d3db11e319466f8f6bbd42900844
2012-06-14 21:02:31 -07:00
Nicholas Nethercote
4b9ff38573 Bug 767202 (part 1) - Don't export PopStatementBCE(). r=bhackett.
--HG--
extra : rebase_source : 07fd12e3ec15e2739bb7b72ff7063a6e50ded930
2012-06-14 21:03:43 -07:00
Eddy Bruel
4cc46d10d1 Bug 70357 - Add Wrapper base class; r=bholley 2012-06-28 04:10:37 +02:00
Steve Fink
ade1e1011b Bug 734215 - Typed array property access should allow proxies. r=luke 2012-06-25 17:22:37 -07:00
Steve Fink
4ffbb9ab15 Bug 730873 - Implement ArrayBufferView.prototype.move (r=Waldo) 2012-02-27 13:18:30 -08:00
Matt Brubeck
94498e779a Back out d861452b261c (bug 734215) and 784b7a971022 (bug 730873) because of build failure 2012-06-27 16:53:17 -07:00
Steve Fink
a4c94b0ce0 Bug 734215 - Typed array property access should allow proxies. r=luke
--HG--
extra : rebase_source : 5f5c5db8a9b0453147ac8914ac3442d5905fc874
2012-06-25 17:22:37 -07:00
Steve Fink
9480b3b318 Bug 730873 - Implement ArrayBufferView.prototype.move (r=Waldo)
--HG--
extra : rebase_source : 14b1a8acb380db011fec0d7948f5325f55d4b77d
2012-02-27 13:18:30 -08:00
Bill McCloskey
c3819ff679 Bug 757199 - Don't use an addprop IC during incremental GC (r=bhackett) 2012-06-27 13:46:57 -07:00
Phil Ringnalda
a8a17bcdca Back out 6a386d638a1a (bug 746277) for packaged build bustage 2012-06-27 08:31:38 -07:00
Andrew McCreight
1a161c10bd Bug 754495, part 1: add JS hooks for compartment CC scanning. r=billm 2012-06-27 08:09:24 -07:00
Joey Armstrong
19374d1d46 bug 746277: replace hg shell pipelines with make logic 2012-05-16 15:09:00 -04:00
Brian Hackett
e066fab385 Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-27 07:10:50 -07:00
Phil Ringnalda
944872a1da Back out e3ec1bc37d8c (bug 762561) for debug make check orange 2012-06-26 19:53:59 -07:00
Gary Kwong
0f9c31eebf Backout 431fa10c63a6 for orange. Thanks philor for pointing it out, r=orange 2012-06-26 18:19:55 -07:00
Bill McCloskey
e0ef349c0e Bug 757199 - Assertion failure: [barrier verifier] Unmarked edge: shape, r=bhackett
--HG--
extra : rebase_source : 3d62cae7c9523c0e03cd2fe0ea670c0f0646d6b3
2012-06-26 17:49:01 -07:00
Brian Hackett
1c99b9723c Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-26 17:47:20 -07:00
Terrence Cole
1891b24297 Bug 768626 - Add rooting analysis for PropertyId; r=Waldo
--HG--
extra : rebase_source : 42ba66650effc95e7c764026e2e9c32a16b21838
2012-06-26 13:42:39 -07:00
Bill McCloskey
bb0eb41ffb Bug 767643 - Don't assert(false) when finding black/gray edges (r=mccr8) 2012-06-26 13:38:47 -07:00
Bill McCloskey
782289afab Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8) 2012-06-26 13:11:39 -07:00
Benjamin Peterson
88ab550522 Bug 762324: write to the current address of the bytecode, r=jorendorff 2012-06-26 13:09:41 -07:00
Nicholas Nethercote
daf67b675e Bug 711130 (part 6) - Improve the measurement of decommitted GC memory. r=terrence.
--HG--
extra : rebase_source : ad344b58798cb6837a59f3d48f57880b036c300e
2012-06-25 17:09:00 -07:00
Nicholas Nethercote
688fb0d230 Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Nicholas Nethercote
d8c8dc869d Bug 711130 (part 3) - Use consistent names for reports of unused JS memory. r=terrence.
--HG--
extra : rebase_source : a8e5a7d77355539f84a7fbb4d312fa66d2fe5ba6
2012-06-25 17:06:50 -07:00
Nicholas Nethercote
28934b1f94 Bug 711130 (part 2) - Merge "arena/unused" and "arena/padding" into "arena-admin". r=terrence.
--HG--
extra : rebase_source : 1c9d318e86eb27c2e40f2ef95554afefb8a6c653
2012-06-25 17:06:50 -07:00
Eric Faust
d683c3b5f2 Bug 764148 - Stop incorrectly shadowing TI properties on sets if a setter would
be called. r=bhackett
2012-06-25 17:32:34 -07:00
Gary Kwong
b656492b05 Add tests for bug 632778, take two. r=jorendorff 2012-06-22 19:00:15 -07:00
Luke Wagner
44fc2c4d2b Bug 765907 - Don't save frame variables of dead generators in the debugger (r=billm) 2012-06-20 08:57:29 -07:00
Luke Wagner
0526922dc1 Bug 767744 - rm UndominateInitializers (it's unnecessary) (r=jorendorff) 2012-06-25 14:02:08 -07:00
Luke Wagner
77ae2df11a Bug 768071 - rm TypeSet::hasGlobalObject (dead code) (r=bhackett) 2012-06-20 08:57:29 -07:00
Gary Kwong
f03ddefdda Backout df2e726ece1f because apparently the tests still seem to be failing. 2012-06-25 14:10:02 -07:00
Gary Kwong
d9041bec25 Add tests for bug 632778, r=jorendorff 2012-06-25 13:38:36 -07:00
Benjamin Peterson
524a987899 Bug 767660: after mutating a list, update its tail, r=jorendorff 2012-06-25 13:31:51 -07:00
Jason Orendorff
55019396a8 Bug 765302 - Add noScriptRval option to JS shell evaluate() function. r=luke. 2012-06-25 14:47:33 -05:00
Nicholas Nethercote
b08640ad29 Bug 754739 - Clean up front-end error reporting. r=jwalden. 2012-06-24 22:50:21 -07:00
Nicholas Nethercote
1f32c8faaa Bug 634800 - Clean up reportCompileErrorNumberVA(). r=jwalden. 2012-06-13 23:23:01 -07:00
Luke Wagner
2566d2e820 Bug 756864 - Avoid quadratic cost of JS_GetFramePC when the stack is deep (r=bhackett) 2012-06-23 20:46:14 -07:00
Jeff Walden
873826e87c Bug 751377 - Begin to implement [[GetOwnProperty]] for named properties in the new representation. r=bhackett
--HG--
extra : rebase_source : 87bf1863596e92c987ebc6aeedbd7829fbecfa8f
2012-05-17 11:38:25 -07:00
Jeff Walden
54f304976b Bug 751377 - Add handles to all the new meta-object APIs. r=bhackett
--HG--
extra : rebase_source : 879302249be14da57c6945899961e63a08375279
2012-06-14 19:13:34 -07:00
Jeff Walden
457cf0d407 Bug 751377 - Introduce a new union type to use for property keys in shapes. (jsid is what's currently used, and it's unsuitable because it can also store indexes, but in the new object representation shapes will never hold indexes.) r=bhackett
--HG--
extra : rebase_source : 63d2e5753fc59eac1919368f25485995f0f08a95
2012-06-06 16:28:44 -07:00
Jeff Walden
b0c16ab534 Bug 751377 - Add resolve-flags arguments to all the element-access APIs that might call a resolve hook, since resolve flags appear like they'll be with us for at least the near future. :-\ r=bhackett
--HG--
extra : rebase_source : 801af07a8562a9df62b8cc205593f76a957cd67e
2012-05-29 12:01:32 -07:00
Jeff Walden
bda7170ce4 Bug 766347 - Adjust Handle<T> constructors to only accept Rooted<S> or Handle<S> where S is convertible to T. r=luke
--HG--
extra : rebase_source : 5cd1b32a977b4172fbad256a9bbd4a28e8314cdd
2012-06-19 15:01:58 -07:00
Luke Wagner
bbae81d96a Bug 755186 - add JSCompartment::global (r=jorendorff)
--HG--
extra : rebase_source : 0a54699e01350611f1de69845cfe05b1506c40cb
2012-06-20 08:57:29 -07:00
Luke Wagner
0c274df8bd Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Luke Wagner
5d7c3690be Bug 755186 - rm JS_NewGlobalObject (r=jorendorff)
--HG--
extra : rebase_source : d9ba442572836406e165cdff11a646e6fd498c03
2012-06-20 08:57:29 -07:00
Luke Wagner
87052fbe46 Bug 766064 - Remove overly-conservative assertion (r=jorendorff)
--HG--
extra : rebase_source : 3228f7ce771c7dda14571a16e998b4efd9b9bbd9
2012-06-20 08:57:29 -07:00
Terrence Cole
215608f0a9 Bug 504735 - Passing --disable-threadsafe to JS configure enables threadsafe; r=ted
Apparently, this has been true for at least 3 years. Fixed now.
2012-06-22 16:40:34 -07:00
Steve Fink
222b385266 Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
--HG--
extra : rebase_source : 790f6727878f44e7cf424d9e32a85347416df625
2012-06-15 15:21:56 -07:00
Gary Kwong
0f80188dd7 Bug 719750 - Remove extraneous print statement.
--HG--
extra : rebase_source : f0437db62e2184778bd4ef94f6284fddc8e27c02
2012-06-22 12:25:29 -07:00
Steve Fink
bb8f1d1cc9 Backed out changeset c33a30aedb3b (bug 764184) 2012-06-22 12:22:00 -07:00
Gary Kwong
a73c4e423d Add a test for bug 719750. 2012-06-22 12:02:02 -07:00
Bill McCloskey
1ca664233d Bug 764850 - Don't run write barrier verifier during shutdown (r=terrence) 2012-06-22 11:31:00 -07:00
Bill McCloskey
64f2dc870e Bug 765313 - script->types is getting thrown out too soon in JSScript::ensureRanAnalysis (r=bhackett) 2012-06-22 11:30:54 -07:00
Bill McCloskey
3a22f60ac8 Bug 766355 - Fix GC valgrind warnings (r=terrence) 2012-06-22 11:30:48 -07:00
Bill McCloskey
d38c1a4856 Bug 766707 - Free dynamic slots if we OOM during object allocation (r=dvander) 2012-06-22 11:28:49 -07:00
Bill McCloskey
327d6081b3 Bug 767234 - Don't invoke write barrier on generator slots (r=luke) 2012-06-22 11:24:20 -07:00
Steve Fink
e0bf7c92f3 Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
--HG--
extra : rebase_source : b4b9015caab404d8a4b674349fc27ade09dd3ec5
2012-06-15 15:21:56 -07:00
Mike Hommey
ff3ca94566 Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey 2012-06-22 18:33:17 +02:00
Mike Hommey
e6a15d8366 Bug 766975 - Rename OBJS-related dependency files. r=khuey 2012-06-22 18:29:03 +02:00
Jon Coppeard
0210441fac Bug 763984: Simplify the code and use the same path for incremental/non-incremental GC r=billm
--HG--
extra : rebase_source : 1b9e2601fd97cd6fb6ff9f661ee394ac80339736
2012-06-22 11:26:08 +01:00
Jon Coppeard
4704232490 Bug 763984: Add new zeal modes to test incremental GC r=billm
--HG--
extra : rebase_source : 0392bc3985442eb3b378b1f5a47a757f55106fdc
2012-06-22 11:25:21 +01:00
Jeff Walden
7c779a3ee5 Bug 758913 - Remove JSCLASS_NEW_RESOLVE_GETS_START. r=dmandelin 2012-06-05 17:39:30 -07:00
Cameron McCormack
ecb2356ad5 Bug 448573 - Match French localisations of MSVC version banners. r=ted,dmandelin 2012-06-22 11:55:04 +10:00
Gregor Wagner
e0fb5f76e3 Bug 767230 - Don't trigger a GC in MaybeGC when we are still sweeping in the background. r=billm 2012-06-21 18:44:46 -07:00
Benjamin Peterson
0b46b17f1d Bug 765055: bind rest argument when defaults are present, r=jorendorff 2012-06-21 16:53:46 -07:00
Nicholas Nethercote
4747c639a1 Bug 764714 (part 3) - Remove BytecodeEmitter::GlobalScope. r=jorendorff. 2012-06-13 23:29:04 -07:00
Nicholas Nethercote
97aa494461 Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff. 2012-06-13 23:28:04 -07:00
Nicholas Nethercote
44499374d0 Bug 764714 (part 1) - Only set JSScript::savedCallerFun when appropriate. r=jorendorff. 2012-06-13 17:26:31 -07:00
Nicholas Nethercote
6b90428d43 Bug 766821 - Clear dead wood from Bindings. r=luke.
--HG--
extra : rebase_source : 88a769b7cc17ba4c850208e5c59916c1f7b2bde8
2012-06-20 19:14:35 -07:00
Jeff Walden
fdc16c2d6a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Mike Hommey
61c2f7921a Fixup for pymake after bug 763987. r=ted 2012-06-21 14:50:42 +02:00
Randell Jesup
435602cf1a Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Ed Morley
976e703db3 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
1c82d6223a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Bobby Holley
6ca66fb5a5 Bug 753162 - Don't assume that we end up in the same compartment as we started in CrossCompartmentWrapper. r=mrbkap 2012-06-21 09:53:49 +02:00
Mike Hommey
13388d7565 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Jim Blandy
bdae02798a Bug 757400: When we change a compartment's debug mode, ensure we throw away all the outdated analyses. r=billm
Always do a cleansing GC when we turn debug mode off, as well as when we
turn it on. If we don't, it's possible to have stale analyses (generated in
the wrong debug mode state) stick around, and we'll assert in JM.

Have ShouldCleanUpEverything recognize gcreason::DEBUG_MODE_GC as a reason
to discard all jit code and analyses.
2012-06-20 19:14:44 -07:00
Benjamin Peterson
3d0373f154 Bug 764508 - Remove header if it is no longer needed, r=jorendorff 2012-06-20 16:33:19 -07:00
Jeff Walden
b8d624d78f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
cd9ccb6f57 Fix a NULL-to-bool conversion warning. No bug, trivial, r=themaid 2012-06-20 15:30:14 -07:00
Jeff Walden
db39c5b92b Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Aki Sasaki
ccbb1b957f bug 765808 - fix bare 'dn' typo. r=glandium 2012-06-20 13:59:23 -07:00
Benjamin Peterson
c8d1f2b3b2 Bug 765280 - Fake stack depth, so various opcodes that depend on absolute stack depth are not confused, r=jorendorff 2012-06-20 12:03:04 -07:00
Luke Wagner
969c90af65 Bug 764401 - Fix the debugger not to assume the arguments object has been created if needsArgsObj (r=jimb)
--HG--
extra : rebase_source : 7fec2830eb639c5a702685a023d1a6d20cfe2500
2012-06-20 08:56:12 -07:00
Mike Hommey
2c40a7fa85 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
3beac338fb Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:45:45 +02:00
Mike Hommey
95bbba592a Backout changeset efc2f07a829b (bug 734125) because of bustage 2012-06-20 09:23:41 +02:00
Mike Hommey
dc16dcec90 Re-sync config/config.mk after bug 763987. r=me 2012-06-20 09:14:05 +02:00
Mike Hommey
028b759dbf Bug 764286 - Remove unused AC_SUBSTs. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
7d33543b83 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
2026efa911 Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:00:48 +02:00
Jeff Walden
bbbbea1dec Initialize an outparam (to a totally bogus value) so that gcc doesn't complain about may-be-used-uninitialized in a case that can't actually be reached. No bug, rs=jorendorff
--HG--
extra : rebase_source : c1aed684b0113e4cfcff55f43b5a6e6e460fafe6
2012-06-15 14:59:34 -07:00
Jeff Walden
08838770af Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
--HG--
extra : rebase_source : 44f039cd09ac2ab1825e7f9fd1e2a01f5907bb67
2012-06-12 16:03:10 -07:00
Jeff Walden
b6fa2253dc Fix narrowing-initializer warnings with gcc 4.7. No bug, r=themaid
--HG--
extra : rebase_source : a5cf16fbc9eb408a9eb286a2f0bb6194835a4bc2
2012-06-12 15:03:12 -07:00
Jeff Walden
35fb39c8b3 Fix an obvious bool-to-pointer conversion warning, no bug, r=sparky
--HG--
extra : rebase_source : 19e61d09183c54e413ef1f76ae47a623edbed464
2012-06-18 13:48:58 -07:00
Nicholas Nethercote
540d4de6c6 Bug 766004 - Remove LookupCompileTimeConstant(). r=bhackett.
--HG--
extra : rebase_source : 27e505a79158eb87fd38adf700bc21a666415733
2012-06-19 18:05:43 -07:00
Nicholas Nethercote
8fd90f055f Bug 765976 - Simplify CompileFunctionBody's control flow. r=sfink.
--HG--
extra : rebase_source : 4d5e88fdae064f5a68c0938ee5cbc6e619d02c85
2012-06-18 16:54:55 -07:00
Andreas Gal
e33f6ca94b Bug 637014 - use the right global in MakeFinalizeObserver (r=luke) 2012-06-19 11:13:42 -07:00
Benjamin Smedberg
ed825e08a8 Bug 755724 part A - add makefile variable DIST_SUBDIR to ship code to a subdirectory of dist/bin, r=ted
--HG--
extra : rebase_source : ef52dff3c4f42b99148e99335ee82d9a207faf46
2012-06-19 10:45:24 -04:00