Commit Graph

30257 Commits

Author SHA1 Message Date
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
Jim Blandy
1dfa8c46d0 Bug 892643: Implement PersistentRooted<T>, an unrestricted-lifetime rooting type. r=terrence, jcoppeard 2013-11-04 13:35:08 -08:00
Landry Breuil
64759f87bc 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
6b5d125afe Bug 928381 - ctypes/libffi: Fix stack alignment on *BSD/i386 r=glandium 2013-11-04 22:05:46 +01:00
Sankha Narayan Guria
3cf6dcf59a Bug 894658 - Implement ES6 Array.prototype.{keys,entries}. r=jorendorff 2013-11-02 07:52:50 +05:30
Dan Gohman
081593f897 Bug 934174 - SpiderMonkey: Micro-optimize AddOperation for int32 values r=luke 2013-11-04 09:41:17 -08:00
Dan Gohman
04e8e59a77 Bug 934520 - SpiderMonkey: Avoid signed overflow and other forms of undefined behavior. r=bhackett 2013-11-04 09:41:06 -08:00
Ryan VanderMeulen
78649cfa0f 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
96bb7d1a68 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
68fbfe5fec Bug 934173 - SpiderMonkey: Mark debugMode() checks as JS_UNLIKELY. r=jorendorff 2013-11-04 07:57:10 -08:00
Dan Gohman
2ae0043e65 Bug 931487 - IonMonkey: Disable spilling to argument slots. r=bhackett 2013-11-04 07:57:08 -08:00
Nicholas D. Matsakis
000d7ca6c1 Bug 926710 - Fix up non-threadsafe builds rs=trivial,blocking-fuzzer 2013-11-04 10:43:09 -05:00
Brian Hackett
667347f11f Bug 932899 - Remove debug only stack/heap type set flags, r=jandem. 2013-11-04 08:29:46 -07:00
Hannes Verschore
412ba69e61 Bug 914255: Backout due to performance regressions to DOM, r=regression 2013-11-04 16:17:44 +01:00
Dan Minor
abb658ed57 Bug 932940 - Jit-test harness needs to set different remote --js-cache; r=terrence 2013-11-04 09:34:48 -05:00
Hannes Verschore
83029fbc35 Bug 932757 - Remove JSOP_POPV and JSOP_STOP, r=jorendorff 2013-11-04 15:33:15 +01:00
Jan de Mooij
63d1d1e057 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
8977dc4ad2 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
cdfc960ca4 Bug 837566 - Remove js_RemoveRoot. r=terrence.
--HG--
extra : rebase_source : b3b615c34cfa4b9766a3484060242498c5a57e63
2013-02-03 20:16:19 -08:00
Nicholas Nethercote
2762e3b8e7 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
6fc42e400d Bug 914255 - Reduce the number of objects tracked in a TypeSet, r=bhackett 2013-11-03 22:22:11 +01:00
Steve Fink
001089b93a Bug 930378 - Explicit |using Base::foo| declarations instead of stub definitions, r=jimb 2013-10-28 11:35:44 -07:00
Steve Fink
e0a879dcf3 Bug 930378 - Avoid AutoValueArray and naked Value addresses, r=jimb 2013-10-28 11:33:51 -07:00
Steve Fink
159f1a012e Bug 916677 - Propagate --expect-file flag. r=woof!
--HG--
extra : rebase_source : 226a3ed86a207ae239caba291aac8f39855354a9
2013-11-02 23:29:06 -07:00
Shu-yu Guo
a06904bcb5 Bug 926710 - Remove JS_THREADPOOL_SIZE in favor --thread-count. (r=nmatsakis) 2013-11-02 22:20:49 -07:00
Shu-yu Guo
f1970d7e7b Bug 933557 - Lazily construct ScriptFrameIter in Debugger.Frame methods. (r=jimb) 2013-11-02 22:20:25 -07:00
Dan Gohman
99bf6fc840 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
ccc04be1d9 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
c0da77c4d5 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
ad3ed9e5be 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
b075b3e219 Bug 932769 followup - Fix typo. rs=evilpie 2013-11-02 17:35:00 +01:00
Tom Schuster
b0f36a0a96 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
c4c9593b96 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
c2c685f078 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
Steve Fink
df25e96b2f No bug. Separate hazard expectation files for shell and browser. r=woof!
DONTBUILD because NPOTB (yet)

