Commit Graph

50546 Commits

Author SHA1 Message Date
Jan de Mooij
a29424aea3 Bug 1195298 - Fix NewDenseArray intrinsic to work when the first argument is a double. r=till 2015-08-25 13:13:02 +02:00
Till Schneidereit
8614310b85 Bug 1070767 - Enable {Array, %TypedArray%}.prototype.includes in all builds. r=lth 2015-08-25 12:57:21 +02:00
Lars T Hansen
74bddf386f Bug 1198145 - guard calls to getInst(). r=me 2015-08-25 10:43:35 +02:00
Hannes Verschore
c536b7f1e8 Bug 1196648: IonMonkey - Don't run the lazy link stub for asmjs to jit fastpath, r=nbp 2015-08-25 10:38:01 +02:00
Makoto Kato
f3ebef7d41 Bug 1197681 - Remove MOZ_NTDDI_WIN7 from configure.in. r=mshal 2015-08-25 16:52:08 +09:00
Lars T Hansen
4c70040653 Bug 1192786 - add forgotten ifdeffery on CLOSED TREE. r=me 2015-08-25 08:39:10 +02:00
Lars T Hansen
057fb5a15a Bug 1192786 - support an installed printer, for profiling. r=nbp 2015-08-25 08:09:12 +02:00
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