Commit Graph

23978 Commits

Author SHA1 Message Date
Terrence Cole
861915c0a6 Bug 799248 - Remove the SkipRoot in NewShortString; r=billm
--HG--
extra : rebase_source : f73996e2246b2b75df01189ae057dc0332ba41c9
2013-01-15 13:51:56 -08:00
Jon Coppeard
a9926ea468 Bug 831291 - GC: jsapi test Debugger fails under rooting analysis r=billm
--HG--
extra : rebase_source : 5ee77ba14d8e9e68db2c16ba8767021f9ee959b5
2013-01-16 18:42:04 +00:00
Jon Coppeard
27e3f8ac0c Bug 831216 - GC: jsapi test GCFinalizeCallback fails under rooting analysis r=billm
--HG--
extra : rebase_source : a7d08a2cbf6d7046b694c06ad4ac54bb9dd93d7c
2013-01-16 18:42:04 +00:00
Jon Coppeard
054c4c0190 Bug 831370 - Rename IsAddressableGCThing to GetAddressableGCThing, now that it returns void* r=terrence
--HG--
extra : rebase_source : 9db61816fedf1e32d80814cbb231ec80f9904db5
2013-01-16 18:40:27 +00:00
Irving Reid
5db7b2658a Bug 831459: use RawScript in JMChunkInfo::Convert() to prevent UnrootedScript construction in signal handler r=billm 2013-01-16 23:10:46 -05:00
Jeff Walden
7e61fab8fa Fix some used-but-not-defined warnings, and some format-string warnings about needing to cast T* to void* for the %p specifier. No bug, r=themaid 2013-01-16 19:47:34 -08:00
Bobby Holley
1d5c9aeac3 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
85b3a83b16 Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
Christian Holler
2a7c1fade5 Bug 829598 - Make js/src/jit-test/tests/gc/bug-820186.js a slow test. r=jandem, DONTBUILD 2013-01-16 16:14:08 +01:00
Jon Coppeard
c67cff5ead Bug 831205 - Fix GCC warning "comma at end of enumerator list". r=billm DONTBUILD 2013-01-16 17:24:28 -08:00
Jeff Walden
13ee123f23 Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
--HG--
extra : rebase_source : 5fdfd130f529e1dfbc9ec48ecc9e83186c844c39
2013-01-16 17:01:52 -08:00
Jeff Walden
f9dab52ff2 Add a JSObject::addDataProperty overload that takes Handle<PropertyName*>, to preserve the name/element distinction further when possible, anticipating future property-splitting work. No bug, r=sparky
--HG--
extra : rebase_source : 2fe4e9819bf8ab23b163889411b5d1fa74d59597
2012-12-27 11:20:22 -06:00
Jeff Walden
950d67e8b3 Bug 830871 - Remove JS_FRIEND_API from js_GetClassPrototype as it isn't (and shouldn't be) used outside SpiderMonkey. r=jorendorff
--HG--
extra : rebase_source : aefa8e56c479bec12b9237e1479c34bbf2c88d19
2013-01-11 11:59:50 -08:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Andrew McCreight
30ded1b75a Bug 829430 - Use the right check for if we're GCing. r=billm 2013-01-15 09:10:36 -08:00
Andrew McCreight
1147d07eb7 Bug 829798 - Add dummy PreserveWrapper to JS shell. r=billm 2013-01-15 10:14:12 -08:00
Ehsan Akhgari
d5919c8e4d Merge mozilla-central into mozilla-inbound 2013-01-16 17:32:13 -05:00
Brian Hackett
190d56fcd0 Bug 830042 - Tolerate objects/strings with a null payload when marking VM stack, r=billm. 2013-01-16 14:48:10 -07:00
Gregory Szorc
26636b8d65 Merge mozilla-central into build-system 2013-01-16 12:37:21 -08:00
Gregory Szorc
ea0dd7348c Bug 784841 - Part 5: Integrate virtualenv into SpiderMonkey configure; r=glandium
Python and virtualenv logic is now contained within an m4 file.
SpiderMonkey now requires the mozilla-central virtualenv environment to
build. If SpiderMonkey configure is invoked by mozilla-central's
configure, the virtualenv will be reused. If SpiderMonkey configure is
invoked in isolation, it will search for the virtualenv in the
mozilla-central root.
2013-01-16 00:21:06 -08:00
Gregory Szorc
3d39dd9a1a Bug 784841 - Part 4: Use os.path.relpath in ConfigStatus.py; r=glandium
We now require Python 2.7 and os.path.relpath is always available.
2013-01-15 22:22:56 -08:00
Hannes Verschore
45c1a9e4fe Bug 827821: IonMonkey: Create |this| on callee side when failing on caller side, r=jandem 2013-01-16 11:48:15 +01:00
Jon Coppeard
beae029da6 Bug 830839 - Make rooting analysis ignore atom rooting r=terrence
--HG--
extra : rebase_source : 61621402a1cfdf3fa14ae186ae68495903e41f1a
2013-01-16 10:12:37 +00:00
Brian Hackett
87f50ee39f Bug 831040 - Disallow GCs during error reporting for allocation and string/inflate bad inputs, r=terrence. 2013-01-16 14:03:59 -07:00
Brendan Eich
19060dfc96 Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases (r=jandem). 2013-01-15 18:17:50 -08:00
Steve Fink
3e72e50bdb Bug 822041 - Temporary diagnostic for tracking down intermittent failures in JS profiling. r=jorendorff
--HG--
extra : rebase_source : e3465205c2f862654155243f71604c6ba29498c3
2013-01-08 21:39:54 -08:00
Sean Stangl
9af2c22d0e Bug 829758 - use MatchOnly mode for str_search(). r=dvander 2013-01-15 15:35:25 -08:00
Brian Hackett
4dc82d28f6 Bug 830967 - Don't skip sparse elements in 'this' when optimizing Array.concat, r=billm. 2013-01-15 15:03:44 -07:00
Nicolas B. Pierron
e608fa0ad2 Bug 818023 - fun_getProperty: Use non-buitin script iterator. r=waldo 2013-01-15 13:36:14 -08:00
Terrence Cole
36fc42b28a Bug 638219 - Followup to put back the execute bit on jit_tests.py; r=djc
--HG--
extra : rebase_source : 8c8c86a62746fe1ce37a31668b5fbce5b1dd472e
2013-01-15 11:59:40 -08:00
Shu-yu Guo
599ee44632 Bug 830269 - Thread the callee typeset through instead of incorrectly recomputing (r=dvander) 2013-01-15 11:12:48 -08:00
Boris Zbarsky
94b385adfa Bug 828139. Expose a friend API for AppendUnique. r=waldo 2013-01-15 14:04:24 -05:00
Mats Palmgren
0ae685efa9 Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan 2013-01-15 13:22:03 +01:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Jan de Mooij
553bca6cb2 Bug 830369 - Refactor ScriptDebugPrologue and ScriptDebugEpilogue to use AbstractFramePtr. r=djvj
--HG--
extra : rebase_source : 86e1709f8b46556152001f890caa7baf2e2bddb0
2013-01-15 09:29:23 +01:00
Sean Stangl
79665a28e9 Bug 820124 - Follow-up fix: handle prebarrier on raw pointer, fixing a CLOSED TREE. 2013-01-14 17:44:45 -08:00
Ehsan Akhgari
f08e1d98e8 Bug 830458 follow-up: mirror the changes in the js copy to unbreak builds, landed on a CLOSED TREE 2013-01-14 20:28:41 -05:00
Sean Stangl
c506c75602 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2013-01-11 17:19:53 -08:00
Sean Stangl
110f48c384 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2013-01-11 17:19:31 -08:00
Dirkjan Ochtman
9a6ac1be93 Bug 638219: move JIT testing code closer to other JS test code; r=terrence
--HG--
rename : js/src/jit-test/jit_test.py => js/src/tests/lib/jittests.py
extra : rebase_source : 361c4b509ba263b406c8eb1ee6f3ff57462fc509
2013-01-14 21:16:44 +01:00
Jon Coppeard
9f7276bec6 Bug 830332 - jittest gc/incremental-state.js fails if rooting analysis enabled r=billm
--HG--
extra : rebase_source : f4abcc5eb03229f9725181887b3d239acccd2392
2013-01-15 17:57:30 +00:00
Terrence Cole
b97ee61fd5 Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
--HG--
extra : rebase_source : 9d239c525e8b0c04a63770d4ed732c9c6da54a2c
2012-11-09 09:45:25 -08:00
Brian Hackett
b2671ac3f3 Bug 830049 - Don't crash when trying to attach caches for property sets on non-native objects, r=dvander. 2013-01-14 16:24:27 -07:00
Brian Hackett
0f57fb01bb Bug 829795 - Tolerate statically known dense arrays during JM compilation, r=dvander. 2013-01-14 16:19:37 -07:00
Brian Hackett
295526861d Bug 829813 - Cleanup API for marking/testing implicit properties, r=billm. 2013-01-14 16:15:30 -07:00
Brian Hackett
fd50372adf Bug 829175 - Allow reentering JM code if Ion was compiled for a different OSR point, r=dvander. 2013-01-14 16:08:15 -07:00
Brian Hackett
358142b465 Bug 829813 - Add more checks for dense element lookup results, r=billmm. 2013-01-14 14:46:32 -07:00
Jan de Mooij
55928183d7 Bug 829554 follow-up - Rename TaggedFramePtr to AbstractFramePtr, fix some GCC warnings. r=luke 2013-01-14 21:50:30 +01:00
Sean Stangl
eb46e78ff2 Bug 826581 - Follow-up fix. r=dvander 2013-01-14 12:47:20 -08:00
Kannan Vijayan
803b6dcc60 Bug 829352 - Add orPtr(Register, Register) variant to IonMacroAssembler. r=mjrosenb on irc 2013-01-14 15:21:06 -05:00
Jon Coppeard
07eb72d5f2 Bug 826673 - GC: Only finish sweeping the current compartment group on reset r=billm
--HG--
extra : rebase_source : ccf87362e671c9bd90109816444f5b293b17d997
2012-12-13 14:28:13 +00:00
Jon Coppeard
fb10aad1e7 Bug 826650 - GC: Recalculation of GC fullness in EndSweepPhase broken r=billm
--HG--
extra : rebase_source : cac1534972ae56c5edeb2635dfd9c227209f69d9
2013-01-03 18:34:35 +00:00
Kannan Vijayan
eb2bc2130c Bug 807498 - Do type monitoring on disabled GetElem ICs. r=sstangl 2013-01-14 11:20:23 -05:00
Kartikaya Gupta
3518fd0948 Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Ehsan Akhgari
c58996466d Bug 818224 - Show all chrome script errors originated from private windows; r=bholley 2013-01-14 09:17:37 -05:00
Marty Rosenberg
92fc448e2c Bug 825006: There are some more cases where we can convert double arithmetic to integer arithmetic. (r=nbp) 2013-01-13 02:48:05 -05:00
Jan de Mooij
f152db2f7b Bug 829579 - Rewrite AllFramesIter to iterate Ion frames too. r=luke
--HG--
extra : rebase_source : 73b9cf6d2ab9b1a167cc6847fcc114045f796fc5
2013-01-12 14:26:52 +01:00
Jan de Mooij
cb8ca35c07 Bug 829554 - Abstract ScopeIter/DebugScopeProxy frame access. r=luke
--HG--
extra : rebase_source : 18cc0baea68fb9b91b32c54bedcac6eb805449e3
2013-01-12 10:40:46 +01:00
Christian Holler
b7389fea06 No bug - Remove stray debug message from jit_test.py to avoid confusion. r=me, DONTBUILD 2013-01-12 14:15:56 +01:00
Josh Matthews
e7365d05a5 Backed out changeset 78960509f7c3 (bug 820124) 2013-01-12 01:57:13 +01:00
Josh Matthews
0c765e03f6 Backed out changeset b4bd9455a5a3 (bug 820124) 2013-01-12 01:57:11 +01:00
Christian Holler
6373ca599f Bug 829787 - Fix a failure with jit-test --show-failed-cmd option. r=jorendorff, DONTBUILD 2013-01-11 23:48:12 +01:00
Jason Orendorff
4bdff069b2 Fix a compiler warning in DefinePropertyOnArray. No bug#, r=billm on IRC. 2013-01-11 15:36:51 -06:00
Sean Stangl
5e42313734 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2013-01-02 14:11:14 -08:00
Sean Stangl
d3bfbb8e67 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2013-01-02 14:10:29 -08:00
Shu-yu Guo
021fedc58a Bug 826148 - Part 4: Ion IC (r=dvander) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
60ae5fb743 Bug 826148 - Part 3: Jaeger IC (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
1521de42c3 Bug 826148 - Part 2: TI changes (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
46068881b8 Bug 826148 - Part 1: JSFunction flag and interpreter changes (r=luke) 2013-01-10 13:04:04 -08:00
Kannan Vijayan
840d2d2ee8 Bug 829352 - Add IonMacroAssembler methods for generating addPtr, subPtr, xorPtr, and addPtr variants. r=nbp 2013-01-11 12:53:58 -05:00
Ed Morley
8f6e708c9b Backout 48b58294a6d5 (bug 829352) for breaking the Android build on a CLOSED TREE 2013-01-11 17:36:06 +00:00
Ed Morley
f1b34ebd05 Backout 67f60ef5c92f (bug 818023) for causing bug 829512 2013-01-11 17:07:34 +00:00
Kannan Vijayan
fbdee0320c Bug 829352 - Add IonMacroAssembler methods for generating addPtr, subPtr, xorPtr, and addPtr variants. 2013-01-11 12:02:37 -05:00
Kannan Vijayan
9891822720 Bug 807498 - Clear and disable ion ICs when they get too big. r=dvander 2013-01-11 11:44:06 -05:00
Tom Schuster
96062b56ec Bug 829087 - Handlify jsids in IonCache. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
3934f57a89 Bug 828977 - Root JSObject in AutoCycleDetector. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
e869d326ff Bug 829294 - Some rooting for ClonedBlockScopeObject in DebugScopeProxy. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
16bb2f91dd Bug 829230 - Some rooting for JSCompartment::wrap 2013-01-11 16:47:07 +01:00
Ms2ger
00396c39c9 Merge m-c to m-i. 2013-01-11 15:11:42 +01:00
Ms2ger
fea92580b3 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Jan de Mooij
875ed3d972 Bug 827258 - Refactor jsdbg2 to use StackIter. r=luke 2013-01-11 14:29:38 +01:00
Ms2ger
7dd98df837 Bug 828567 - Part b: Stop passing CallReceiver around where we only need call.rval() in jsdate.cpp; r=terrence 2013-01-11 09:43:01 +01:00
Ms2ger
4ef2f13e8d Bug 828567 - Part a: Exact rooting for strings in jsdate.cpp; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
b05f0f7ef8 Bug 828494 - Part b: Pass MutableHandleValue to NewPropertyDescriptorObject; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
01f1ef559a Bug 828494 - Part a: Pass MutableHandleValue to GetOwnPropertyDescriptor; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
8f1392bb58 Bug 828595 - Pass a HandleId to js_GetPropertyHelperInline; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
c6d60263ed Bug 828293 - Root js_NativeSet's vp argument; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
549bbd5a67 Bug 828248 - Part f: Pass MutableHandleId to ValueIsSpecial; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
523bd8b0c8 Bug 828248 - Part e: Pass MutableHandleId to InternNonIntElementId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
420b438574 Bug 828248 - Part d: Pass MutableHandleId to FetchElementId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
4312f71e86 Bug 828248 - Part c: Pass MutableHandleId to Shape::getUserId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
031240dad6 Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
7748e522e8 Bug 828248 - Part a: Pass MutableHandleId to ValueToId and DoubleIndexToId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
dbcd712de9 Bug 828244 - Part f: Pass MutableHandleValue to Debugger::{new,receive}CompletionValue; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
af7cb6a88b Bug 828244 - Part e: Pass MutableHandleValue to DebuggerGenericEval; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
8da5092eca Bug 828244 - Part d: Pass MutableHandleValue to Debugger::wrapEnvironment; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
a8190737c0 Bug 828244 - Part c: Pass MutableHandleValue to Debugger::{wrap,unwrap}DebuggeeValue and add handleAt methods to AutoArrayRooter and AutoValueArray; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
1371edcb3c Bug 828244 - Part b: Pass MutableHandleValue to Debugger::resultToCompletion; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
1b3f955cca Bug 828244 - Part a: Pass MutableHandleId to ValueToIdentifier; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
7dbb0eec52 Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00