Commit Graph

30103 Commits

Author SHA1 Message Date
Eddy Bruel
5d4adcac7d Bug 927116 - Implement parser support for import declarations; r=jorendorff 2013-11-06 20:04:12 +01:00
Benjamin Bouvier
468fad13c2 Bug 926431 - Make clone unsafe for fuzzing in the JS shell. r=luke 2013-11-06 19:47:29 +01:00
Wes Kocher
2cca7bfafb Backed out 3 changesets (bug 927116) for Win debug XPCShell test bustage
Backed out changeset dfeee13c85fb (bug 927116)
Backed out changeset 17b2babbe34e (bug 927116)
Backed out changeset 13f60271f4f6 (bug 927116)
2013-11-06 12:53:11 -08:00
Terrence Cole
1b1f40de6d Bug 909972 - Avoid unnecessary GCs in asm.js compilation; r=luke
--HG--
extra : rebase_source : 41a55a9f837016efbcf013f9b51e9f5f5c48f28b
2013-10-17 09:12:23 -07:00
Terrence Cole
cf9c9d2ef6 Bug 931912 - Suppress an exact rooting hazard false positive in nsWindowSH::Finalize; r=sfink
--HG--
extra : rebase_source : 3934e7cd7e21e37de20aadac203db6a285021691
2013-11-05 15:02:35 -08:00
Terrence Cole
5072dc5910 Bug 935586 - Fix an exact rooting hazard in getIntrinsicValue; r=bhackett
--HG--
extra : rebase_source : eca4c08e60a5583c18a6f1d985ff1a86d19c8a7e
2013-11-06 09:06:57 -08:00
Terrence Cole
5201dd0149 Bug 935271 - Fix ifdefs in js/src/gc/Memory.cpp; r=billm
--HG--
extra : rebase_source : 182c3747cafb76ee1c325515a22c1c89c7bd0930
2013-11-06 08:43:04 -08:00
Terrence Cole
35ef0a6f01 Bug 930526 - Add a missing OOM check to js_InitTypedObjectClass; r=nmatsakis
--HG--
extra : rebase_source : 86049b48e6fb0f772d8edaabb403e1d8c1442706
2013-11-05 10:22:43 -08:00
Andrew McCreight
1b9cc2e51b Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz 2013-09-26 16:18:27 -07:00
Andrew McCreight
743bde990d Bug 905382, part 1 - Implement a read barrier for GC things. r=jonco 2013-11-04 15:01:38 -08:00
Andrew McCreight
e10cd541fb Bug 909490, part 3 - Add callback for zone sweeping. r=jonco 2013-09-25 13:41:25 -07:00
Andrew McCreight
03c332e10a Bug 909490, part 2 - Add callback for zone destruction. r=billm 2013-09-25 13:41:25 -07:00
Andrew McCreight
04485adc4e Bug 909490, part 1 - Add per-zone data for use by embedder. r=billm 2013-08-27 09:42:11 -07:00
Eddy Bruel
3c75984814 Bug 927116 - Test reflect support for import declarations; r=jorendorff 2013-11-06 20:05:23 +01:00
Eddy Bruel
e8ef193f01 Bug 927116 - Implement reflect support for import declarations; r=jorendorff 2013-11-06 20:04:45 +01:00
Eddy Bruel
fb6a60d4f6 Bug 927116 - Implement parser support for import declarations; r=jorendorff 2013-11-06 20:04:12 +01:00
Jason Orendorff
126d93e3b4 Add passing tests for bug 934789, which was fixed by backing out bug 933798 in rev 175bebe48034. Thanks to luke for test cases. no_r=testonly. 2013-11-06 12:31:25 -06:00
Kannan Vijayan
fd3b422b3c Bug 925470 - Dont use ArgsObj-based args when OSR-ing into scripts with argsObjAliasesFormals=false. r=h4writer 2013-11-06 13:26:44 -05:00
Brian Hackett
6c540b8ba2 Bug 935032 - Fix more miscellaneous uses of JSContext in IonBuilder, r=luke,jandem. 2013-11-06 10:23:43 -08:00
Boris Zbarsky
f36b4cafef Bug 934544. For the case when we have to copy an XPCOM string into a JSString, just ask the JS engine to do that. It'll do a better job of avoiding malloc than we can, since it can sometimes store string data inline in the string. r=peterv 2013-11-06 13:02:58 -05:00
Terrence Cole
51874a1795 Bug 935156 - Exactly root the script stored in BytecodeParser; r=wingo
--HG--
extra : rebase_source : f8c9500a04e10711680e6f8c729f438678054ad6
2013-11-05 11:35:22 -08:00
Ryan VanderMeulen
66e0ae4d63 Backed out changeset 727ea6823984 (bug 931328) for Windows jit-test failures.
--HG--
rename : js/src/jit-test/tests/basic/hypot-approx.js => js/src/tests/ecma_6/Math/hypot-approx.js
rename : js/src/jit-test/tests/basic/hypot-exact.js => js/src/tests/ecma_6/Math/hypot-exact.js
2013-11-06 11:30:44 -05:00
Jan de Mooij
6be5261be5 Bug 933369 part 2 - Fix Load/Store TypedArrayElementStatic type policy. r=bhackett 2013-11-06 17:18:15 +01:00
Jan de Mooij
af5718205b Bug 933369 part 1 - Improve heuristics for Ion try-catch compilation. r=bhackett 2013-11-06 17:18:10 +01:00
Andrew McCreight
2cecdbda03 Bug 935130 - mem.log console message should say Zones Collected not Compartments Collected. r=terrence 2013-11-05 11:02:26 -08:00
Tom Schuster
d5f73dbc01 Bug 934557 - Handlify JS::ToBoolean and remove JS_ValueToBoolean. r=terrence 2013-11-06 16:26:50 +01:00
Brian Hackett
6be86fb730 Bug 935032 - Fix miscellaneous uses of JSContext in IonBuilder, r=shu,jandem. 2013-11-06 07:14:20 -08:00
Sankha Narayan Guria
cc59531c58 Bug 931328 - IonMonkey: Inline Math.hypot(x, y). r=jandem
--HG--
rename : js/src/tests/ecma_6/Math/hypot-approx.js => js/src/jit-test/tests/basic/hypot-approx.js
rename : js/src/tests/ecma_6/Math/hypot-exact.js => js/src/jit-test/tests/basic/hypot-exact.js
2013-10-31 19:36:13 +05:30
Andy Wingo
221d56a29a Bug 922070 - Define SrcNoteType, js_SrcNoteSpec using higher-order macro. r=njn 2013-11-06 13:24:55 +01:00
Jan de Mooij
ae9d4711c5 Back out 495a9c210b91 (bug 933798) for causing crashes like bug 935348. 2013-11-06 12:34:29 +01:00
Jon Coppeard
e93128c9fc Bug 935022 - Fix the interaction between generational GC zeal mode and disabling generational collection r=terrence 2013-11-06 10:45:59 +00:00
Nicholas Nethercote
b9e0d05f7e Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Brian Hackett
f71797ab8a Bug 934500 - Don't eagerly create callsite clones in IonBuilder, r=shu. 2013-11-05 18:00:44 -08:00
Brian Hackett
f18693fe65 Bug 935027 - Don't create 'rest' template objects in IonBuilder, r=jandem. 2013-11-05 17:54:29 -08:00
Steve Fink
47641b1948 Bug 935173 - Fix JS_NeuterArrayBuffer and call it, r=Waldo
--HG--
extra : rebase_source : 974ec3f776849382fe7684117c647013f7e14236
2013-11-05 14:42:16 -08:00
Steve Fink
14a9a436ad Bug 935125 - Whitelist PLDHashTableOps.hashKey, r=terrence
--HG--
extra : rebase_source : 491286402c046b29a7f5dacefe892a7ea74eb6aa
2013-11-05 14:41:46 -08:00
Nathan Froyd
cf9912c215 Bug 932127 - correctly configure ctypes in cross compilation conditions; r=glandium
Just unconditionally export things for Android and everything else.
2013-11-05 13:03:13 -05:00
Gijs Kruitbosch
d649dc25bb Fix mochitest-other debug bustage caused by bug 821726 by expecting assertions, rs=bustage on a CLOSED TREE 2013-11-05 21:43:01 +01:00
Bill McCloskey
56f3e9a252 Bug 931151 - Offer an alternative to NSPR when building the JS shell on POSIX platforms (r=jorendorff,ted) 2013-11-05 11:16:15 -08:00
Gijs Kruitbosch
a0af27438c Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley 2013-11-05 16:35:41 +01:00
Steve Fink
c9c4a1d06f Bug 934698 - Suppress nsISupports.{AddRef,Release} when called directly, r=bhackett
DONBUILD because NPOTB yet
2013-11-05 09:10:31 -08:00
Steve Fink
632701b955 Bug 916677 - Do not check expectations in explain.py (move to mozharness script), r=terrence
DONTBUILD because NPOTB yet

