Commit Graph

21211 Commits

Author SHA1 Message Date
Benjamin Peterson
bedf163a14 Bug 773115 - Remove unneeded needStrictChecks() call. r=njn 2012-07-12 19:28:54 -04:00
Benjamin Peterson
c98f778932 Bug 772012 - When the rest parameter aliases a function and defaults are present, don't try to set the rest parameter. r=jorendorff 2012-07-12 19:28:54 -04:00
Jeff Walden
b940fd409c Bug 773049 - Implement the Value interface in MutableHandle<Value> and Rooted<Value> (in addition to Handle<Value> and EncapsulatedValue which already manually implemented it), consolidating the Value interface bits in ValueOperations and MutableValueOperations classes using CRTP. r=bhackett
--HG--
extra : rebase_source : 436385599a7f071792c2d14037e1a1c639427c4f
2012-07-12 03:01:59 -07:00
Luke Wagner
5a689cbdcd Bug 773108 - Avoid overflowing blockid in CompExprTransplanter (r=dvander) 2012-07-11 22:07:25 -07:00
Brian Hackett
da6b1a78cd Add more rooting for interpreter, TI and JIT, bug 772303, r=terrence. Also disable Windows PGO for RegExp.cpp because the compiler is broken. 2012-07-12 12:36:27 -06:00
Luke Wagner
51d299ed9e Bug 753158 - emit ALIASEDVAR ops for upvars (r=bhackett)
--HG--
extra : rebase_source : 53c280967abc57f5a19e7dbc1dcfacc0603b202b
2012-07-05 20:35:08 -07:00
Jan de Mooij
18584375fa Bug 770623 - Use SSA for MBoundsCheck. r=dvander 2012-07-04 10:19:07 +02:00
Kannan Vijayan
72c66f14c8 Bug 770762 - added test case to ion-tests. (r=gkw) 2012-07-04 16:27:58 -04:00
Nicolas Pierron
bab06b143e Fix ARM parity in MoveEmitter use base for effective addresses. (no bug, r=mjrosenb) 2012-07-04 11:48:46 -07:00
Jan de Mooij
e652c6995a Backout 8add47e4bd8d for jit-test failures (test passes locally) 2012-07-04 20:22:13 +02:00
Jan de Mooij
789f7ba3e7 Bug 767419 - Support idempotent GetProperty ICs. r=dvander,bhackett 2012-07-04 19:39:00 +02:00
Kannan Vijayan
f701215b73 Bug 729278 - Fix nits that I forgot to do when merging the old polyinline patch. (r=mjrosenb). 2012-07-04 11:02:11 -04:00
Kannan Vijayan
f7d9a5297f Bug 729278 - Fix minor redundancy introduced by last poly inlining fix. (r=efaust). 2012-07-04 10:29:02 -04:00
Kannan Vijayan
715cd1d95d Bug 729278 - Fix error in getPolyCallTargets (r=orange). 2012-07-03 17:56:08 -04:00
Kannan Vijayan
d090f81f26 Bug 729278 - Fix codgen _the right way_ this time by adding macro assembler directives for cmpPtr(Register, ImmGCPtr) for relevant platforms. (r=tbpl-red) 2012-07-03 16:01:58 -04:00
Kannan Vijayan
6ae9e7293e Bug 729278 - Fix codegen for InlineFunctionGuard. (r=tbpl-red) 2012-07-03 15:40:00 -04:00
Kannan Vijayan
36b7643cf6 Bug 729278 - Add polymorphic inlining logic. (r=mjrosenb) 2012-07-03 14:37:39 -04:00
Kannan Vijayan
ac71356789 Bug 729278 - Refactor inline_call infrastructure to prepare for polymorphic inlining. (r=mjrosenb) 2012-07-03 14:37:12 -04:00
Kannan Vijayan
30799c60e9 Bug 729278 - Add IR instructions for inline function guards. (r=mjrosenb) 2012-07-03 14:36:10 -04:00
Luke Wagner
9a75002756 Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
--HG--
extra : rebase_source : 0eaf04cf7f302308ce7f76c2012f75195e41f1bf
2012-07-03 10:24:36 -07:00
Luke Wagner
439bdb3b68 Bug 767750 - rm JSScript::evalHashLink (r=njn)
--HG--
extra : rebase_source : 6cbf87dc2cbc23c60ee278b9fd3b64b0936517bc
2012-07-03 10:24:35 -07:00
Luke Wagner
2c9d40f617 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal

