Граф коммитов

50589 Коммитов

Автор SHA1 Сообщение Дата
Lars T Hansen ed00523f8a Bug 1192786 - Hook ARM disassembler into IONFLAGS=codegen machinery. r=nbp 2015-08-25 08:09:09 +02:00
Kan-Ru Chen 4a1f512a13 Backed out 8 changesets (bug 1123237) CLOSED TREE
Backed out changeset 64692c772052 (bug 1123237)
Backed out changeset ed0f3a0186ad (bug 1123237)
Backed out changeset 2ad3b7f12a66 (bug 1123237)
Backed out changeset d069c69c234b (bug 1123237)
Backed out changeset d2c543173155 (bug 1123237)
Backed out changeset 3b8fb02e68ff (bug 1123237)
Backed out changeset 1c97e19f2f5d (bug 1123237)
Backed out changeset a80502c372f1 (bug 1123237)

--HG--
extra : commitid : L05R6SBqcU9
2015-08-25 12:42:01 +08:00
Kan-Ru Chen 53e50383fe Bug 1123237 - Part 5. Don't emit inline allocation when memory profiler enabled. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:41 +08:00
Kan-Ru Chen 95d1a2b19e Bug 1123237 - Part 4. Monitoring allocations and frees for ArrayBuffer. r=terrence,sfink
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:05:53 +08:00
Kan-Ru Chen 3b6ee3a50b Bug 1123237 - Part 3. Monitoring allocation and gc events in nursery and tenured heaps. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:05:52 +08:00
Kan-Ru Chen f62780fc85 Bug 1123237 - Part 2. MemoryProfiler hooks in js engine. r=terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:05:51 +08:00
Jeff Walden 9bb2991147 Bug 1196497 - Don't assert that the replacer continues to pass IsArray during JSON.stringify. (If the replacer was a revocable proxy to an array, revoking the proxy would make the replacer no longer IsArray.) r=evilpie 2015-08-21 21:09:07 -07:00
Jeff Walden 6796be71b7 Bug 1197097 - Don't use a context-wide cycle-detection mechanism for detecting cycles during JSON.stringify. This prevents nested (yet separate) JSON.stringify, and it causes that algorithm to be affected by specification-unrelated operations like toSource. r=jonco
--HG--
extra : rebase_source : 6a2f7174e79e4a52f77084e2a8d8172484422998
2015-08-21 03:59:28 -07:00
Brian Hackett f1fc12d77b Bug 1196590 - Don't assume that objects without shapes are unboxed plain objects, r=jandem. 2015-08-24 10:30:51 -06:00
Nick Fitzgerald de13686cc6 Bug 1194424 - Part 3: Implement a concrete JS::ubi::StackFrame specialization backed by a frame deserialized from a core dump; r=sfink 2015-08-24 09:29:44 -07:00
Jon Coppeard 2da8d82c86 Bug 930414 - Fix base class initialization in ModuleBox constructor r=me on a CLOSED TREE 2015-08-24 17:14:50 +01:00
Jon Coppeard f6a493a1b1 Bug 930414 - Hook up module environements, alising everything at top level for now r=shu 2015-08-24 15:58:36 +01:00
Jon Coppeard 381c692f63 Bug 930414 - Add module scopes, using ModuleObject as the static scope and ModuleEnvironementObject as the dynamic scope r=shu 2015-08-24 15:58:36 +01:00
Jon Coppeard a920d4b2e6 Bug 930414 - Add module fields relating to exports r=shu 2015-08-24 15:58:36 +01:00
Jon Coppeard a62f1f731f Bug 930414 - Add module importEntries field r=shu 2015-08-24 15:58:35 +01:00
Jon Coppeard 5592c607f8 Bug 930414 - Add module requestedModules field r=shu 2015-08-24 15:58:35 +01:00
Jon Coppeard f6b70ed745 Bug 930414 - Add initial bytecode emitter support for modules r=shu 2015-08-24 15:58:35 +01:00
Jon Coppeard adf4b1ae87 Bug 930414 - Add ModuleObject and CompileModule() function r=shu 2015-08-24 15:58:35 +01:00
Hannes Verschore c337c5963d Bug 1195588: IonMonkey - Actually convert number to double during recovering ToDouble, r=nbp
@@ -1093,20 +1097,28 @@ MToDouble::writeRecoverData(CompactBuffe
 }

 RToDouble::RToDouble(CompactBufferReader& reader)
 { }

 bool
 RToDouble::recover(JSContext* cx, SnapshotIterator& iter) const
 {
-    Value v = iter.read();
+    RootedValue v(cx, iter.read());
+    RootedValue result(cx);

     MOZ_ASSERT(!v.isObject());
-    iter.storeInstructionResult(v);
+    MOZ_ASSERT(!v.isSymbol());
+
+    double dbl;
+    if (!ToNumber(cx, v, &dbl))
+        return false;
+
+    result.setDouble(dbl);
+    iter.storeInstructionResult(result);
     return true;
 }

 bool
 MToFloat32::writeRecoverData(CompactBufferWriter& writer) const
 {
     MOZ_ASSERT(canRecoverOnBailout());
     writer.writeUnsigned(uint32_t(RInstruction::Recover_ToFloat32));
2015-08-21 17:40:04 +02:00
Yoshi Huang de47f4b89f Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
Heiher 4f76199fb4 Bug 1197665- IonMonkey: MIPS32: Fix build failure caused by Bug 1169214. r=h4writer 2015-08-23 20:15:00 -04:00
Heiher 60d6f34e82 Bug 1197665 - IonMonkey: MIPS32: Fix build failure caused by Bug 1171945. r=h4writer 2015-08-24 00:58:00 -04:00
Ted Clancy 4ea6153280 Bug 1172609 - Part 5: Add js::ResetTimeZone() function. r=waldo, r=ted 2015-06-15 00:33:02 -07:00
Jon Coppeard 94185c580b Bug 1195452 - Make UnboxedLayout::makeNativeGroup() handle OOM when propagating property types r=bhackett 2015-08-24 13:21:13 +01:00
Steve Fink f94484fc9a Bug 1196027 - check the actual current marking mode instead of the permanent intention, r=terrence
--HG--
extra : rebase_source : 1a2da1602094596a9b3f6f16c3eb6f511cff29b7
extra : amend_source : c130055fc3110874fef7661019d751a1448cbde3
extra : source : 9ca39133a30af07bb6b27d5742b2c5865caa3b31
2015-08-20 10:10:42 -07:00
Steve Fink 11107cfc02 Bug 1197377 - Read callgraph.txt line by line to avoid string size limits, r=terrence
--HG--
extra : rebase_source : b4871bc26ae32c6f93c0321910b19ff7658408d2
extra : amend_source : a9f287c617a613b53ff551263870b6ed5a003e84
extra : source : 452eaaf88ba8383dbe70b7f48e80ffcf5ebd4c6e
2015-08-21 14:19:04 -07:00
Brian Hackett 4cf7515fca Bug 1184388 - Try to use uniform groups for multidimensional constant arrays and structures, r=jandem. 2015-08-21 16:19:27 -06:00
Steve Fink e13bcc74b8 Bug 789594 - Implement DataView cloning, r=Waldo
--HG--
extra : commitid : 93XtQtgD0EJ
extra : rebase_source : 0ba61abb5262c30bb9506c392ac530ca79b942bf
2015-07-28 18:14:36 -07:00
Steve Fink 5d9fc0e800 Bug 789589 - Fix the ABO class hierarchy comment to be accurate, r=Waldo
--HG--
extra : commitid : Fcu1U4ww7I5
extra : rebase_source : 99f28cb8527888e47d4cdd37fc04c9aeff92348f
2015-07-28 18:13:16 -07:00
Steve Fink 713936e41b Bug 789589 - Implement JS_NewDataView, r=Waldo
--HG--
extra : commitid : b5iH1lEe6N
extra : rebase_source : 81579a6e32a33acb08850dd7b8d6d3b900e02b3b
2015-07-24 13:05:01 -07:00
Jon Coppeard 8586708ac6 Bug 1191236 - Remove extract() methods used by operation forwarding on rooting types, r=terrence
--HG--
extra : rebase_source : 932019cdc060285425e70e7df7c278d0bbdfba5b
2015-08-05 02:38:00 -07:00
Steve Fink baac342cae Bug 1191236 - Fix UCS canonicalization, r=jonco
--HG--
extra : rebase_source : 5585e26c0de7c769f9e6a0565ae7e8575960f6d9
2015-08-17 17:05:45 -07:00
Steve Fink aebf1a29a8 Bug 1196378 - Fix mismatched js_new/js_free in ShellPrincipals, r=fitzgen
--HG--
extra : rebase_source : 25da2c1181e1867ba94da07ac81e5a65a27cd978
2015-08-19 11:29:32 -07:00
Steve Fink 917fa3154c Bug 1196378 - js_delete should accept a const pointer like builtin delete, r=fitzgen
--HG--
extra : rebase_source : 8fc0aa9b48d3fd8a0921fc9a9b920e6fd473226f
2015-08-19 10:59:50 -07:00
Brian Hackett 314bac7460 Bug 1176451 - Optimize Array.concat when used on different types of boxed vs. unboxed arrays, r=jandem. 2015-08-21 11:49:50 -06:00
Brian Hackett 035dacc9eb Bug 1190733 - Test initializedLength() instead of length() during the fast path for reversing unboxed arrays, r=jandem. 2015-08-21 11:40:15 -06:00
Wes Kocher 32312efd4f Backed out changeset 1bf4bafdb70e (bug 1195588) for breaking hazard builds CLOSED TREE 2015-08-21 08:59:36 -07:00
Hannes Verschore 99a4941325 Bug 1195588: IonMonkey - Actually convert number to double during recovering ToDouble, r=nbp 2015-08-21 17:40:04 +02:00
Heiher 9b82aabef6 Bug 1195163 - IonMonkey: MIPS32: Fix boolValueToDouble and boolValueToFloat32. r=rankov
--HG--
extra : rebase_source : 239a9bcf573f231cc0df80302e87f4a302f152e2
2015-08-16 20:13:00 -04:00
Hannes Verschore a10e2d05b8 Bug 1175976: IonMonkey - Part2: Get the UnaryArith stub working in ionmonkey, r=jandem 2015-08-21 10:14:24 +02:00
Hannes Verschore a6e8869a63 Bug 1175976: IonMonkey - Part1: Move unaryArith from baseline to shared stub, r=jandem 2015-08-21 10:14:21 +02:00
Hannes Verschore cb10c36dca Bug 1169214: IonMonkey - Part 3: Add the x64 shared stub helpers, r=jandem 2015-08-21 07:56:44 +02:00
Hannes Verschore 31fb4f7314 Bug 1169214: IonMonkey - Part 2: Add the x86 shared stub helpers, r=jandem 2015-08-21 07:56:43 +02:00
Hannes Verschore def4bc8c55 Bug 1169214: IonMonkey - Part 1: Create Ion shared stub helpers, r=jandem 2015-08-21 07:56:41 +02:00
Steve Fink 683fec6f81 Bug 1195957 - Implement a Swap for Heap<T> that does not put temporaries on the stack, r=terrence
--HG--
extra : rebase_source : 12a82f83e9c7e6317fb2dc2a6d066ecf81beed05
2015-08-18 12:25:01 -07:00
Terrence Cole 4e2856a22c Bug 1194832 - Use a one element cache in the store buffer; r=jonco
--HG--
extra : rebase_source : 53008889e2d5f52fbe96fcbec49251ce87db5f7e
2015-08-18 09:17:13 -07:00
Jon Coppeard bbf6845481 Bug 1183195 - Fix assertion at the start of InnerViewTable::sweepAfterMinorGC() r=sfink 2015-08-19 09:50:07 +01:00
Hannes Verschore e8e1df926c Bug 1171945: IonMonkey - Part 6: Use binarystub in jsop_binary_arith, r=jandem 2015-08-19 15:15:57 +02:00
Hannes Verschore bcce8e03e1 Bug 1171945: IonMonkey - Part 5: Make it possible to use BaselineDebugMode in ionmonkey context, r=jandem 2015-08-19 15:15:55 +02:00
Hannes Verschore 28cddc291c Bug 1171945: IonMonkey - Part 4: Make changes to BinaryArith to work with ionmonkey, r=jandem 2015-08-19 15:15:52 +02:00
Hannes Verschore cf1a076929 Bug 1171945: IonMonkey - Part 3: Move BinaryArith from Baseline to Shared stubs, r=jandem 2015-08-19 15:15:49 +02:00
Hannes Verschore bfb75abb29 Bug 1171945: IonMonkey - Part 2: Add platform in ionmonkey for sharedcaches, r=jandem 2015-08-19 15:15:46 +02:00
Shu-yu Guo 9852d8caa1 Bug 1179063 - Hook up FunctionBox directly to the JSFunction being parsed to avoid allocating extra static scopes. (r=efaust) 2015-08-19 18:42:56 -07:00
Spenser Andrew Bauman 43dd938cba Bug 1187511 - IonMonkey: Refine type sets for unbox operations based on unbox type r=jandem
--HG--
extra : rebase_source : 69eabb0389660052fb1775c639872369cf4578ba
2015-08-19 14:46:02 -07:00
Wes Kocher d664b148bd Backed out changeset 08e63874f0b4 (bug 1179063) for crashes CLOSED TREE 2015-08-19 14:18:46 -07:00
Nick Fitzgerald edb9a948ac Bug 1194422 - Expose census traversals to SpiderMonkey embedders; r=sfink
This moves census types and functions to js/public/UbiNodeCensus.h and
js/src/vm/UbiNodeCensus.cpp. This is required so that embedders can do census
traversals on offline heap snapshots.
2015-08-19 13:21:08 -07:00
Nick Fitzgerald 235840a8c0 Bug 1194418 - Use only JS::ubi::* interfaces in census analyses; r=sfink
In order to run a census analysis on anything other than the live heap graph
(the notable example being offline heap snapshots) then the census analysis
cannot unwrap |ubi::Node|s into their live heap thing referents.
2015-08-19 13:21:08 -07:00
Wes Kocher 330f932d53 Backed out changeset 9c68dc026590 (bug 1185961) for testGlobals.js bustage 2015-08-19 12:37:53 -07:00
Morgan Phillips dfe5b037ca Bug 1191486 - Generators should not have [[Construct]]; r=jorendorff
generator function do not have a [[construct]] trap, so `new` throws called a
generator. This is unexpected behavior, so a TypeError is preferred.

--HG--
extra : rebase_source : 200c1a59db9dd2a0559de3aa52c8f2c466f76289
2015-08-19 10:52:52 -07:00
Shu-yu Guo c3ccaf7607 Bug 1194430 - Always mark the global jitcode table during major GCs. (r=djvj) 2015-08-19 12:02:32 -07:00
Shu-yu Guo df4b17486d Bug 1193606 - Clean up LazyFunction case of tryConvertFreeName and remove directlyInEval. (r=bhackett) 2015-08-19 12:02:32 -07:00
Shu-yu Guo 9cbf164447 Bug 1179063 - Hook up FunctionBox directly to the JSFunction being parsed to avoid allocating extra static scopes. (r=efaust) 2015-08-19 12:02:32 -07:00
Eric Faust 20ec4ede3d Bug 1180054 - Fix bogus assert. (r=jandem) 2015-08-19 11:19:47 -07:00
Eric Faust 5a40263ef9 Bug 1185957 - Properly handle known derived class constructors in ion. (r=jandem) 2015-08-19 11:19:46 -07:00
Eric Faust 49aef6b263 Bug 1185961 - Properly install home object on methods in classes in lazy scripts. (r=shu) 2015-08-19 11:19:46 -07:00
Eric Faust 240506f142 Bug 1185959 - Properly handle static constructor method in classes. (r=Waldo) 2015-08-19 11:19:46 -07:00
Nathan Froyd 45905aa98c Backout 5377759a3145:0dfb6e5f8223 (bug 1171945) for SM ARM compilation bustage 2015-08-19 21:20:57 -04:00
Nathan Froyd ced2e48608 Backout f786a3ae0410 (bug 1194422) and 9f979aa382a9 (bug 1194418) for SM ARM build bustage 2015-08-19 20:18:42 -04:00
Nathan Froyd 67645d7695 Backout 8b61aebcd9bc (bug 1183195) for x64 Windows 8 JIT failures 2015-08-19 20:13:48 -04:00
Hannes Verschore 0f68dacccc Bug 1171945: IonMonkey - Part 6: Use binarystub in jsop_binary_arith, r=jandem 2015-08-19 15:15:57 +02:00
Hannes Verschore 6cbf77a87c Bug 1171945: IonMonkey - Part 5: Make it possible to use BaselineDebugMode in ionmonkey context, r=jandem 2015-08-19 15:15:55 +02:00
Hannes Verschore 28447d2354 Bug 1171945: IonMonkey - Part 4: Make changes to BinaryArith to work with ionmonkey, r=jandem 2015-08-19 15:15:52 +02:00
Hannes Verschore 5c766c60ef Bug 1171945: IonMonkey - Part 3: Move BinaryArith from Baseline to Shared stubs, r=jandem 2015-08-19 15:15:49 +02:00
Hannes Verschore 8e1e36a6b7 Bug 1171945: IonMonkey - Part 2: Add platform in ionmonkey for sharedcaches, r=jandem 2015-08-19 15:15:46 +02:00
Nick Fitzgerald 0ba4ba4f55 Bug 1194422 - Expose census traversals to SpiderMonkey embedders. r=sfink
This moves census types and functions to js/public/UbiNodeCensus.h and
js/src/vm/UbiNodeCensus.cpp. This is required so that embedders can do census
traversals on offline heap snapshots.
2015-08-17 15:54:00 -04:00
Nick Fitzgerald 52bd014f28 Bug 1194418 - Use only JS::ubi::* interfaces in census analyses. r=sfink
In order to run a census analysis on anything other than the live heap graph
(the notable example being offline heap snapshots) then the census analysis
cannot unwrap |ubi::Node|s into their live heap thing referents.
2015-08-17 15:01:00 -04:00
David Rajchenbach-Teller 2b0451efe0 Bug 1181175 - Telemetry for finding out how often our process is rescheduled to another CPU. r=jandem, r=bsmedberg
--HG--
extra : transplant_source : %24q%A1%A9f%FC%81%D5%DFo%DB%E2e%25%81%11%94%19%E5%15
2015-07-29 19:01:05 +02:00
David Rajchenbach-Teller eaa230b89d Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
--HG--
extra : transplant_source : %7B%82%94E%8C%0AW%07%C2/n8%07%FD%95mt%03%EBM
2015-08-17 14:57:23 +02:00
Jon Coppeard 2a8c555c36 Bug 1183195 - Fix assertion at the start of InnerViewTable::sweepAfterMinorGC() r=sfink 2015-08-19 09:50:07 +01:00
David Major 3fc8acc770 Bug 1193467: Allow SSE2 on clang-cl builds. r=glandium
--HG--
extra : rebase_source : 93cb856526813218877c87e5ab73687373719f68
2015-08-18 19:29:30 -04:00
Jeff Walden 207ffca49c Bug 1178653 - Fix a few more tests for modified error messages. r=bustage in a CLOSED TREE 2015-08-18 13:47:49 -07:00
Jeff Walden 4e26d6ccea Bug 1178653 - Refactor construction code to use an interface consistent with the spec, with the one exception using an out-of-the-way, differently-named method. r=efaust
--HG--
extra : rebase_source : bbd77489c8ccffe65eb951b50b494557bd30cc03
2015-07-25 02:38:10 -07:00
Jan de Mooij 3e145fb17b Bug 1187323 - Use release asserts in assertValidJmpSrc and related methods. r=nbp
--HG--
extra : rebase_source : c60c2bd8a9782f45e416c6cdcaeef04667cb0506
2015-08-18 16:03:50 +02:00
Jan de Mooij 921ebacd55 Bug 1195208 - Fix ArrayBuffer.transfer isNeutered check. r=luke
--HG--
extra : rebase_source : 704ebdcf2c0c7b1e85c492eb0cfbde85804a212a
2015-08-18 16:03:31 +02:00
Heiher a50019d292 Bug 1195198 - Octane: Restore run.js broken by Bug 1179063. r=terrence
--HG--
extra : rebase_source : 84a50961a198a094da642d7917007bc988282ea9
2015-08-17 00:26:00 -04:00
Nick Fitzgerald ecfd49638c Bug 1194426 - Add sourceLength and functionDisplayNameLength to JS::ubi::StackFrame. r=sfink
--HG--
extra : rebase_source : bddcd83e0e1e4f86bb22676ca8ff4d3240eaf6d3
2015-08-13 13:17:00 -04:00
Lars T Hansen 9b53f05c38 Bug 1157934 - import v8's ARM disassembler. r=jandem 2015-08-18 14:55:15 +02:00
Jan de Mooij 4b7506a72d Bug 1187021 - Force arguments object allocation on dynamic name accesses. r=shu 2015-08-18 13:07:44 +02:00
Jon Coppeard f6ded5c145 Bug 1195297 - Fix OOM handling in ExecutableAllocator r=terrence 2015-08-18 10:03:49 +01:00
Makoto Kato 45b2236f90 Bug 1191688 - Add -nologo option to rc.exe. r=ted 2015-08-18 15:55:17 +09:00
Wes Kocher 9cfc18f036 Backed out changeset 0fc1b3aba102 (bug 1178653) for js bustage CLOSED TREE 2015-08-17 20:16:45 -07:00
Jeff Walden 6ac3864ea7 Bug 1178653 - Refactor construction code to use an interface consistent with the spec, with the one exception using an out-of-the-way, differently-named method. r=efaust
--HG--
extra : rebase_source : 59288cc2ad65433ab310faf4d10fb2bca4263bdd
2015-07-25 02:38:10 -07:00
Tooru Fujisawa d5e8c47256 Bug 1193777 - Remove pn==null case from ModuleCompiler::fail(). r=Waldo 2015-08-14 08:15:08 +09:00
Steve Fink 942d62b312 Bug 1194829 - Rename sweep to sweepChildren because shu said so, r=shu
--HG--
extra : rebase_source : b24f4df2dd0dd77a53846c5ba7369bd32ce08db1
2015-08-14 11:49:17 -07:00
Steve Fink 6da0ea7865 Bug 1194838 - Make Cell a GCType for the hazard analysis, r=terrence
--HG--
extra : rebase_source : ee7e5d60e650fcfda002228c5792362076170952
2015-08-14 12:33:16 -07:00
Ryan VanderMeulen 1caf889687 Merge m-c to inbound. a=merge 2015-08-17 09:07:43 -04:00
Ryan VanderMeulen 0169e05964 Merge inbound to m-c. a=merge 2015-08-17 09:06:59 -04:00
Ryan VanderMeulen 915339859d Merge b2g-inbound to m-c. a=merge 2015-08-17 08:50:47 -04:00
Ben Tian a0a229d80d Bug 1192693 - [02] Remove bluetooth1 folder and rename webidl files, r=joliu, r=mrbkap
--HG--
rename : dom/webidl/BluetoothAdapter2.webidl => dom/webidl/BluetoothAdapter.webidl
rename : dom/webidl/BluetoothDevice2.webidl => dom/webidl/BluetoothDevice.webidl
rename : dom/webidl/BluetoothManager2.webidl => dom/webidl/BluetoothManager.webidl
2015-08-17 15:30:34 +08:00
Till Schneidereit d8c72cf74c Bug 1195030 - Backout of bug 890329 for breaking email reading in gmail. r=bustage a=Ms2ger 2015-08-15 23:58:24 +02:00