Commit Graph

27307 Commits

Author SHA1 Message Date
Till Schneidereit
f7f5efd2e4 Bug 885553 - Implement ES6 Array.prototype.find and Array.prototype.findIndex. r=jwalden
--HG--
extra : rebase_source : ca717dae292897561f503ab2d5964f02915f5067
2013-06-26 18:47:41 +02:00
Till Schneidereit
7786dee5b8 Bug 885729 - Inline array and proxy specializations of js::DefineProperty into js::DefineProperties. r=jwalden
--HG--
extra : rebase_source : eaed8f6a1ba9a171c3d0d47641482b8d3273bd8d
2013-06-26 17:00:24 +02:00
Terrence Cole
4d2d3cd221 Bug 886560 - ScanBaseShape between incremental slices should not push nursery things; r=bhackett
--HG--
extra : rebase_source : ab72ab81f9de6fd33cc080fb6a397480b378a1d3
2013-06-26 11:07:56 -07:00
Steve Fink
7d4ba82022 Bug 887362 - Fix include tangle for CheckStackRoots, r=ehoogeveen
--HG--
extra : rebase_source : 0bad13a22809afb35f924decc02b55a3e87db486
2013-06-26 11:21:36 -07:00
Terrence Cole
4efe1b36ab Bug 879079 - Fix some static root analysis failures; r=sfink
--HG--
extra : rebase_source : 40407ff41a7380fc4107958a7e4af843c826301f
2013-06-26 10:37:42 -07:00
Terrence Cole
ae475c1aec Bug 879079 - Make ToNumber take a Handle to fix some static rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 048d46820baedeb593f85e0d445375d482d16050
2013-06-21 18:19:11 -07:00
Dan Gohman
b2f0e66ef3 Bug 885186 - Optimize x86/x64 register moves using xchg, xor swap, and push/pop. r=jandem 2013-06-26 10:32:55 -07:00
Masatoshi Kimura
56448b2e60 Bug 839998 - Replace thisDuringConstruction() with MOZ_THIS_IN_INITIALIZER_LIST(). r=waldo 2013-06-27 00:15:53 +09:00
Dan Gohman
8b42e6723f Bug 885183 - Use Push and Pop in more places instead of manually adjusting the stack pointer and loading and storing. r=sstangl 2013-06-26 07:15:14 -07:00
Ryan VanderMeulen
07fdc2a0d3 Backed out changeset 94c939eeb5f6 (bug 885019) for bustage. 2013-06-26 10:14:08 -04:00
Andy Wingo
2323bf36d8 Bug 885281 - Factor out TokenMatcher::matchContextualKeyword. r=Waldo 2013-06-26 11:47:50 +02:00
Brian O'Keefe
357eafe1e0 Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Andy Wingo
54cc94601c Bug 648949 - Remove HAS_JS_GENERATORS #define. r=Waldo, r=jorendorff 2013-06-26 12:34:47 +02:00
Jan de Mooij
5e746c6c88 Bug 885648 - Add barriers for generator stack value. r=terrence 2013-06-26 15:16:48 +02:00
Jan de Mooij
85354a1fb9 Bug 882416 - Fix Function constructor to override the noScriptRval flag. r=luke 2013-06-26 15:16:42 +02:00
Nicholas Nethercote
e420bef0bf Bug 884124 (part 8) - Add a RegExpStaticObject class. r=jwalden.
--HG--
extra : rebase_source : 9a0b0a59dc67cbab9ab1156607a984d303a850c3
2013-06-20 20:18:04 -07:00
Nicholas Nethercote
0e2f19e729 Bug 884124 (part 7) - Move some methods from JSObject to ArrayObject. r=jwalden.
--HG--
extra : rebase_source : bbe97ebfd1ef026f8a3ee21ce1b75f8b4ed40311
2013-06-19 01:39:47 -07:00
Nicholas Nethercote
8a64b892bd Bug 884124 (part 6) - Add an ArrayObject class. r=jwalden.
--HG--
extra : rebase_source : 17a9703165cb665326ff94bc574450ba59ede7f7
2013-06-18 23:55:38 -07:00
Nicholas Nethercote
73625b787a Bug 884124 (part 5) - Add a DateObject class. r=jwalden.
--HG--
extra : rebase_source : bc39dcc8e2f8f2fcc71389a3ea199e264c445bc8
2013-06-20 20:17:15 -07:00
Nicholas Nethercote
357a9a0cc1 Bug 884124 (part 4) - Add an ErrorObject class. r=jwalden.
--HG--
extra : rebase_source : 9054445c5a435a1e49d1217247c5a32afef3826a
2013-06-20 20:17:14 -07:00
Nicholas Nethercote
d99b78ee38 Bug 886205 (part 6) - Break jsscriptinlines.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : 0390ebedf2b132f296e272d25d81af71791dca30
2013-06-25 17:25:18 -07:00
Nicholas Nethercote
8536678132 Bug 886205 (part 5) - Break vm/Shape-inl.h out of the header inclusion cycles. r=terrence.
--HG--
extra : rebase_source : e63f73b728b071b98a318beba5d60bf9a108a840
2013-06-25 00:36:21 -07:00
Nicholas Nethercote
137c183b6d Bug 886205 (part 4) - Move some function definitions from jsfuninlines.h to jsfun.h. r=terrence.
--HG--
extra : rebase_source : 1bd4bf6c2c4db1392d43908a438df3fde48e29b2
2013-06-24 23:52:04 -07:00
Nicholas Nethercote
131397d361 Bug 886205 (part 3) - Move some function definitions from jsobjinlines.h to jsobj.h. r=terrence.
--HG--
extra : rebase_source : c5712dc0d1cb46d2bb653e33bc389f98770920b3
2013-06-24 21:26:48 -07:00
Shu-yu Guo
5fbec09af4 Bug 886632 - Rename ParallelArrayAnalysis to ParallelSafetyAnalysis; move it before GVN; remove its dependency on JSContext. (r=nmatsakis)
--HG--
rename : js/src/ion/ParallelArrayAnalysis.cpp => js/src/ion/ParallelSafetyAnalysis.cpp
rename : js/src/ion/ParallelArrayAnalysis.h => js/src/ion/ParallelSafetyAnalysis.h
2013-06-25 18:28:22 -07:00
Shu-yu Guo
545b3ba5f3 Bug 887002 - Don't track PC-sensitive type for rest arrays. (r=bhackett) 2013-06-25 18:28:22 -07:00
Shu-yu Guo
78365d5fd4 Bug 884369 - Fix callsite cloning in poly inline dispatch + rooting in IC. (r=sstangl) 2013-06-25 18:28:21 -07:00
Guilherme Gonçalves
3f2535a225 Bug 884407 - Use an enum in SpeechRecognitionError. r=smaug 2013-06-25 20:08:58 -04:00
Terrence Cole
ef3b8c5534 Bug 886551 - Re-disable pre-barriers during minor GCs; r=bhackett
--HG--
extra : rebase_source : 7bbf374092b102b682179a41d72ab62017e24b04
2013-06-25 15:35:56 -07:00
Jason Orendorff
85c0dbc974 Bug 844805, part 3 - Remove two calls to FoldConstants from the parser. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
bcad59d495 Bug 844805, part 2 - Don't even set the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
179705e5c3 Bug 844805, part 1 - Don't use the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-06-25 17:40:00 -05:00
Jason Orendorff
3677066aa9 Add passing test for bug 826124 which went away with JM. no_r=me. 2013-06-25 17:39:59 -05:00
Jason Orendorff
102b95c3b9 Bug 885463 - Warn about 'yield' without operand. r=Waldo. 2013-06-25 17:39:59 -05:00
Dan Minor (dminor@mozilla.com)
6ac5667830 Bug 811404 - Stage cpptests as part of package-tests. r=ted 2013-06-24 13:45:32 -04:00
Terrence Cole
541b671734 Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink
--HG--
extra : rebase_source : 98a04e315c9a372864d37447a102960737457aa1
2013-06-04 16:14:14 -07:00
Terrence Cole
ffcfc9d60b Bug 848592 - Fix some dynamic rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 0d614298d3e9879a0ac5f95561329dc3a80d693b
2013-06-14 13:48:39 -07:00
Luke Wagner
8bc6f0d929 Bug 886285 - OdinMonkey: -0 should have type double (r=bbouvier)
--HG--
extra : rebase_source : f5f74cabcea1edf568b75fb01debf2795b813213
2013-06-24 15:23:35 -07:00
Terrence Cole
6f814a2072 Bug 886575 - Update TypedArray's data slot when doing fallback marking for minor GC; r=sfink
--HG--
extra : rebase_source : 33d255e5e4c2aa647125faa8e6098e2111c83a33
2013-06-24 17:33:27 -07:00
Steve Fink
6e805a1adc Bug 868302 - Enable rooting LIFO assertions in DEBUG, r=terrence 2013-05-03 13:53:15 -07:00
Andrew McCreight
aacc454171 Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley 2013-06-25 08:42:40 -07:00
Hannes Verschore
cee23f950f Bug 886266 - Fix issues with enabling/disabling non-active activations, r=jandem 2013-06-25 16:58:52 +02:00
Jan de Mooij
8f0987a904 Bug 885660 - Fix Ion bailouts to overwrite arguments on the stack at the end of the bailout. r=djvj 2013-06-25 14:15:08 +02:00
Emanuel Hoogeveen
ea1eb05d97 Bug 886128 - Fix various clang warnings and some potential bugs in nonstandard configurations. r=nnethercote,terrence.
--HG--
extra : rebase_source : 0d833ecc9879f5d9fd0a28f9b4eca7793d01aa40
2013-06-24 21:32:05 -07:00
Hannes Verschore
1a7c2760ed Bug 886241 - IonMonkey: Enable inlined arguments_get_elem for constant index, r=djvj 2013-06-25 09:57:17 +02:00
Hannes Verschore
091ae510ce Bug 884989: OdinMonkey: Check argument types before enabling ffi fastpath to IM, r=luke 2013-06-25 09:55:33 +02:00
Nicholas Nethercote
e85c430408 Bug 886205 (part 2) - Move some function definitions from vm/ObjectImpl-inl.h to vm/ObjectImpl.h. r=terrence.
--HG--
extra : rebase_source : c12d632b99542002954f02b7004cbbcfdee7f6c5
2013-06-24 16:03:02 -07:00
Nicholas Nethercote
01313ebd4b Bug 886205 (part 1) - Move some function definitions from gc/Barrier-inl.h to gc/Barrier.h. r=terrence.
--HG--
extra : rebase_source : d6eeb4f6273c36069a8bbb28033737c2aec40ba0
2013-06-24 15:55:52 -07:00
Catalin Iacob
4f03e5bb1a Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Catalin Iacob
1544c37641 Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Phil Ringnalda
29f4d2bf1b Back out 1aa1a42a471f:bf03279e2b50 (bug 885169) for b2g/Android bustage on a CLOSED TREE
--HG--
extra : rebase_source : f3931316d2daa132bbe088a06877a5190b60bbd9
2013-06-24 18:00:46 -07:00
Phil Ringnalda
f0f4f8bebd Merge m-c to m-i 2013-06-24 16:51:59 -07:00
Alex Keybl
b9c3fb2921 Merging in version bump NO BUG 2013-06-24 11:37:32 -07:00
Nicolas B. Pierron
ec97c44287 Bug 829841 - Add an option to enable eager compilation in the browser. r=dvander 2013-06-24 05:13:05 -07:00
Dan Gohman
e244c8f406 Bug 885176 - Style nits: add braces to if statements with multi-line conditions. r=sstangl 2013-06-24 16:34:04 -07:00
Dan Gohman
369050408a Bug 875912 - Skip a bitwise or of zero. r=dvander 2013-06-24 16:29:03 -07:00
Dan Gohman
668251680d Bug 883570 - Improve printing for control and compare instructions. r=dvander 2013-06-24 16:20:12 -07:00
Dan Gohman
c3652af097 Bug 883570 - Basic dumping utilities for MBasicBlock and MIRGraph r=dvander 2013-06-24 16:19:59 -07:00
Dan Gohman
0562f7aa5d Bug 885169 - Reverse the default register allocation order so that low registers like eax on x86/x64 are preferred over high registers. r=h4writer 2013-06-24 15:58:00 -07:00
Dan Gohman
cd69f653fc Bug 885169 - Add an explicit backwards-traversing register set iterator, so that code which needs to iterate in a specific order can ask for it explicitly. r=h4writer 2013-06-24 15:57:57 -07:00
Brian Hackett
0627a32e04 Bug 883154 - Add runtime wide cache for compiled lazy scripts, r=billm. 2013-06-23 20:37:42 -06:00
Ehsan Akhgari
08ed61c0f0 Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc 2013-06-23 19:23:02 -04:00
Till Schneidereit
cff530b60e Bug 886094 - Make js::BooleanGetPrimitiveValueSlow assert isProxy instead of the narrower isCrossCompartmentWrapper. rs=Ms2ger 2013-06-23 15:05:26 +02:00
Ms2ger
5a63e5bff8 Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps 2013-06-23 09:16:19 +02:00
Ms2ger
0b036f4010 Bug 884951 - Use XPCWrappedNative::Get more; r=bholley 2013-06-23 09:15:55 +02:00
Ms2ger
ff63d2149b Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug 2013-06-23 09:15:42 +02:00
Ms2ger
508a44d128 Bug 884947 - Remove superfluous null check in XPCConvert::NativeInterface2JSObject; r=bholley 2013-06-23 09:14:02 +02:00
Jeff Walden
d994ef3c3a Bug 496923 - Import the ch14 tests from test262. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 7146eb81941b66910c45fcc2491c2c2be28a597c
2013-06-19 12:25:51 -07:00
Jan de Mooij
dd9476a9bf Bug 866878 - Support try-finally in the baseline compiler. r=djvj
--HG--
extra : rebase_source : c5bd88422ce39de94888fad060259ef2590acb5a
2013-06-17 14:05:36 +02:00
Jeff Walden
f384f2c431 Bug 496923 - Update the test262 import script to include ch14 tests. r=terrence
--HG--
extra : rebase_source : cd1c49ec76f361319928a65be659c5974eea966f
2013-06-11 12:03:28 -07:00
Jeff Walden
389b3ce74c Bug 496923 - Import the ch08 tests from test262. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 5ddf0be31f2fd59dd37f06f9b9c23c90d8d66d35
2013-06-19 12:25:03 -07:00
Jeff Walden
5c8623ad4d Bug 496923 - Update the test262 import script to include ch08 tests. r=terrence
--HG--
extra : rebase_source : a8920a71dbe2f919700bf72125ec8e06d4d4ced5
2013-06-11 11:56:59 -07:00
Kannan Vijayan
41d82eea8d Bug 883973 - Disable heavyweight function inlining. r=dvander 2013-06-24 15:14:06 -04:00
Brian Hackett
093dbfab53 Bug 884053 - Fix incorrect use of nonLazyScript(), r=luke. 2013-06-24 12:07:58 -06:00
Brian Hackett
b5fa288097 Bug 882933 - Copy treatAsRunOnce bit when cloning scripts, don't clone scripts unnecessarily for arrow lambdas, r=luke. 2013-06-24 11:24:35 -06:00
Brian Hackett
3fa2330f66 Bug 881102 - Fix object metadata jit-test. 2013-06-24 11:18:50 -06:00
Gregory Szorc
476b509d14 Bug 418593 - Cancel GNU make's built-in RCS/% rule; r=khuey 2013-06-24 10:14:12 -07:00
Gregory Szorc
7e23fcb586 Bug 885906 - Remove .sh and .pl catch anything implicit rules; r=khuey 2013-06-24 10:13:33 -07:00
Bobby Holley
c738ac15d2 Bug 885800 - Unwrap CCWs in Cu.isDeadWrapper. r=gabor 2013-06-24 10:02:08 -07:00
Brian Hackett
3245cbdacc Bug 872331 - Box null inputs to MToDouble when necessary, r=jandem. 2013-06-24 11:01:29 -06:00
Brian Hackett
ca144c43fa Bug 864099 - Deoptimize 'arguments' declaration inside 'with' statements harder, r=luke. 2013-06-24 10:59:15 -06:00
Brian Hackett
17acd31d33 Bug 881102 - Propagate exceptions in object metadata callback, r=luke. 2013-06-24 10:55:28 -06:00
Brian Hackett
6720297a5e Bug 884920 - Remove TokenStream::lastFunctionKeyword, r=luke. 2013-06-24 10:47:11 -06:00
Jan de Mooij
bfd86c2720 Bug 885976 - Make ScriptFrameIter::numFrameSlots() a bit more robust. r=luke 2013-06-24 18:44:22 +02:00
Terrence Cole
34e812c697 Bug 885607 - Make AsmJSModule's Global and ExportedFunction use RelocatablePtr; r=luke
--HG--
extra : rebase_source : bf0abf52aa28da2929264c42ec2d66dd0abea4b7
2013-06-21 19:27:16 -07:00
Terrence Cole
54846898f6 Bug 885607 - Store the correct IonCode in the store buffer; r=bhackett
--HG--
extra : rebase_source : b2bdcdfde7d76bc4c341db94e680784a238a3f14
2013-06-21 19:25:17 -07:00
Hannes Verschore
a59b987c10 No bug: Add testcases, r=tests 2013-06-24 17:50:59 +02:00
Terrence Cole
eaad8a3737 Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : e183246d7a2f381e015e7d860336330a726cb9f8
2013-02-11 13:59:10 -08:00
Terrence Cole
0586997a41 Bug 884956 - Convert jsmath.cpp to CallArgs; r=Waldo 2013-06-21 18:18:52 -07:00
Luke Wagner
6e6ef093f5 Fix visibility warning (no bug, r=themaid)
--HG--
extra : rebase_source : 311a6406b1d2739389276589f23548c6fda89c98
2013-06-21 18:09:07 -07:00
Phil Ringnalda
9f4c5472ab Back out 1b81a9c88872 (bug 840242) for committing infanticide in Nursery.o 2013-06-21 18:53:24 -07:00
Terrence Cole
af471f2f39 Bug 840242 - Use the runtime page size to control arena decommit; r=luke
--HG--
extra : rebase_source : 575a7485a5c6ac51f5c0cadc91616302326ce770
2013-02-11 13:59:10 -08:00
Luke Wagner
ef6d7c2f5a Bug 883175 - OdinMonkey: restrict validation rules to force immediate coercion of calls (r=sstangl)
--HG--
extra : rebase_source : 69fe22b2511fa713d13bebaac0926d89f16e161c
2013-06-20 11:32:52 -07:00
Luke Wagner
b85f643e26 Bug 878433 - OdinMonkey: (signed % signed) should be intish, not int (r=bbouvier)
--HG--
extra : rebase_source : 0f0b0c896be9b59e119952122f1967720abab635
2013-06-20 20:11:01 -07:00
Jan de Mooij
71ded5e619 Bug 881902 follow-up - Mark StackFrame callee and |this|, should fix GGC build. r=terrence on IRC 2013-06-22 01:58:36 +02:00
Luke Wagner
3ad00947b7 Silence used-but-not-defined warnings (no bug, r=themaid)
--HG--
extra : rebase_source : ba10f39fd67711ef404ed09c0d0a016c01b5d832
2013-06-21 16:52:11 -07:00
Steve Fink
401b553098 Bug 885770 - script filename can be NULL in shell load, r=njn
--HG--
extra : rebase_source : 25392549ef586f651e03f5ce86c0ebac376f8c1e
2013-06-21 16:49:41 -07:00
Jason Orendorff
b44701f6b4 Fix another busted test for bug 885067 on a CLOSED TREE. no_r=orange, egg=face. 2013-06-21 12:20:32 -05:00
Jason Orendorff
8e751f3337 Fix very stupid test for bug 885067 that I pushed in rev 60d580712ec0. Clerical error on my part. no_r=orange. 2013-06-21 11:43:09 -05:00
Jason Orendorff
569146d06a Bug 883434 - Give TokenPos a real constructor. r=ejpbruel.
--HG--
extra : rebase_source : 4820e91d38810d03dff3c0bddaea104f53e7c12c
2013-06-21 08:18:01 -05:00