--HG--
rename : js/src/devtools/rootAnalysis/expect.json => js/src/devtools/rootAnalysis/expect.shell.json
extra : rebase_source : 1914678fd9482abffff66b110f78be6c4fd6bad3
2013-10-30 12:10:15 -07:00
Mike Hommey
63165a8ec9 Bug 933097 - Remove a few useless moz.build files. r=mshal 2013-11-02 08:47:46 +09:00
Mike Hommey
53040f08c9 Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps 2013-11-02 08:44:11 +09:00
Mike Hommey
718ee10d1e Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps 2013-11-02 08:42:53 +09:00
Brian Hackett
88f344c552 Bug 933734 - Check for undefined properties before emitting typed stores to global objects. 2013-11-01 16:59:19 -06:00
Terrence Cole
cb68f6b089 Bug 933382 - Fix the "all slots" post barrier; r=h4writer
--HG--
extra : rebase_source : 9bb40290137f97ec03bb4c591382f15d2745716d
2013-11-01 14:17:38 -07:00
Terrence Cole
6d6af94883 Bug 932530 - Handle getType failure in DenseAdd IC; r=djvj
--HG--
extra : rebase_source : 3629f728c46c2674c3c51ca90f9e328d1b837499
2013-11-01 13:38:45 -07:00
Brian O'Keefe
74d92c2d28 Bug 870401 - Fix up the MFBT exports and the sources. r=mshal 2013-10-28 10:21:29 -04:00
Tom Schuster
357151515a Bug 933810 - Really remove JS_ValueToECMAUint32. r=terrence f=mccr8 2013-11-01 20:44:05 +01:00
Kannan Vijayan
bfedaf9174 Bug 852175 - Fix baseline stack checks on functions which may push lots of locals. r=jandem 2013-11-01 15:04:01 -04:00
Ed Morley
9c8fe4a223 Backed out changeset 8e1c2d2466c9 (bug 932127) on suspicion of asan build failures on a CLOSED TREE 2013-11-01 15:26:44 +00:00
Jan de Mooij
613fe37d21 Bug 933301 - Optimize setDenseElementWithType. r=bhackett 2013-11-01 16:10:18 +01:00
Jan de Mooij
e8f23fc815 Bug 932800 - Don't optimize string[x] GETELEM in Ion if x is not a number. r=h4writer 2013-11-01 16:10:14 +01:00
Brian Hackett
984bfd7477 Bug 932769 - Increase the maximum value for type set definite property slots, r=jandem. 2013-11-01 09:04:52 -06:00
Nathan Froyd
c0e592b572 Bug 932127 - correctly configure ctypes in cross compilation conditions; r=glandium 2013-10-28 21:35:54 -04:00
Nathan Froyd
38d7608107 Bug 931043 - use AC_TRY_COMPILE to check for how to copy va_args; r=glandium
We shouldn't need to run these programs; compiling them should be enough.

