Commit Graph

30136 Commits

Author SHA1 Message Date
Felix S. Klock II
36609298e4 Bug 933269: jit support for getElem in TypedObjects (r=nmatsakis). 2013-11-05 09:53:00 +01:00
Brian Hackett
bd9f8d1786 Bug 936501 - Only give IonBuilder a context during definite properties analysis, r=jandem. 2013-11-08 09:02:37 -07:00
Brian Hackett
c6227cc3e9 Bug 936361 - Fixup inlined no-freeze version of isOwnProperty, r=jandem. 2013-11-08 08:57:31 -07:00
Brian Hackett
e39b4d8319 Bug 935952 - Clean up TypeObjectKey property interface to avoid querying objects with unknown properties, r=jandem. 2013-11-08 08:56:10 -07:00
Brian Hackett
0c1bcd9ef9 Bug 936004 - Trace template object in JSOP_REST caches, r=jandem. 2013-11-08 06:48:36 -07:00
Jon Coppeard
866d35d8d2 Bug 926678 - Ensure GC gets triggered when gcMallocBytes drops below zero r=billm 2013-10-16 09:45:27 +01:00
Jon Coppeard
874e3d93ec Bug 935903 - Unmark shared script data at start of GC r=billm 2013-11-08 09:53:24 +00:00
Jan de Mooij
7067a85ea3 Bug 933798 - Don't inhibit name optimizations in try blocks. r=bhackett 2013-11-08 10:37:31 +01:00
Jim Blandy
287fdda51e Bug 887077: Use OwningCompileOptions for off-main-thread compilation. r=terrence 2013-11-07 21:17:07 -08:00
Jim Blandy
3746f0c7e7 Bug 887077: Use ReadOnlyCompileOptions in preference to CompileOptions where possible. r=terrence 2013-11-07 21:07:18 -08:00
Jim Blandy
0c19b45d52 Bug 887077: Split CompileOptions into ReadOnlyCompileOptions, CompileOptions, and OwningCompileOptions. r=terrence 2013-11-07 21:07:18 -08:00
Jim Blandy
e4872cd8bf Bug 887077: Use getter functions to retrieve ownable resources from CompileOptions, instead of direct data member access. r=terrence 2013-11-07 21:07:18 -08:00
Seth Fowler
90d83b3d32 Backout of bug 934070 for breaking debugging on OS X 2013-11-07 18:42:22 -08:00
Nicholas Nethercote
3f670f9d0f Bug 634417 - Remove inappropriate uses of vanilla malloc/calloc/realloc/free/strdup from SpiderMonkey. r=luke.
--HG--
extra : rebase_source : 4470cdf58a482eb05f94cd00a9800d8e6a0d2252
2013-11-08 09:52:14 +11:00
Bill McCloskey
54fb84bbdf Bug 935338 - Get NSPR emulation working on Macs (r=jorendorff) 2013-11-07 17:19:01 -08:00
Ryan VanderMeulen
e4bf9a3a4a Backed out changeset ec8ac6112088 (bug 933885) for frequent xpcshell test_singlebytes.js timeouts. 2013-11-07 16:45:17 -05:00
Ryan VanderMeulen
9d31989c15 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Kannan Vijayan
d598e506ca Bug 934427 - Fix callVM invocation in initScopeChain and emitStackCheck for functions with high nslots. r=jandem 2013-11-07 16:08:41 -05:00
Jason Orendorff
1f1ea2b752 Back out rev 877d4860a9f2 (bug 934669, deprecate Object.prototype.watch). It was inadvertently landed when there was a last-minute sr- on the patch.
--HG--
extra : rebase_source : 3ced9391c314abf7618dfc6e5719e270961e454f
2013-11-07 13:59:19 -06:00
Brian Hackett
33db62b9ca Bug 935324 - Clean up adding of type properties to objects, r=jandem. 2013-11-07 11:12:15 -08:00
Zack Weinberg
7782ff7dd7 Bug 933885: make xpcshell dump() handle non-ASCII characters correctly. r=bz,ted 2013-11-07 14:10:58 -05:00
Jeff Walden
39bee2a91f Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Jeff Walden
9fa1166172 Bug 934669 - Make a global object's Object.prototype.watch/unwatch warn about deprecation when called for the first time. r=evilpie
--HG--
extra : rebase_source : 0856fe798e107e4f0e8bd8b7896107448c6c9364
2013-09-12 15:45:43 -07:00
Jeff Walden
61a2eb48a6 Bug 921561 - Make JS_DECLARE_NEW_METHODS use C++11 "perfect" forwarding (which isn't, because it won't let you pass an expression that's a bit field #nowyouknow), to eliminate issues arising when non-const references are used in these methods with classes that don't copy nicely, or shouldn't be copied for perf reasons. r=luke
--HG--
extra : rebase_source : d2b446e0ee6e5613faa962b92acc9f91584fe7ac
2013-09-27 11:19:43 -07:00
Brian Hackett
c7d2a6d1e4 Bug 932875 - Fix logic annotating type object -> function maps in callprop caches, r=jandem. 2013-11-07 08:12:04 -08:00
Brian Hackett
67d865ecd9 Bug 935032 - Don't allocate template objects in IonBuilder when inlining intrinsic_NewDenseArray, r=shu. 2013-11-07 08:00:24 -08:00
Jan de Mooij
d01e34f691 Bug 935016 - Specialize string.split(string) in IonMonkey. r=bhackett 2013-11-07 12:14:20 +01:00
Makoto Kato
fc77375fd3 Bug 891718 - Can override CPP/CC/CXX on Android. r=glandium 2013-11-07 17:39:13 +09:00
Mike Hommey
ebd64d4dbd Bug 934070 - Stop copying dist/bin under dist/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS in */app/Makefile.in. r=ted
Consequently, revert changeset 92bea49b46b4 (bug 914560).
2013-11-07 10:38:13 +09:00
Mike Hommey
d2778baa7e Bug 862770 - Fix --disable-compile-environment a little. r=gps
--HG--
rename : config/makefiles/target_libs.mk => config/makefiles/target_binaries.mk
rename : js/src/config/makefiles/target_libs.mk => js/src/config/makefiles/target_binaries.mk
2013-11-07 10:37:45 +09:00
Mike Hommey
7adba441b7 Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps 2013-11-07 10:37:44 +09:00
Eddy Bruel
f9421e5961 Bug 927116 - Implement reflect support for import declarations; r=jorendorff
CLOSED TREE
2013-11-06 20:04:45 +01:00
Eddy Bruel
91065d6092 Bug 927116 - Test reflect support for import declarations; r=jorendorff 2013-11-06 20:05:23 +01:00
Eddy Bruel
25b279225f Bug 927116 - Implement parser support for import declarations; r=jorendorff 2013-11-06 20:04:12 +01:00
Benjamin Bouvier
0565944cfb Bug 926431 - Make clone unsafe for fuzzing in the JS shell. r=luke 2013-11-06 19:47:29 +01:00
Wes Kocher
bf93b8ef19 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
05502a961f 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
ed9c30c1a6 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
b48ac61a62 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
237a160bf4 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
34ae3d6fba 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
b5a0433a5f Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz 2013-09-26 16:18:27 -07:00
Andrew McCreight
748cd6b364 Bug 905382, part 1 - Implement a read barrier for GC things. r=jonco 2013-11-04 15:01:38 -08:00
Andrew McCreight
634fb697f0 Bug 909490, part 3 - Add callback for zone sweeping. r=jonco 2013-09-25 13:41:25 -07:00
Andrew McCreight
d019fda5e2 Bug 909490, part 2 - Add callback for zone destruction. r=billm 2013-09-25 13:41:25 -07:00
Andrew McCreight
0db8b8784e Bug 909490, part 1 - Add per-zone data for use by embedder. r=billm 2013-08-27 09:42:11 -07:00
Eddy Bruel
305cff4872 Bug 927116 - Test reflect support for import declarations; r=jorendorff 2013-11-06 20:05:23 +01:00
Eddy Bruel
f38b56c834 Bug 927116 - Implement reflect support for import declarations; r=jorendorff 2013-11-06 20:04:45 +01:00
Eddy Bruel
44a19b319c Bug 927116 - Implement parser support for import declarations; r=jorendorff 2013-11-06 20:04:12 +01:00
Jason Orendorff
6841ecdf00 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
8659110659 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
945f9a5e49 Bug 935032 - Fix more miscellaneous uses of JSContext in IonBuilder, r=luke,jandem. 2013-11-06 10:23:43 -08:00
Boris Zbarsky
bb048bcdda 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
f34e901eed 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
8ff0292488 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
f693805b00 Bug 933369 part 2 - Fix Load/Store TypedArrayElementStatic type policy. r=bhackett 2013-11-06 17:18:15 +01:00
Jan de Mooij
e345c01677 Bug 933369 part 1 - Improve heuristics for Ion try-catch compilation. r=bhackett 2013-11-06 17:18:10 +01:00
Andrew McCreight
1de8e395e8 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
8f66a758c7 Bug 934557 - Handlify JS::ToBoolean and remove JS_ValueToBoolean. r=terrence 2013-11-06 16:26:50 +01:00
Brian Hackett
0dc9727a29 Bug 935032 - Fix miscellaneous uses of JSContext in IonBuilder, r=shu,jandem. 2013-11-06 07:14:20 -08:00
Sankha Narayan Guria
895d8309dc 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
f5c89a1e76 Bug 922070 - Define SrcNoteType, js_SrcNoteSpec using higher-order macro. r=njn 2013-11-06 13:24:55 +01:00
Jan de Mooij
002adea292 Back out 495a9c210b91 (bug 933798) for causing crashes like bug 935348. 2013-11-06 12:34:29 +01:00
Jon Coppeard
e9818b71e4 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
d8a3b0f0bb 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
a94bda2198 Bug 934500 - Don't eagerly create callsite clones in IonBuilder, r=shu. 2013-11-05 18:00:44 -08:00
Brian Hackett
12fc85083c Bug 935027 - Don't create 'rest' template objects in IonBuilder, r=jandem. 2013-11-05 17:54:29 -08:00
Steve Fink
fa822ef18d 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
84a737b380 Bug 935125 - Whitelist PLDHashTableOps.hashKey, r=terrence
--HG--
extra : rebase_source : 491286402c046b29a7f5dacefe892a7ea74eb6aa
2013-11-05 14:41:46 -08:00
Nathan Froyd
3ca51a58fb 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
659ec36f05 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
98a1b2bf2f 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
b9bab00f22 Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley 2013-11-05 16:35:41 +01:00
Steve Fink
af65fa7c5f 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
4f7d54b932 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
e507db3101 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
0b81a6c9ce 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
187bf9314f Bug 934526 - Remove unnecessary attempt to instantiate intrinsic values in IonBuilder, r=jandem. 2013-11-05 10:15:51 -08:00
Andrew McCreight
9402825392 Bug 934990 - Export CurrentThreadCanAccess functions properly. r=terrence 2013-11-05 08:55:28 -08:00
Terrence Cole
3ede8a089c 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
52e96fa49b Bug 568953 - Fix for regression introduced by 82c3097bb8b3 CLOSED TREE; r=me 2013-11-05 16:57:08 +01:00
Eddy Bruel
51682afe46 Bug 568953 - Back out obsolete module code; r=jorendorff 2013-11-05 16:10:34 +01:00
Peter Van der Beken
255e6fe560 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
a1b7b30359 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
7d2d39b965 Bug 932796: Fix ThrowError call (r=nmatsakis). 2013-10-31 15:36:46 +01:00
Jon Coppeard
5165f4707a Bug 844768 - Make JSRuntime::gcNumArenasFreeCommitted atomic r=billm 2013-11-05 10:16:53 +00:00
Jon Coppeard
cecefc3587 Bug 934485 - Remove unused ProxyOptions::forceForegroundFinalization() r=terrence 2013-11-05 10:15:40 +00:00
Jon Coppeard
4282046316 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
8550f0ba8d Bug 930523 = createObjectIn should waive. r=bholley 2013-11-05 08:02:07 +01:00
Gabor Krizsanits
0fa275fef4 Bug 930910 - evalInWindow for Cu. r=bholley 2013-11-05 08:00:30 +01:00
Gabor Krizsanits
b509eb8d77 Bug 930910 - exportFunction for Cu. r=bholley 2013-11-05 08:00:20 +01:00
Gabor Krizsanits
fa55e5337b Bug 930910 - options object for Cu.createObjectIn. r=bholley 2013-11-05 08:00:05 +01:00
Mike Hommey
abcda3c30f Bug 934335 - Fix standalone js's make install again. r=mshal 2013-11-05 13:28:31 +09:00
Mike Hommey
ff32f10568 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
0152ae2402 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
6d2b5483e4 Bug 931687 - Add -Gw option when using VS2013. r=glandium 2013-11-05 12:46:46 +09:00
Terrence Cole
3fe839d194 Bug 927939 - Always tenure with background finalization; r=jonco
--HG--
extra : rebase_source : 5ab3353b8d60fe6ae7ae15ccdb2123c10011be86
2013-11-01 12:09:40 -07:00
Mike Hommey
6aea58d822 Bug 934361 - Remove CHROME_DEPS. r=mshal 2013-11-05 07:39:28 +09:00
Mike Hommey
7f655b04c9 Bug 934336 - Remove apparently useless dependencies on js-confdefs.h. r=mshal 2013-11-05 07:39:28 +09:00
Mike Hommey
57603b74be Bug 934166 - Disable pseudo derecurse on PGO builds. r=mshal 2013-11-05 07:39:28 +09:00