--HG--
extra : rebase_source : 1ba2ef6be01bd76bfe9814073047845f3597b363
2013-11-05 09:10:13 -08:00
Steve Fink
ef43c95aa7 Bug 916677 - Update expected number of hazards to accommodate some regressions, r=terrence
DONTBUILD because NPOTB

--HG--
extra : rebase_source : 1d00e49e237dbccc80c2e81c97aa051d2dd0f61b
2013-11-05 09:09:56 -08:00
Steve Fink
8f3142c1ed Bug 934351 - More annotations that have been in production, r=terrence
DONTBUILD because NPOTB

--HG--
extra : rebase_source : 4aa5ee7709013161757d0df44f4de5205692a872
2013-11-05 09:09:34 -08:00
Brian Hackett
33d73d4879 Bug 934526 - Remove unnecessary attempt to instantiate intrinsic values in IonBuilder, r=jandem. 2013-11-05 10:15:51 -08:00
Andrew McCreight
6efba18832 Bug 934990 - Export CurrentThreadCanAccess functions properly. r=terrence 2013-11-05 08:55:28 -08:00
Terrence Cole
626a485eb8 Bug 932530 - Check return of getType in more places; r=djvj
--HG--
extra : rebase_source : 58f83c065dd227ba14243891da6b12a6d610765c
2013-11-05 10:03:24 -08:00
Eddy Bruel
aa89d73942 Bug 568953 - Fix for regression introduced by 82c3097bb8b3 CLOSED TREE; r=me 2013-11-05 16:57:08 +01:00
Eddy Bruel
5e226292f4 Bug 568953 - Back out obsolete module code; r=jorendorff 2013-11-05 16:10:34 +01:00
Peter Van der Beken
1f5317edd4 Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Philipp Kewisch
6bc1f0b0bb Fix bug 927073 - Binary compatibility broken for maintenance releases due to strict version-script - regression fix. r=glandium 2013-11-05 12:07:22 +01:00
Felix S. Klock II
1afbae7daa Bug 932796: Fix ThrowError call (r=nmatsakis). 2013-10-31 15:36:46 +01:00
Jon Coppeard
466c1f4c12 Bug 844768 - Make JSRuntime::gcNumArenasFreeCommitted atomic r=billm 2013-11-05 10:16:53 +00:00
Jon Coppeard
18b84b0a2d Bug 934485 - Remove unused ProxyOptions::forceForegroundFinalization() r=terrence 2013-11-05 10:15:40 +00:00
Jon Coppeard
e7bf252bd0 Bug 927939 - Wrappers for nursery allocated objects should be finalized in the background r=terrence 2013-11-05 10:15:33 +00:00
Gabor Krizsanits
4b6ef2a00b Bug 930523 = createObjectIn should waive. r=bholley 2013-11-05 08:02:07 +01:00
Gabor Krizsanits
9294bf448c Bug 930910 - evalInWindow for Cu. r=bholley 2013-11-05 08:00:30 +01:00
Gabor Krizsanits
9e77af3a4e Bug 930910 - exportFunction for Cu. r=bholley 2013-11-05 08:00:20 +01:00
Gabor Krizsanits
f78fec5657 Bug 930910 - options object for Cu.createObjectIn. r=bholley 2013-11-05 08:00:05 +01:00
Mike Hommey
805d0387ed Bug 934335 - Fix standalone js's make install again. r=mshal 2013-11-05 13:28:31 +09:00
Mike Hommey
44619982dd Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
Chris Peterson
d275a447f2 Bug 934262 - Fix -Wtautological-constant-out-of-range-compare warnings in js/src/jit/. r=luke 2013-11-02 12:28:03 -07:00
Makoto Kato
8ee05cd3ad Bug 931687 - Add -Gw option when using VS2013. r=glandium 2013-11-05 12:46:46 +09:00
Terrence Cole
576783b92e Bug 927939 - Always tenure with background finalization; r=jonco
--HG--
extra : rebase_source : 5ab3353b8d60fe6ae7ae15ccdb2123c10011be86
2013-11-01 12:09:40 -07:00
Mike Hommey
e8bcf52aeb Bug 934361 - Remove CHROME_DEPS. r=mshal 2013-11-05 07:39:28 +09:00
Mike Hommey
c26251e049 Bug 934336 - Remove apparently useless dependencies on js-confdefs.h. r=mshal 2013-11-05 07:39:28 +09:00
Mike Hommey
9a9a425c28 Bug 934166 - Disable pseudo derecurse on PGO builds. r=mshal 2013-11-05 07:39:28 +09:00
Jim Blandy
5f1150fd9d Bug 892643: Implement PersistentRooted<T>, an unrestricted-lifetime rooting type. r=terrence, jcoppeard 2013-11-04 13:35:08 -08:00
Landry Breuil
26fd07f497 Bug 932991: Partly revert bug 898274 on jscpucfg.h, breaks OpenBSD/sparc64 (at least) where <machine/endian.h> must be included after <sys/types.h>. r=njn 2013-11-04 22:05:51 +01:00
Landry Breuil
54d42970b4 Bug 928381 - ctypes/libffi: Fix stack alignment on *BSD/i386 r=glandium 2013-11-04 22:05:46 +01:00
Sankha Narayan Guria
f3af24268c Bug 894658 - Implement ES6 Array.prototype.{keys,entries}. r=jorendorff 2013-11-02 07:52:50 +05:30
Dan Gohman
11eb90c533 Bug 934174 - SpiderMonkey: Micro-optimize AddOperation for int32 values r=luke 2013-11-04 09:41:17 -08:00
Dan Gohman
97d5255786 Bug 934520 - SpiderMonkey: Avoid signed overflow and other forms of undefined behavior. r=bhackett 2013-11-04 09:41:06 -08:00
Ryan VanderMeulen
6cddc919e9 Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
86a3955c9b Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00
Dan Gohman
a32df7d80e Bug 934173 - SpiderMonkey: Mark debugMode() checks as JS_UNLIKELY. r=jorendorff 2013-11-04 07:57:10 -08:00
Dan Gohman
7f626df110 Bug 931487 - IonMonkey: Disable spilling to argument slots. r=bhackett 2013-11-04 07:57:08 -08:00
Nicholas D. Matsakis
c623985675 Bug 926710 - Fix up non-threadsafe builds rs=trivial,blocking-fuzzer 2013-11-04 10:43:09 -05:00
Brian Hackett
7b9b512f4a Bug 932899 - Remove debug only stack/heap type set flags, r=jandem. 2013-11-04 08:29:46 -07:00
Hannes Verschore
37a6f733e9 Bug 914255: Backout due to performance regressions to DOM, r=regression 2013-11-04 16:17:44 +01:00
Dan Minor
5573f28ce7 Bug 932940 - Jit-test harness needs to set different remote --js-cache; r=terrence 2013-11-04 09:34:48 -05:00
Hannes Verschore
f10fea24ce Bug 932757 - Remove JSOP_POPV and JSOP_STOP, r=jorendorff 2013-11-04 15:33:15 +01:00
Jan de Mooij
585f6f8712 Bug 933798 - Don't unnecessarily deoptimize name accesses in try blocks in lazily parsed functions. r=bhackett 2013-11-04 11:40:24 +01:00
Jon Coppeard
31b7d51b9f Bug 931812 - Remove inheritance of RelocatableFoo from EncapsulatedFoo to disallow casting away of postbarriers r=terrence 2013-11-04 10:09:42 +00:00
Nicholas Nethercote
cd0b801b1b Bug 837566 - Remove js_RemoveRoot. r=terrence.
--HG--
extra : rebase_source : b3b615c34cfa4b9766a3484060242498c5a57e63
2013-02-03 20:16:19 -08:00
Nicholas Nethercote
90c3c6d955 Bug 932440 - Re-fix a compiler warning in memorymetrics that was fixed in bug 924608 but was then undone by a bad manual merge. r=me.
--HG--
extra : rebase_source : 370eacd5a6f0d0015e0b685ea66a4c47df248a34
2013-10-29 20:15:09 -07:00
Hannes Verschore
657604df97 Bug 914255 - Reduce the number of objects tracked in a TypeSet, r=bhackett 2013-11-03 22:22:11 +01:00
Steve Fink
d4ef682538 Bug 930378 - Explicit |using Base::foo| declarations instead of stub definitions, r=jimb 2013-10-28 11:35:44 -07:00
Steve Fink
c7aa5322eb Bug 930378 - Avoid AutoValueArray and naked Value addresses, r=jimb 2013-10-28 11:33:51 -07:00
Steve Fink
d207efe231 Bug 916677 - Propagate --expect-file flag. r=woof!
--HG--
extra : rebase_source : 226a3ed86a207ae239caba291aac8f39855354a9
2013-11-02 23:29:06 -07:00
Shu-yu Guo
7ec3edde6e Bug 926710 - Remove JS_THREADPOOL_SIZE in favor --thread-count. (r=nmatsakis) 2013-11-02 22:20:49 -07:00
Shu-yu Guo
c9bde388de Bug 933557 - Lazily construct ScriptFrameIter in Debugger.Frame methods. (r=jimb) 2013-11-02 22:20:25 -07:00
Dan Gohman
8abf90ad4b Bug 931489 - IonMonkey: Omit the NaN check for LNotD if range analysis says there are no NaNs. r=nbp 2013-11-02 14:29:44 -07:00
Dan Gohman
436cc2ffa6 Bug 931489 - IonMonkey: Omit NaN checks in LCompareD nodes when the operands are known to be non-NaN. r=nbp 2013-11-02 14:29:44 -07:00
Dan Gohman
82cabc0e08 Bug 930708 - IonMonkey: Factor out a DoubleEqualsInt32 from DoubleIsInt32 and use it when negative zero is to be treated as zero. r=nbp 2013-11-02 14:29:44 -07:00
Nathan Froyd
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Jan de Mooij
d597374663 Bug 932769 followup - Fix typo. rs=evilpie 2013-11-02 17:35:00 +01:00
Tom Schuster
4b85960fb6 Bug 933946 - Remove the rest of the old number conversion functions from SpiderMonkey. r=terrence 2013-11-02 13:48:09 +01:00
Brian Hackett
485f102874 Bug 932769 - Ignore resolve hooks for properties that already exist on the object being examined, r=jandem. 2013-11-02 09:32:22 -06:00
Jan de Mooij
ea9336e30d Bug 933475 - Rewrite Array.prototype.push fast path to work on all native objects with dense elements. r=Waldo 2013-11-02 11:54:07 +01:00