While we're at it, we can remove support for __va_copy, which, AFAICS, is an
old GNU extension and has been superseded by va_copy by anyplace that cares.
2013-10-25 11:15:17 -04:00
Brian Hackett
4ade17582e Bug 931984 - Use baseline cache information for calling common getter/setters in Ion code, r=efaust. 2013-11-01 08:45:56 -06:00
Bobby Holley
c3012b9053 Bug 911864 - Make in-content XBL event handlers allowuntrusted=false by default. r=smaug 2013-11-01 15:31:58 +01:00
Bobby Holley
7b822eba16 Bug 911864 - When QIing objects bound with XBL scopes, route the XPCWrappedJS through an XrayWrapper from the XBL scope. r=smaug 2013-11-01 15:31:57 +01:00
Bobby Holley
8cce7588ac Bug 911864 - Add annotations to our XBL tests as-needed. r=smaug 2013-11-01 15:31:57 +01:00
Bobby Holley
e5ef6f2a60 Bug 911864 - Install XBL members in the safe scope, then clone them into content (rather than the reverse). r=smaug 2013-11-01 15:31:57 +01:00
Bobby Holley
8905531428 Bug 911864 - Expose an API to copy a single property across compartments. r=jorendorff 2013-11-01 15:31:56 +01:00
Bobby Holley
fdc0da7a2e Bug 822425 - Expose a few simple compartment assertions in jsfriendapi. r=mccr8
Only the first one will benefit from our Nightly-mode compartment assertions,
but both are useful for consistency.
2013-11-01 15:31:55 +01:00
Nicholas D. Matsakis
ed6b6d66f8 Bug 930543 - Detect negative indices r=jandem 2013-10-28 10:57:33 -04:00
Nicholas D. Matsakis
3ce69b8805 Bug 922216 - Self-host equivalent() for typed objects r=till 2013-09-20 16:19:29 -04:00
Hannes Verschore
03622c190a Bug 925949: Add fastpath to zeroLastIndex the normal RegExpObject, r=jwalden 2013-11-01 14:47:44 +01:00
Ed Morley
bcafd7d0cc Backed out changeset e697e7dcc321 (bug 932322) 2013-11-01 11:14:30 +00:00
Jon Coppeard
aaa83c8017 Bug 844766 - Make JSRuntime:: and Zone::gcBytes use atomics in preference to volatile r=billm 2013-11-01 10:20:50 +00:00
Jon Coppeard
2151cd257b Bug 931812: Remove unnecessary postbarriering of watchpoint map r=terrence 2013-11-01 10:20:50 +00:00
Jon Coppeard
8e341967b9 Bug 931812: Mark the store buffer first for minor GC r=terrence 2013-11-01 10:20:50 +00:00
Jon Coppeard
f2244ae74c Bug 931446 - Improve documentation comment on JS::Heap r=terrence 2013-11-01 10:20:50 +00:00
Peter Van der Beken
5e5e82d607 Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
--HG--
extra : rebase_source : 0225f25a61d1bffdae8eac4f82d7fe725a3af2df
2013-10-08 18:18:40 +02:00
Andy Wingo
e8c5877dc1 Bug 932180 - Rewrite decompiler's bytecode parser to not need SRC_HIDDEN annotations. r=jandem 2013-10-30 12:27:22 +01:00
Andy Wingo
8a8be6dd57 Bug 932216 - Remove code conditional on JS_HAS_CONST, JS_HAS_BLOCK_SCOPE. r=jorendorff 2013-10-29 11:23:51 +01:00
Nils Maier
4d52a5cdd3 Bug 929120 - Add a way to get compartment locations ignoring non-addon locations. r=njn
Use that new way to map compartments to add-ons. As an added bonus, fix a currently unproblematic off-by-one error in the location parser.
2013-10-31 23:04:11 -04:00
Boris Zbarsky
4eb56cc9c3 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Mike Hommey
9a8761e80a Bug 933062 - Avoid using > for preprocessing rules, so that pymake is happy. r=ted 2013-11-01 10:30:46 +09:00
Mike Hommey
e5bbd9bdc5 Bug 933047 - Add a configure check whether the C++ compiler actually is a C++ compiler. r=ted 2013-11-01 10:30:46 +09:00
Mike Hommey
fb473a8d93 Bug 932213 - Move HOST_CMMSRCS to moz.build. r=gps 2013-10-30 07:51:48 +09:00
Mike Hommey
2b92b5a665 Bug 901561 - Move CMSRCS to moz.build. r=gps 2013-10-30 07:51:27 +09:00
Mike Hommey
71a1f5b46c Bug 864774 part 3 - Move some more CPPSRCS to moz.build. r=mshal 2013-10-30 07:51:03 +09:00
Ryan VanderMeulen
1e3f5ba856 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Ryan VanderMeulen
b3ebc15f66 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Brian Hackett
fb4e1bc872 Bug 930048 - Remove need to read objects directly when optimizing singleton accesses, r=jandem. 2013-10-29 16:10:59 -06:00
Gregory Szorc
d13caf7d3e Bug 877308 - Change when build backend update check it performed; r=glandium
Before, we checked if config.status was stale in any entrant Makefile
(top level or child directory). This had undesirable side-effects for
partial tree builds, notably that if the build backend was out of date,
the current Makefile was invalidated.

