Commit Graph

32242 Commits

Author SHA1 Message Date
Jeff Walden
427dfb2fec Back out dd53db747a5e (bug 945152 part 2) to clear way for other fixing. Should reland in short order (before merge) after those other fixes land. r=backout 2014-03-14 16:38:07 -07:00
Jeff Walden
48bbad2b66 Back out b80f97b00d2f (bug 979480), it's in the way of more immediately important work. r=backout 2014-03-14 16:07:43 -07:00
Terrence Cole
be21486329 Bug 969012 - Allow inlining out-of-line slot creation in IonMonkey; r=jandem 2014-03-06 14:58:22 -08:00
Branislav Rankov
b524f331a2 Bug 969375 - MIPS port: Added BaselineCompiler code. r=jandem,froydnj 2014-03-14 11:27:42 -07:00
Branislav Rankov
0294068d18 Bug 969375 - MIPS port: Added MoveEmitter-mips files. r=nbp 2014-03-14 11:27:41 -07:00
Branislav Rankov
4e6a33a7c7 Bug 969375 - MIPS port: Fixed bug in ma_or and ma_xor found by Heiher. r=nbp 2014-03-14 11:27:41 -07:00
Branislav Rankov
05ba39c533 Bug 969375 - MIPS port: Moved SecondScratchReg constant to Assembler-mips.h r=nbp 2014-03-14 11:27:40 -07:00
Brian Hackett
ad93486d16 Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-14 12:18:14 -06:00
Jan de Mooij
61c6424165 Bug 981554 - Move allocator for optimized Baseline stubs from JitCompartment to JitZone. r=njn
--HG--
extra : rebase_source : 609881b6cf783805333454b876797ad5235bfecc
2014-03-14 19:13:08 +01:00
Jan de Mooij
54be3b5ab6 Bug 981553 - Remove JitCompartment::rt. r=nbp
--HG--
extra : rebase_source : f67e0f35f7f050baa3a9d2520bd22f0760d4b36b
2014-03-14 19:13:06 +01:00
Kannan Vijayan
75a3a13efc Bug 980858 - On bailout, unconditionally mark baseline frames SPS flag using Ion frames SPS status. r=jandem 2014-03-14 14:07:45 -04:00
Hannes Verschore
50796e9f3d Bug 953164 - IonMonkey: Improve type information at branches, r=jandem 2014-02-13 23:19:15 +01:00
Lars T Hansen
88708e7d68 Bug 979867 - Call UnsafePutElements to update the array in the parallel worker code and implement support for TypedObject in the UnsafePutElements intrinsic and in the JIT's inliner. r=nmatsakis, r=jandem 2014-03-14 09:59:44 -04:00
Nicholas D. Matsakis
84a4bac92e Bug 977853 -- If we have observed ints and are reading from a ConvertToDoubles array, skip the barrier and just assume we will see both ints + doubles r=jandem 2014-02-27 17:43:18 -05:00
Benjamin Bouvier
f1d9df3f95 Bug 982765: Reuse CallArgs in HandleDynamicLinkFailure instead of creating new arguments; r=njn 2014-03-14 14:28:06 +01:00
Shu-yu Guo
a43dd64a72 Bug 980585 - Followup: improve style and comment. (r=me) 2014-03-13 22:40:17 -07:00
Luke Wagner
7083004af9 Bug 983448 - Fix masm.convertUInt32ToFloat32 on x86 (r=bbouvier) 2014-03-13 18:05:08 -05:00
Shu-yu Guo
008ce30860 Bug 980585 - Don't delazify lazy scripts whose outer functions couldn't be compiled. (r=bhackett) 2014-03-13 18:41:46 -07:00
Jim Blandy
72a7bb7001 Bug 981097: Test introductionScript when the introducer and introduced are in different globals. r=sfink 2014-03-13 11:54:33 -07:00
Vaibhav Agarwal
292a923c8e Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Shian-Yow Wu
1d5dda87c5 Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn 2014-03-13 14:32:16 +08:00
Shian-Yow Wu
395e0f3b72 Bug 945152 - Part 1: Support mapped array buffer type. r=sfink 2014-03-13 14:32:13 +08:00
Wes Kocher
c6e365042c Backed out changeset bef8a33f2d8f (bug 976697) for bustage on a CLOSED TREE 2014-03-12 14:27:57 -07:00
Wes Kocher
c9a6f27892 Backed out changeset 6dc60397b3a1 (bug 976530) 2014-03-12 14:27:13 -07:00
Terrence Cole
03956d22da Backout 907d5bc3bd26 (Bug 969012) for bustage on a CLOSED TREE. 2014-03-12 13:39:40 -07:00
Nicholas D. Matsakis
38703a98be Bug 976530 -- Do not permit structs to overflow an int32_t r=sfink 2014-02-25 21:04:17 -05:00
Nicholas D. Matsakis
c90b0c1084 Bug 976697 - Detect neutered buffers in typed array / typed object constructors r=sfink 2014-02-26 11:55:34 -05:00
Terrence Cole
80ad201ba0 Bug 969012 - Allow inlining out-of-line element creation in IonMonkey; r=jandem 2014-03-06 14:58:22 -08:00
Hannes Verschore
6957628c26 Bug 977674: IonMonkey - Only clear recompiling flag if sequentially compiling, r=jandem 2014-03-12 19:30:50 +01:00
Jan de Mooij
c54859938f Bug 982186 - Rewrite js_fun_call to modify the arguments in place. r=luke
--HG--
extra : rebase_source : 2b9e62ea950264231ebc253a0d5f75c029f96ddf
2014-03-12 12:27:56 +01:00
Romain Perier
1de93647b3 Bug 947601 - OdinMonkey: Add support for assume_unreachable. r=luke 2014-03-10 09:06:44 +01:00
Steve Fink
1b1cb7538f Backed out changeset 7cff27cb2845 (bug 975011), for breaking just about everything not on tbpl
--HG--
extra : rebase_source : 740fc0d5cd27b0cc7d06ce9f9c2f848c9d071b20
2014-03-11 09:53:58 -07:00
Jeff Walden
810b115538 Bug 948227 - Make the Object.prototype.__proto__ setter strongly warn against its use, for perf reasons (and suggest Object.create instead). r=efaust
--HG--
extra : rebase_source : 9a08df51a56ae531956c0158fcae18c12ee77539
2014-01-23 14:35:08 -08:00
Jeff Walden
f3d6f2f944 Bug 937793 - Various new Array tests. r=bhackett
--HG--
extra : rebase_source : 7487f7450c3ad6b52fd1e38cb95eac89cd8ad8c9
2013-12-18 20:14:16 -05:00
Andy Wingo
6cefd35997 Bug 901987 - The RHS of a for-of loop is an assignment expression r=jorendorff
--HG--
extra : amend_source : d18317a5d17ad1c4ba243fc4184a13baf69b1415
2014-03-11 09:31:18 +01:00
Andy Wingo
4539a9ee78 Bug 980384 - Fix frame marker for half-constructed stack frames r=jandem
--HG--
extra : amend_source : 9e5b971388ede7bd4a9f4a405b2b91f4c4882ebc
2014-03-11 09:26:05 +01:00
Gabor Krizsanits
42fa720f72 Bug 980023 - Localstorage access with nsEp. r=bholley 2014-03-11 08:41:55 +01:00
Chris Peterson
c299a3f1bb Bug 977810 - Poison freed Ion code in release builds. r=jandem 2014-03-09 00:30:51 -08:00
Shu-yu Guo
d5a532541a Bug 981167 - Followup: rm dead perThread_ member of ScriptFrameIter::Data. (r=me) 2014-03-10 19:17:24 -07:00
Shu-yu Guo
319011ef51 Bug 981167 - Followup: fix Debugger.Frame properties and methods that need pc updated. (r=jimb) 2014-03-10 19:17:24 -07:00
Shu-yu Guo
b9cfaf679a Bug 981167 - Fix Debugger.Frame leaking ScriptFrameIter::Data on frame cache hit. (r=jimb) 2014-03-10 19:17:24 -07:00
Terrence Cole
f7b7d9f8dd Bug 981295 - Do not re-use IsAboutToBeFinalized to implement UpdateIfRelocated; r=sfink 2014-03-10 15:19:54 -07:00
Terrence Cole
b39bd65562 Bug 981296 - Do not make assertions on the initial shape table before it is created; r=sfink
--HG--
extra : rebase_source : c67d16dac8449564940fcdee94a0d83988207796
2014-03-10 15:19:52 -07:00
Terrence Cole
44609298b5 Bug 981289 - Do not forget to mark non-argument properties on arguments objects; r=sfink
--HG--
extra : rebase_source : 65efd356afcf34b6b71737f531d54c8408889ba0
2014-03-10 15:19:51 -07:00
Eric Faust
7f6fc53dec Bug 793210 - Make proxy [[GetOwnProperty]] throw appropriately for non-extensible target. (r=jorendorff) 2014-03-10 15:07:08 -07:00
Jason Orendorff
6e646ba4e9 Bug 980016 - Remove SpecialId. r=njn. 2014-03-10 16:32:21 -05:00
Jason Orendorff
37cf50eee9 Bug 942037 - Remove object_prototype_names from JS_ResolveStandardClasses. r=bholley. 2014-03-10 16:30:59 -05:00
Jason Orendorff
351e5a45c7 Bug 975589, part 4 - Rename js_GetClassObject -> js::GetBuiltinConstructor and make it never return true without the desired constructor actually existing. r=jwalden. 2014-03-10 16:30:40 -05:00
Jason Orendorff
89556d234c Bug 975589, part 3 - Remove redundant AutoResolving object when resolving a builtin constructor. CallResolveOp still creates one. r=jwalden. 2014-03-10 16:30:21 -05:00
Jason Orendorff
e93df5cdf6 Bug 975589, part 2 - Avoid recursing in TypedArray initialization. r=jwalden. 2014-03-10 16:29:58 -05:00
Jason Orendorff
5b8c769cbd Bug 975589, part 1 - Rename js::DefineConstructorAndPrototype -> GlobalObject::initBuiltinConstructor and refactor it a bit. r=jwalden. 2014-03-10 16:29:40 -05:00
Jason Orendorff
31f65e070e Bug 972961 - Fix a stack overflow in FoldConstants.cpp. r=luke. 2014-03-10 16:28:44 -05:00
Jason Orendorff
260bbd19f5 Bug 977287, part 2 - Stylistic changes. r=luke. 2014-03-10 16:28:43 -05:00
Jason Orendorff
40c222af65 Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke. 2014-03-10 16:28:43 -05:00
Ryan VanderMeulen
f97c846614 Merge m-c to inbound on a CLOSED TREE. 2014-03-10 17:11:39 -04:00
Ryan VanderMeulen
1a40bbc7cf Merge fx-team to m-c. 2014-03-10 17:10:25 -04:00
Benjamin Bouvier
7a135a0d01 Bug 981325: Consider Float32 not to be a simple primitive; r=h4writer
--HG--
extra : rebase_source : 1a8d2f001f3bfa4acf60dfcc9fdbc901bd3b8345
2014-03-10 17:37:17 +01:00
Benjamin Bouvier
941d86ace3 Bug 981314: Relax block creation check for dead code in CheckIfCondition; r=luke
--HG--
extra : rebase_source : 87fce1b5514e3a65d3a8124e7e7d248ff3ea61ab
2014-03-10 17:37:07 +01:00
Benjamin Bouvier
4480300d6e Bug 980860: Fix fieldName comparison in TypeDescrSet::fieldNamed; r=nmatsakis 2014-03-10 15:49:05 +01:00
Carsten "Tomcat" Book
5c9d79e018 Merge mozilla-central to mozilla-inbound 2014-03-10 12:34:00 +01:00
Carsten "Tomcat" Book
dc70fa97b3 Backed out changeset 557c7be2fdb6 (bug 979481) for causing regression Bug 981202 2014-03-10 12:32:05 +01:00
Carsten "Tomcat" Book
9492378211 Backed out changeset 5d9fb147f723 (bug 979481) 2014-03-10 12:31:35 +01:00
Carsten "Tomcat" Book
2c9ecd6ee4 Backed out changeset 670fb9adcd29 (bug 979481) 2014-03-10 12:31:32 +01:00
Carsten "Tomcat" Book
65483bfd22 Backed out changeset 77f4622e2000 (bug 979481) 2014-03-10 12:31:31 +01:00
Hannes Verschore
6b0c41f7c0 Bug 977577 - IonMonkey: Improve MRecompilecheck by checking if already recompiling, before doing vmcall, r=jandem 2014-03-10 12:07:35 +01:00
Carsten "Tomcat" Book
80de55b990 Backed out changeset 7de39a071ca6 (bug 981167) for Test Bustage on a CLOSED TREE 2014-03-10 10:41:31 +01:00
Terrence Cole
1bb351d093 Bug 973571 - Do not allow gcparam to set the mark stack limit while a gc is in progress; r=billm
--HG--
extra : rebase_source : 620edcc859a86d8cb6e7d525de4079238a89a07e
2014-03-09 15:02:41 -07:00
Brian Hackett
2623563725 Bug 980630 - Remove type nuking, r=jandem. 2014-03-09 08:14:49 -07:00
Bill McCloskey
6fc4088f7f Back out bug 940305 (too spammy) 2014-03-08 13:04:11 -08:00
Ms2ger
0ebae2de8f Backout changesets 295dc1e971bf:6d54e6b70eb2 for b2g and b-c failures. 2014-03-08 21:37:57 +01:00
Brian Hackett
c7ee4e7937 Bug 980630 - Fix build break. 2014-03-08 11:05:46 -07:00
Brian Hackett
23ed8bf7a8 Bug 980630 - Remove type nuking, r=jandem. 2014-03-08 10:57:38 -07:00
Brian Hackett
0650353515 Bug 980450 - Add test. 2014-03-08 07:55:55 -07:00
Andrew McCreight
b6035c87a3 Bug 977940, part 2 - Don't automatically trigger the ghost window detector during ICC. r=smaug 2014-03-08 05:38:53 -08:00
Brian Hackett
486fd4b2ef Bug 964059 - Give worker runtimes the main thread's JSRuntime as their parent, r=billm. 2014-03-07 17:18:05 -07:00
Andy Wingo
8e2aafac26 Bug 979865 - Part 5: Add tests r=jorendorff 2014-03-07 22:01:13 +01:00
Andy Wingo
6e04373ca4 Bug 979865 - Part 4: Implement ES6 generator comprehensions r=jorendorff 2014-03-07 22:01:13 +01:00
Andy Wingo
53d348b4cb Bug 979865 - Part 3: Implement ES6 array comprehensions r=jorendorff 2014-03-07 22:01:13 +01:00
Andy Wingo
10b3a5263d Bug 979865 - Part 2: Internally rename JS1.8 comprehensions as "legacy" r=jorendorff 2014-03-07 22:01:13 +01:00
Andy Wingo
3472972a16 Bug 979865 - Part 1: Refactor comprehension parsing r=jorendorff 2014-03-07 22:01:12 +01:00
Luke Wagner
4d4fb52c03 Bug 979541 - Remove nonLazyScript use in ArgumentsObject::elements (r=jandem)
--HG--
extra : rebase_source : 640ddf5af5d606a7ee40ee6189faaec244298b39
2014-03-05 14:49:36 -06:00
Jim Blandy
9d09d223dc Bug 969273: Implement a toy principal type for the JS shell, for testing. r=mrbkap r=waldo 2014-03-07 11:50:41 -08:00
Jim Blandy
44d46326d7 Bug 969273: Move JSPrincipals-related types and functions to their own header. r=mrbkap
JSSubsumesOp seems to have gotten dragged into Class.h somehow, but it's
not a metaobject protocol type at all. It belongs with JSSecurityCallbacks
and friends, which together form a chunk that could be neatly abstracted.
2014-03-07 11:50:41 -08:00
Jordan Santell
ca11569b8a Bug 899052 - Implement Addon Thread Actor. r=fitzgen, r=shu 2014-03-07 00:09:14 -08:00
Shu-yu Guo
81011834d5 Bug 981167 - Fix Debugger.Frame leaking ScriptFrameIter::Data on frame cache hit. (r=jimb) 2014-03-10 01:04:04 -07:00
Marty Rosenberg
e46b48be79 Bug 973874: Ensure that all offsets that we take into the assembly buffer are created by the instruction we want to branch to (r=dougc) 2014-03-07 11:25:38 -05:00
Brian Hackett
648d7b6e70 Bug 980450 - Always initialize outparams in LookupOwnPropertyWithFlagsInline, r=luke. 2014-03-07 09:36:24 -07:00
Brian Hackett
7209cf3946 Bug 979528 - Remove unused NEW_OBJECT_REPRESENTATION stuff, r=waldo. 2014-03-07 06:56:49 -07:00
Masatoshi Kimura
d1ad984267 Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey 2014-03-07 20:51:51 +09:00
Masatoshi Kimura
0704343f44 Bug 978611 - Part 1: Stop using legacy dictionaries from MmsMessage. r=vicamo 2014-03-07 20:51:48 +09:00
Jan de Mooij
8bf973679d Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00
Andy Wingo
62afccec79 Bug 980263 - Part 2: Avoid phi creation for values on stack at loops r=jandem 2014-03-07 08:44:41 +01:00
Andy Wingo
5024e7e61c Bug 980263 - Part 1: Disable Ion OSR for loops nested in expressions r=jandem 2014-03-07 08:44:38 +01:00
Bill McCloskey
0ba2b34d57 Bug 980558 - Enable extraWarnings on safe JS context (r=bholley) 2014-03-06 18:48:16 -08:00
Wes Kocher
64db4271e0 Backed out changeset 263b6c86c1be (bug 980558) for build bustage on a CLOSED TREE 2014-03-06 18:43:26 -08:00
Bill McCloskey
1c7cbfe589 Bug 980558 - Enable extraWarnings on safe JS context (r=bholley) 2014-03-06 18:26:33 -08:00
Steve Fink
7d52d0fa11 Bug 980623 - Update gdb pretty printers for new location of clasp, r=jorendorff 2014-03-06 17:07:17 -08:00
Steve Fink
4ede6e8d2c Bug 975011 - add an option to configure and build NSPR from within js/src build. r=glandium 2014-02-25 14:15:16 -08:00
Steve Fink
c38804f1b8 Bug 977234 - jsreflect.cpp out of bounds array access, r=terrence 2014-03-04 15:45:47 -08:00
Luke Wagner
af4251da97 Bug 980180 - remove principals as an argument to compilation, part 2 (r=terrence)
--HG--
extra : rebase_source : 86791b50b4293ba5506f1e0f5c64730338f552e6
2014-03-06 16:28:07 -06:00