--HG--
extra : rebase_source : d77f8e19d0674726fb4078a73b6a3cb57ac91d73
2012-07-03 10:24:35 -07:00
Jan de Mooij
eefb9ac140 Remove unnecessary "|jit-test| xml" comment, fixes a jit-test warning. 2012-07-03 09:55:19 +02:00
David Anderson
6b39ea079f Remove flaky test. 2012-07-02 17:43:29 -07:00
David Anderson
4cbfdfcca9 Fix think-o when unwinding exceptions (bug 765483, r=jandem). 2012-07-02 15:33:58 -07:00
David Anderson
29cef2f51a Added missing test case for bug 765479. 2012-07-02 15:33:51 -07:00
David Anderson
8c9893f04c Fix type inference misuse with string getelem access (bug 765479, r=bhackett). 2012-07-02 15:30:07 -07:00
Tom Schuster
ab56662598 Bug 765496 - Fix non-methodjit buils again. rs=sfink 2012-07-02 19:43:53 +02:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Brian Hackett
548b46b175 Fix --enable-root-analysis builds break, no bug. r=billm 2012-07-09 09:58:22 -06:00
Mike Hommey
4f24ca47f6 Bug 771870 - Avoid js/src/Makefile being created with wrong topsrcdir. r=khuey 2012-07-09 15:47:26 +02:00
Luke Wagner
63ab279d39 Bug 771896 - rm LOAD_ATOM, LOAD_NAME, and 'atoms' from js::Interpret (r=waldo) 2012-07-08 04:31:04 -07:00
Luke Wagner
22b7a4a825 Bug 770795 - add NullPtr and associated Handle constructor (r=billm) 2012-07-08 03:00:11 -07:00
Ryan VanderMeulen
623e378e7a Backout 2dd36c1cd662 (bug 771320) due to red. 2012-07-08 16:50:32 -04:00
Cameron Kaiser
1def53eae4 Bug 771320 - Use payloadOf/PAYLOAD_OFFSET when constructing PIC stubs. r=bhackett 2012-07-08 16:33:41 -04:00
Bill McCloskey
76ac85af05 Bug 771720 - Improve GC data collection (r=terrence) 2012-07-08 10:24:32 -07:00
Eddy Bruel
560a0f014c Bug 703537: Rename AbstractWrapper to IndirectWrapper + adding comments; r=bholley 2012-07-08 19:04:14 +02:00
Luke Wagner
a7b1dd068c Remove unnecessary decls (mostly to trigger a clobbering rebuild) (no bug, r=me) 2012-07-07 21:26:14 -07:00
Alex Crichton
13a898fcad Bug 770663 - Add a JS shell function to turn on a static profiling stack (r=luke)
--HG--
extra : rebase_source : 7e7ad51d73d5a517ef6bb9d62255e673944b4330
2012-07-05 10:43:50 -07:00
Ryan Pearl
571cf6894e Bug 699883 - [3/3] Implement range analysis; defaulting to disabled for now, hopefully with less orange this time (r=dvander) 2012-06-29 15:11:10 -04:00
Ryan Pearl
c73557c2a3 Bug 699883 - [2/3] Add a fast way to check if one block dominates another (r=dvander) 2012-06-29 15:09:19 -04:00
Ryan Pearl
e093f8c5cb Bug 699883 - [1/3] Rename old range analysis pass to edge case analysis (r=dvander)
--HG--
rename : js/src/ion/RangeAnalysis.cpp => js/src/ion/EdgeCaseAnalysis.cpp
rename : js/src/ion/RangeAnalysis.h => js/src/ion/EdgeCaseAnalysis.h
2012-06-29 15:09:19 -04:00
Eric Faust
29c93d0408 Remove stray masm.breakpoint(). no r. 2012-06-29 17:29:30 -07:00
Eric Faust
be2b204eb4 Bug 769853 - Replace extraneous call in x86 buildFakeExitFrame() with a label push. r=sstangl 2012-06-29 17:27:12 -07:00
Jan de Mooij
c1bda2d752 Bug 766218 - Make strict equality comparisons with known booleans faster. r=dvander 2012-06-29 11:04:55 +02:00
David Anderson
220e135973 Fix merge bustage.
--HG--
extra : rebase_source : 84c2ad86bd828540b1cff53536afce5067598713
2012-06-28 19:11:25 -07:00
Sean Stangl
a95b304712 Bug 768270 - Inline constructors. r=dvander 2012-06-28 18:58:51 -07:00
David Anderson
a5c2e5f2e7 Fix build. 2012-06-28 15:19:36 -07:00
David Anderson
8cc88ca2e4 Merge from mozilla-central. 2012-06-28 15:17:18 -07:00
David Anderson
e11e22bbf8 Slightly safer fix for bug 769224 (r=billm). 2012-06-28 15:08:34 -07:00
David Anderson
627f876850 Clear mjit frames before purging caches (bug 769224, r=billm). 2012-06-28 12:29:18 -07:00
David Anderson
a5c255b587 Merge. 2012-06-28 12:16:09 -07:00
David Anderson
6f5ea80bba Fix x64 bustage (no bug, r=sstangl). 2012-06-28 12:15:05 -07:00
Eric Faust
7de7c41709 Bug 769195 - Fix an overzealous GuardShape in TestCommonPropFunc(). r=jandem 2012-06-28 03:27:05 -07:00
David Anderson
f21c28ed97 Fix int32 boxing box on x64 (bug 761835, r=sstangl). 2012-06-27 15:52:43 -07:00
David Anderson
93be464f23 Purge IC caches when verifying barriers (bug 761854, r=billm). 2012-06-27 15:38:39 -07:00
David Anderson
c162760065 Merge backout. 2012-06-27 13:05:57 -07:00
David Anderson
90cf027b45 Merge backout. 2012-06-27 13:05:16 -07:00
David Anderson
735bbba5c7 Merge backout. 2012-06-27 13:04:18 -07:00
David Anderson
fbab642d2c Merge backout. 2012-06-27 13:03:42 -07:00
Tom Schuster
9f26429b15 Bug 676287 - IonMonkey: inline some constant doubles in code. r=dvander 2012-06-27 20:26:07 +02:00
David Anderson
af248c16a6 Merge from mozilla-central. 2012-06-27 11:00:48 -07:00
Eddy Bruel
ea3e60175e Bug 70357 - Add Wrapper base class; r=bholley 2012-06-28 04:10:37 +02:00
Ryan Pearl
baabbe8f6a Don't redefine MDefinitionVector (no bug, r=red) 2012-06-27 00:59:45 -04:00
Phil Ringnalda
dcd5e0401d Back out e3ec1bc37d8c (bug 762561) for debug make check orange 2012-06-26 19:53:59 -07:00
Gary Kwong
47c3b97093 Backout 431fa10c63a6 for orange. Thanks philor for pointing it out, r=orange 2012-06-26 18:19:55 -07:00
Bill McCloskey
d70d0f4225 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
3a5a434a81 Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-26 17:47:20 -07:00
Bobby Holley
36b5831551 Bug 758344 - Make ContextHolder implement nsIScriptContextPrincipal. r=mrbkap 2012-06-26 22:54:18 +02:00
Terrence Cole
8784cfa2dc Bug 768626 - Add rooting analysis for PropertyId; r=Waldo
--HG--
extra : rebase_source : 42ba66650effc95e7c764026e2e9c32a16b21838
2012-06-26 13:42:39 -07:00
Bill McCloskey
c69ecca54b Bug 767643 - Don't assert(false) when finding black/gray edges (r=mccr8) 2012-06-26 13:38:47 -07:00
Bill McCloskey
208d5cc3d0 Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8) 2012-06-26 13:11:39 -07:00
Benjamin Peterson
b04ea2263a Bug 762324: write to the current address of the bytecode, r=jorendorff 2012-06-26 13:09:41 -07:00
Nicholas Nethercote
ddf6acd6f8 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
26f000b52d 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
647a888256 Bug 711130 (part 4) - Treeify the non-compartment gc-heap-XYZ measurements. r=terrence.
--HG--
extra : rebase_source : ba3ff507e05829ad574e7283c7f3ab48b2416ac1
2012-06-25 17:06:50 -07:00
Nicholas Nethercote
98d63ba4c6 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
1c63ece812 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
Boris Zbarsky
ae835cd014 Bug 766796. Make IDL conversions to 64-bit ints treat NaN and Infinity as 0 instead of whatever the compiler decides to do in that undefined-behavior case. r=peterv 2012-06-25 23:37:47 -04:00
Eric Faust
962c0913dd 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
91b18c2a91 Add tests for bug 632778, take two. r=jorendorff 2012-06-22 19:00:15 -07:00
Alex Crichton
cd618d4e33 Bug 761261 - Add JS profiling to SPS (r=luke,ehsan)
--HG--
extra : rebase_source : 328a82697aa9a9f63d18c7a30a813f436e163922
2012-06-20 17:58:55 -07:00
Jeff Walden
5033396fac Bug 771742 - Refactor the date to-UTC-string methods to not use date_format_utc. r=luke
--HG--
extra : rebase_source : 3e56e0bcf6d26aa16e56a7558f21329d9bf48cf7
2012-07-06 15:35:45 -07:00
Jeff Walden
3eac4cef53 Bug 771742 - Refactor the date to-locale-string methods to do their method-guarding right at the start, and never in nested method calls. r=luke
--HG--
extra : rebase_source : 736038a0511730eea9cf8c87c720ea1d5e10bd8c
2012-07-06 15:26:11 -07:00
Jeff Walden
8c6e1140e9 Bug 771742 - Reimplement the Date.prototype.set<date component> functions in terms of their spec steps, and remove the hard-to-understand date_makeDate. r=luke
--HG--
extra : rebase_source : 84ced3e65ab44f2e0440c8e24bb9b70d12259940
2012-07-06 13:53:11 -07:00
Jeff Walden
d68f5c5e3e Bug 771742 - Reimplement the Date.prototype.set<unit of time> functions in terms of their spec steps, and remove the hard-to-understand date_makeTime. r=luke
--HG--
extra : rebase_source : cf070e258834853ebe24ec9cf0027de1d194a62c
2012-07-06 13:53:10 -07:00
Jeff Walden
49aaa718a1 Bug 771742 - Reorganize all the date/time spec algorithms and constants to be in spec order (when possible), have proper types, be methods rather than macros, and so on. This will make it easier to refactor some of the Date method implementations to read more like the spec algorithms. r=luke
--HG--
extra : rebase_source : 66fb1c02124713ffa3fb66afde15dc075f309744
2012-07-06 13:52:53 -07:00
Jason Orendorff
b36af0f7f2 Bug 768313 - Crash with newGlobal, newContext, --dump-bytecode, happens because jaeger inlines the non-pccount script into the pccount script, r=bhackett 2012-07-07 16:06:09 -07:00
Luke Wagner
043fc7c6eb Bug 765956 - Set Bindings' parent eagerly (r=bhackett)
--HG--
extra : rebase_source : 4f907c3e3692199033813539b173189d760b4a7c
2012-06-20 08:57:29 -07:00
Luke Wagner
f86b798bff Bug 771039 - assert some invariants in BindNameToSlot (r=dvander)
--HG--
extra : rebase_source : 9d0ba59ce4042bad88a7882b58b33f5f7b9ac19f
2012-07-05 20:29:24 -07:00
Luke Wagner
325a844223 Bug 771039 - fix CompExpTransplanter to correctly fix up implicit arguments definitions in generator expressions (r=dvander)
--HG--
extra : rebase_source : 27ac2ef2f61894272c5186eca8a77e54af286150
2012-07-08 04:35:09 -07:00
Jeff Walden
2dc0ce9a5b Remove a stray semicolon that causes a warning compiling pretty much any SpiderMonkey file. No bug, r=themaid 2012-07-12 10:53:43 -07:00
Luke Wagner
7487e8f954 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
abd279a726 Bug 767744 - rm UndominateInitializers (it's unnecessary) (r=jorendorff) 2012-06-25 14:02:08 -07:00
Luke Wagner
81c601f42c Bug 768071 - rm TypeSet::hasGlobalObject (dead code) (r=bhackett) 2012-06-20 08:57:29 -07:00
Gary Kwong
cd90a87e64 Backout df2e726ece1f because apparently the tests still seem to be failing. 2012-06-25 14:10:02 -07:00
Gary Kwong
ae0e932f45 Add tests for bug 632778, r=jorendorff 2012-06-25 13:38:36 -07:00
Benjamin Peterson
6558570008 Bug 767660: after mutating a list, update its tail, r=jorendorff 2012-06-25 13:31:51 -07:00
Jason Orendorff
1fa7fba050 Bug 765302 - Add noScriptRval option to JS shell evaluate() function. r=luke. 2012-06-25 14:47:33 -05:00
Bobby Holley
3bdccb2949 Bug 601277 - Better tests for document.domain. r=mrbkap 2012-07-12 10:10:15 +02:00