With this patch, we only regenerate the build config automatically in
full/toplevel builds. If an outdated build config is detected on partial
tree builds, we error. The impact of this is mitigated by having mach
build automatically ensure the build config is current.

--HG--
extra : rebase_source : a3a2c1d2bf68d1c0727352ebd9bfb785654e45bf
2013-10-29 14:53:52 -07:00
Terrence Cole
d22937377d Bug 932364 - Fix an exact rooting hazard around AddSizeOfTab; r=njn
--HG--
extra : rebase_source : cb0ab85f7f850ce3c250dd75ff32a416dba7b153
2013-10-28 10:14:06 -07:00
Philipp Kewisch
4d8ce17a99 Fix bug 927073 - Binary compatibility broken for maintenance releases due to strict version-script. r=glandium 2013-10-29 21:48:28 +01:00
Dan Gohman
9cfeb2e9e0 Bug 931488 - IonMonkey: Implement computeRange for MArrayPush, MBoundsCheck, MRandom, and some MMathFunctions. r=nbp 2013-10-29 09:18:14 -07:00
Dan Gohman
e34c0b50aa Bug 930714 - SpiderMonkey: Implement extraName() for LUnbox. r=nbp 2013-10-29 09:18:13 -07:00
Markus Stange
788dcf2186 Bug 931747 - Remove workaround for bug 896054 in JS::CanCompileOffThread that was added in bug 897655. r=bhackett 2013-10-29 12:39:53 +01:00
Drew Willcoxon
ea875db229 Bug 925621 - Let startProfiling take a pid so the content process can be profiled. r=sfink 2013-10-24 17:27:36 -07:00
Ed Morley
d54e219b06 Merge mozilla-central and b2g-inbound 2013-10-29 16:34:46 +00:00
Vicamo Yang
3eb62fc290 Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey 2013-10-29 16:12:45 +08:00
Nicholas Nethercote
ba1e9bce90 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Phil Ringnalda
4ebc7b8712 Bug 920463 followup, keep the test from turning permaorange when we merge to aurora and TypedObject gets turned off 2013-10-27 16:19:56 -07:00
Nicholas Nethercote
24df9a4079 Bug 930876 - Speed up per-tab profiling of JS by skipping the expensive string hashing. r=till.
--HG--
extra : rebase_source : e383c16197bed3258b01aa6d5d561d7ac306ea31
2013-10-25 00:00:53 -07:00
Peter Van der Beken
cbf7a0c800 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Dan Gohman
1c618c99e8 Bug 925729 - SpiderMonkey: Fix memset size. r=me 2013-10-26 18:34:27 -07:00
Benjamin Bouvier
c74085ce03 Bug 930990 - Make MTest a consistent Float32 operation. r=sstangl 2013-10-25 18:01:35 +02:00
Dan Gohman
f3e4d90409 Bug 921120 - Fix an uninitialized member variable r=me 2013-10-26 15:41:31 -07:00
Benjamin Peterson
94784af168 No bug - Assorted compiler warning fixes. r=me
--HG--
extra : rebase_source : 82010432d1515bc98383bef4564a46ca15a4a056
2013-10-26 14:00:03 -04:00
Ms2ger
1e9678e427 Revert to changeset 05c31c03a8dd. 2013-10-26 19:53:12 +02:00
Benjamin Peterson
e8fbe7ab64 No bug - Add inline header to avoid warning about missing function. r=me 2013-10-26 13:20:12 -04:00
Benjamin Peterson
91b2a47817 No Bug - Fix equality in debug mode. r=me a=bustage CLOSED TREE 2013-10-26 13:12:21 -04:00
Benjamin Peterson
4896fcb290 No bug - Fix some unused variable warnings. r=me 2013-10-26 12:47:50 -04:00
Tom Schuster
306cb13efc Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Tom Schuster
f4f74b01eb Bug 920294 - Fix DumpJSStack. r=jandem 2013-10-26 18:19:00 +02:00
Jan de Mooij
2c1427f784 Bug 921200 - Mark jit-test testOOMInAutoEnterCompartment.js as slow. r=terrence 2013-10-26 17:20:55 +02:00
Jan de Mooij
5f894602d4 Bug 930437 - Remove unnecessary compilation aborts from Lowering::visitToInt32. r=bhackett 2013-10-26 17:18:16 +02:00
Ms2ger
34f7a76bb1 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Phil Ringnalda
bd70108ddf Bug 929498 - Disable test_asmjs.html on Android for stopping Panda mochitest-7 runs
--HG--
extra : rebase_source : ff1ad8ac91f713ee0329b769e449f7b745f32507
2013-10-25 23:26:36 -07:00
Nicolas B. Pierron
32e5d4a0ec no bug - Restore the main reason of existence of IonMonkey. r=jandem 2013-10-25 21:36:24 -07:00
Phil Ringnalda
ce1c1c8d2e Merge m-c to m-i 2013-10-25 19:52:22 -07:00
Phil Ringnalda
a6c19db8d9 Merge m-i to m-c 2013-10-25 19:08:22 -07:00
Dan Gohman
4f7ba139f0 Bug 926627 - IonMonkey: Remove the code for optimizing away truncates of MToFloat32. r=nbp 2013-10-25 15:58:02 -07:00
Luke Wagner
22a33b0567 Bug 931048 - fix NULL crash on OOM in handleAsmJSWorkload (r=sstangl)
--HG--
extra : rebase_source : c75b32da99f1520333671b6712e2a9ae3fb6716a
2013-10-25 13:33:49 -05:00
Hannes Verschore
ec04cd7c61 Bug 929730 - IonMonkey: Only report message 'offthread logging is impossible' when trying to log, r=jandem 2013-10-25 12:34:14 +02:00
Hannes Verschore
e4ca87d157 Bug 877936 - IonMonkey: Disable compilation and inlining when too many arguments are specified, r=dvander 2013-10-25 12:28:50 +02:00
Nick Alexander
a018f9dabc Bug 925185 - Part 2: Use add_java_jar and restrict JAVA_JAR_TARGETS to moz.build. r=gps 2013-10-24 15:38:22 -07:00
Dan Gohman
3a164341c3 Bug 875656 - IonMonkey: Juggle registers around to reduce the number of temporaries needed by LConcat. r=bhackett 2013-10-24 20:34:54 -07:00
Dan Gohman
6d8d6c7d72 Bug 930702 - IonMonkey: Implement range analysis for boolean constants. r=nbp 2013-10-24 20:34:53 -07:00
Dan Gohman
bcadacbcf3 Bug 930699 - IonMonkey: Refine the range analysis for LMinMaxD's NaN check. r=nbp 2013-10-24 20:34:53 -07:00
Dan Gohman
e49fc78592 Bug 930699 - IonMonkey: Eliminate some unnecessary NaN checks from range analysis checking. r=nbp 2013-10-24 20:34:53 -07:00
Dan Gohman
74a9b86485 Bug 930720 - SpiderMonkey: Fix a harmless off-by-one error. r=njn 2013-10-24 20:34:53 -07:00
Drew Willcoxon
ecc871e336 Back out 712758b52e76 (Bug 925621) for build bustage. r=backout 2013-10-24 17:49:54 -07:00
Drew Willcoxon
b1c4db6409 Bug 925621 - Let startProfiling take a pid so the content process can be profiled. r=sfink 2013-10-24 17:27:36 -07:00
Ryan Jones
dad1b5f7c3 Bug 355930 - Remove unused message JSMSG_NAME_AFTER_FOR_PAREN. r=brendan a=trivial
--HG--
extra : rebase_source : cc80dfc30489c2e5df74e09331b580e776659d18
extra : amend_source : 24b9c1ff05f4043d0b6514152e318fc09458f178
2013-10-24 20:00:47 -04:00
Luke Wagner
c3e7e7cdd6 Bug 929830 - disable spread-call-maxarg.js in all debug builds because it often times out (r=jorendorff,a=philor) 2013-10-24 18:54:49 -05:00
Mike Hommey
2cdfd87106 Bug 930454 - Remove --with-android-platform. r=ted 2013-10-25 08:23:40 +09:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
5a07c82309 Bug 930380 - Fix host source rules when path contains a directory. r=gps 2013-10-25 07:58:14 +09:00
Ralph Giles
96604f9479 Bug 914963 - Remove spurious defined(@array). r=gps
Perl warns against this; defined takes a scalar context so it has
no effect on arrays; the correct thing is just to evaluate the
array directly in the conditional.
2013-10-24 15:32:00 -07:00
Terrence Cole
40bc663533 Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Bill McCloskey
53cf9c614d Bug 924706 - Make sure JSGC_BEGIN callback runs again if we reset an incremental GC (r=jonco) 2013-10-24 14:24:06 -07:00
Brian Hackett
a3ddf94ec5 Bug 921171 - Check for an uncaught exception when finishing off thread parsing of scripts, r=billm. 2013-10-25 15:30:16 -06:00
Brian Hackett
d593a4a32d Bug 928562 - Always eagerly baseline compile inlined scripts during definite properties analysis, r=jandem. 2013-10-25 14:05:02 -06:00
Terrence Cole
0b26fbe65e Bug 930625 - Fix some exact rooting hazards in spidermonkey; r=sfink 2013-10-24 10:01:38 -07:00
Brian Hackett
c7665e00c5 Bug 928542 - Add placeholder CallGetProperty ops in definite properties analysis to avoid folding uses of 'this', r=jandem. 2013-10-24 14:07:48 -06:00
Jeff Walden
0d0352248b Bug 928736 - Remove forward declarations of classes subsequently defined with attributes, because clang doesn't like it when you do this, and add JS:: to the few places that now need it. r=benjamin
--HG--
extra : amend_source : 103b55a665c89b2cc1fddf100b9ec91a8f34efd6
2013-10-24 17:35:36 +01:00
Luke Wagner
2c7243e4c9 Bug 931077 - fix awfy workload0 asm.js perf regression on 32-bit (r=sfink) 2013-10-25 11:58:05 -05:00
Nicholas D. Matsakis
3dafec7769 Bug 920463 - Use correct index when iterating over type objects r=jandem 2013-10-10 16:58:11 -04:00
Luke Wagner
4e2bc889ec Bug 929498 - fix test_asmjs.html mochitest to not run so long on slow machines (r=pending)
--HG--
extra : rebase_source : 61f561551b225697fe16b084d9b30577a3ff46b2
2013-10-22 16:16:09 -05:00
Ed Morley
6356cf459a Backed out changeset 03ffffc0bff4 (bug 929297) 2013-10-25 15:25:32 +01:00
Hannes Verschore
51cab0499c Bug 930989 - IonMonkey: In debug builds always test arguments, r=jandem 2013-10-25 16:21:20 +02:00
Hannes Verschore
e8b65d37e7 Bug 930991 - IonMonkey: Fix bailout during arguments check with TypeSets that contain a combination of SingleObjects and TypedObjects, r=jandem 2013-10-25 16:21:15 +02:00
Nils Maier
f10ce1f358 Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process. 2013-10-23 11:46:00 +01:00
Cykesiopka
b4c6277887 Bug 914270 - Part 3: Disallow in Makefiles. r=joey 2013-10-24 18:53:00 +01:00
Cykesiopka
a3710e5c11 Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Terrence Cole
3c55bc3868 Bug 909526 - Mark GetGlobalJSObject as not able to GC; r=sfink DONTBUILD 2013-08-26 16:41:11 -07:00
Phil Ringnalda
428c2fc5bc Merge m-c to m-i 2013-10-28 17:14:46 -07:00
Phil Ringnalda
1727f3b3f1 Merge m-i to m-c 2013-10-28 16:57:08 -07:00
Lukas Blakk
b28a096524 Merging in version bump NO BUG 2013-10-28 13:37:48 -07:00
Benjamin Bouvier
2b7ce81876 Bug 930993: In out of line truncate, restore registers in the correct order; r=jandem 2013-10-28 19:46:22 +01:00
Brian Hackett
dc6e6422e1 Bug 931496 - Check for compileability when eagerly baseline compiling inlined scripts, r=jandem. 2013-10-28 12:43:39 -06:00
Dan Gohman
2d5322dd13 Bug 931486 - SpiderMonkey: Misc x86 assembler spew fixes. r=sstangl 2013-10-28 10:44:53 -07:00
Dan Gohman
725adf4fa1 Bug 910782 - SpiderMonkey: Use absolute addresses instead of offsets for the interpreter's jump table. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
69719b340e Bug 910782 - SpiderMonkey: Micro-optimize the interpreter's dispatch mechanism. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
690d21f669 Bug 910782 - SpiderMonkey: Reorder top-level contents of js::Interpret for readability. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
9b612de235 Bug 910782 - SpiderMonkey: Reduce indirection in InterpreterActivation. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
a70fd06cda Bug 910782 - SpiderMonkey: Implement indirect-goto-based opcode dispatch. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
fb65c72deb Bug 910782 - SpiderMonkey: Eliminate a copy which is no longer hot. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
46ea6ac163 Bug 910782 - SpiderMonkey: Cleanup interpreter switch cases. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
2af156939e Bug 910782 - SpiderMonkey: Rename BEGIN_CASE to CASE. r=luke 2013-10-28 10:32:49 -07:00
Dan Gohman
df2fa3ffc5 Bug 910782 - SpiderMonkey: Introduce ADVANCE_AND_DISPATCH to simplify a common idiom. r=luke 2013-10-28 10:32:49 -07:00
Dan Gohman
96f54e8bef Bug 910782 - SpiderMonkey: Wrap several gotos in macros. r=luke 2013-10-28 10:32:49 -07:00
Eddy Bruel
67da96fe76 Bug 880330 - Remove the old options API; r=bholley 2013-10-28 12:59:04 +01:00
Eddy Bruel
9806c7003f Bug 880330 - Refactor jsd to use the new options API; r=sphink 2013-10-28 12:52:27 +01:00
Eddy Bruel
1575a13185 Bug 880330 - Refactor xpconnect shell to use the new options API; r=bholley 2013-10-28 12:43:17 +01:00
Jan de Mooij
0ab1e59b59 Bug 931039 - Rename IonRuntime/IonCompartment to JitRuntime/JitCompartment. r=h4writer
--HG--
rename : js/src/jit/IonCompartment.h => js/src/jit/JitCompartment.h
2013-10-28 11:33:01 +01:00
Jon Coppeard
ab70ad4440 Bug 927204 - Fix timout of jit-test basic/bug623860.js by replacing test with equivalent r=terrence 2013-10-28 10:28:29 +00:00
Terrence Cole
bc4152d91f Bug 931218 - Fix an exact rooting hazard in JS_StealArrayBufferContents; r=sfink 2013-10-25 11:57:26 -07:00
Brian Hackett
ae9ca88c9c Bug 927763 - Track all property types for singleton scope objects when Ion compiling scripts using them, r=jandem. 2013-10-28 09:12:56 -06:00
Ted Mielczarek
154a815b9e Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal 2013-10-24 15:06:19 -04:00
Peter Van der Beken
0469885ba7 Bug 931467 - Make QS/DOM binding unwrapping like XPCConvert unwrapping for COWs. r=bholley.
--HG--
extra : rebase_source : bc3590722f310b7dfc9241cfa66eceb63651f5b7
2013-10-27 09:53:30 +01:00
Birunthan Mohanathas
7e5029acef Bug 784739 - Switch from NULL to nullptr in js/; r=ehsan 2013-10-28 10:06:30 -04:00
Nils Maier
1259852737 Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process. r=njn 2013-10-28 04:53:00 +00:00
Benjamin Bouvier
47b6428f02 Bug 930477: Specialize Math.floor for Float32; r=jandem,jonco 2013-10-28 14:24:19 +01:00
Felix S. Klock II
117a8c744d Bug 929280: fix ThrowError invocation arities (r=shu). 2013-10-28 13:56:25 +01:00
Mike Hommey
40d13924dc Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Steve Fink
0791795631 Bug 916677 - Split up the output files and append GC function stack to hazards. Also check against an expected hazard count, r=terrence
DONTBUILD because NPOTB
2013-10-28 14:21:46 -07:00
Gregory Szorc
9ada834d56 Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Jim Blandy
a93a241e61 Bug 932025: Don't use Maybe<AutoCompartment> in OldDebugAPI.cpp, to avoid dumb G++ warnings. r=sfink 2013-10-28 15:45:58 -07:00
Jim Blandy
f5c6c9384a Bug 921586: Avoid 'may be used uninitialized' warnings in StructuredClone.cpp. r=njn
Specifically, it seems that G++ 4.8.1 is unable to tell that the call to
AutoCompartment::~AutoCompartment is protected by the Maybe::constructed
flag.

The "solution" is not to use Maybe here; although Debugger.cpp uses
Maybe<AutoCompartment> everywhere, it gets away with it because it always
actually constructs the Maybe(?!?).

It's a shame to let the compiler's stupidity shape the code, but that
particular warning is valuable elsewhere, so I feel that we shouldn't just
disable the warning.

In file included from /home/jimb/moz/dbg/js/src/jsobjinlines.h:20:0,
                 from /home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:44:
/home/jimb/moz/dbg/js/src/jscompartmentinlines.h: In function ‘bool JS_StructuredClone(JSContext*, JS::Value, JS::Value*, const JSStructuredCloneCallbacks*, void*)’:
/home/jimb/moz/dbg/js/src/jscompartmentinlines.h:45:35: warning: ‘ac.js::AutoCompartment::origin_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     cx_->leaveCompartment(origin_);
                                   ^
/home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:1521:41: note: ‘ac.js::AutoCompartment::origin_’ was declared here
         mozilla::Maybe<AutoCompartment> ac;
                                         ^
In file included from /home/jimb/moz/dbg/js/src/jsobjinlines.h:20:0,
                 from /home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:44:
/home/jimb/moz/dbg/js/src/jscompartmentinlines.h:45:35: warning: ‘ac.js::AutoCompartment::cx_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     cx_->leaveCompartment(origin_);
                                   ^
/home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:1521:41: note: ‘ac.js::AutoCompartment::cx_’ was declared here
         mozilla::Maybe<AutoCompartment> ac;
                                         ^
2013-10-28 12:37:17 -07:00
Jim Blandy
04e2c25790 Bug 892643: Make the JSContext accessors GetRuntime, GetContextCompartment, and GetContextZone available for inlining by non-friend code. r=jcoppeard 2013-10-28 12:33:39 -07:00
Luke Wagner
7894ec9743 Add #ifdef JS_ION to fix --disable-ion bustage (no bug, r=me) 2013-10-24 10:39:07 -05:00