Commit Graph

24026 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
ec2a760f0f Backed out 4 changesets (bug 826148) because of test failures
Backed out changeset e520c411aed6 (bug 826148)
Backed out changeset 1db5b4e59649 (bug 826148)
Backed out changeset 57bf735f3e18 (bug 826148)
Backed out changeset b659dc17b164 (bug 826148)
2013-01-11 00:05:36 -05:00
Shu-yu Guo
0136205e15 Bug 826148 - Part 4: Ion IC (r=dvander) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
3db3502bed Bug 826148 - Part 3: Jaeger IC (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
c4cc115fe3 Bug 826148 - Part 2: TI changes (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
cca4b93566 Bug 826148 - Part 1: JSFunction flag and interpreter changes (r=luke) 2013-01-10 13:04:04 -08:00
Terrence Cole
6ccb6c07c8 Bug 829372 - Don't clobber non-pointer-sized fields in root analysis; r=sfink 2013-01-10 17:46:06 -08:00
Christian Holler
92484c30cf Bug 827960 - Allow jit_test.py to run tests in parallel. r=terrence 2013-01-11 02:25:15 +01:00
Marty Rosenberg
18452c67d0 When merging add nodes, a truncated node and an untraced node should be untruncated (fix oranges, no bug, r=dvander) 2013-01-10 20:21:26 -05:00
Nicolas B. Pierron
d150d2964c Bug 818023 - fun_getProperty: Use non-buitin script iterator. r=waldo 2013-01-10 16:57:51 -08:00
Brian Hackett
e5c1a5813f Bug 827490 - Allow native objects to have both slots and dense elements, rm dense/slow array distinction, r=billm, dvander. 2013-01-10 17:53:11 -07:00
Andrea Marchesini
5f9aca5aed Bug 827816 - Wrong timezone offset for UK and Ireland as they had year-round DST from 1969-1971, r=brendan, r=gal 2013-01-11 00:24:34 +01:00
Marty Rosenberg
edd362f2ce Bug 829277: Limit the number of instructions that the truncation optimization can work on. (r=dvander) 2013-01-10 18:06:05 -05:00
Brian Hackett
e3fa375068 Backout 9095b0b49905 (bug 829175) for v8bench regressions. 2013-01-10 15:32:49 -07:00
Nicolas B. Pierron
e3c93cb336 Bug 806206 - InlineFrameIterator: provide default scope chain value if unused. r=dvander 2013-01-09 22:29:43 -08:00
Nicholas Nethercote
490e3817c6 Bug 824886 - Remove dead ThreadPoolWorker::threadPool_ field. r=nmatsakis.
--HG--
extra : rebase_source : 704c716dba9bfe186096dfa231267aeba0b14a5a
2013-01-07 19:21:43 -08:00
Boris Zbarsky
80f0b5c645 Back out revision f18ed13abcea (bug 827960) for turning Windows debug builds purple. They bruise easily! 2013-01-09 22:01:12 -05:00
Terrence Cole
6b1d5fd009 Bug 802318 - Remove the invalid SkipRoot in AtomizeInline; r=billm
This re-organizes AtomizeInline to separate the TakeOwnership and Copy cases.

--HG--
extra : rebase_source : 2045f8503e7ff0419f992e4268683d1b63d5f094
2013-01-07 15:32:01 -08:00
Brian Hackett
f544600451 Bug 828648 - Add system() function to JS shell, r=billm 2013-01-09 17:54:19 -07:00
Terrence Cole
5aa65395f8 Bug 828690 - Return Unrooted from StringBuffer::finish; r=billm
--HG--
extra : rebase_source : 732d8981d2bd19ea50d3db4477cff615068070dc
2013-01-03 17:21:12 -08:00
Christian Holler
c4c410b1c7 Bug 827960 - Allow jit_test.py to run tests in parallel. r=terrence 2013-01-10 01:33:53 +01:00
Ed Morley
3dc53cf762 Backout c3268996719e (bug 828607) for bustage on a CLOSED TREE 2013-01-10 00:11:04 +00:00
Terrence Cole
a669dc2649 Bug 828607 - Fix exact rooting in jsproxy; r=evilpie
--HG--
rename : extensions/cookie/test/frame_clear_browser_data.html => dom/tests/mochitest/localstorage/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_cleardata_permissions.html => extensions/cookie/test/test_app_uninstall_permissions.html
rename : services/crypto/cryptoComponents.manifest => services/sync/SyncComponents.manifest
rename : toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html => toolkit/components/passwordmgr/test/test_privbrowsing.html
extra : rebase_source : 60c8a3c9390572c40c817d4d6e1e21056920e046
2013-01-08 10:27:50 -08:00
Andrea Marchesini
3a141ce4b7 Bug 827816 - Follow up: whitespaces, No empty { }, rs=brendan, r=Waldo 2013-01-11 00:54:45 +01:00
Brian Hackett
2b4c7d1670 Bug 829175 - Allow reentering JM code if Ion was compiled for a different OSR point, r=dvander. 2013-01-10 14:18:40 -07:00
Andrew McCreight
0d5e9c008f Bug 777385 - Support (some) Paris bindings objects as weak map keys. r=peterv
This adds support for many kinds of Paris bindings objects as weak map keys.
This patch supports nsISupports objects as well as non-cycle-collected
non-nsISupports objects. What is needed for support is to preserve any wrapper,
if the object is wrapper cached. In other cases, we don't need to do anything.
2012-11-09 10:59:02 -08:00
Terrence Cole
8a823b62bf Bug 828607 - Fix exact rooting in jsproxy; r=evilpie 2013-01-08 10:27:50 -08:00
Jan de Mooij
4f9a9ed987 Bug 827872 - Move prebarrier offsets from IonScript to IonCode. r=dvander
--HG--
extra : rebase_source : 9388b797d94cc58329f2668c113c6f51934bfd6f
2013-01-10 17:21:42 +01:00
Ed Morley
f6396f7a10 Bug 816033 - Disable ecma_5/extensions/JSON-string-replacer-overflow.js on Windows opt builds for too many intermittent failures 2013-01-10 14:59:27 +00:00
Tom Schuster
547bfc79e8 Bug 828020 - exactly root StaticScopeIter. r=terrence 2013-01-10 13:31:40 +01:00
Brian Hackett
616cd4ce48 Bug 822858. r=billm 2013-01-08 16:51:43 -08:00
Bill McCloskey
7011fbc280 Bug 822858 - Fix printing of lazy protos in type inference spew. r=bhackett 2013-01-08 16:49:28 -08:00
Jeff Muizelaar
18ec052842 Bug 827995. Avoid spending a lot of time in sprintf while assembling for ARM. r=bhackett
During a profile of JS execution on B2G we're spending 10% of the time in
__vfprintf. At least some of this is in the arm assembler. Since we're not
actually using the strings we're printing we'd be better off not printing them.

--HG--
extra : rebase_source : 9645ab4e576a103485de181831aab3abab676552
2013-01-08 17:30:22 -05:00
Ehsan Akhgari
c4220d71b4 Backed out changeset ae69e98751c5 (bug 827995) because of build failures
--HG--
extra : rebase_source : a63ee68401902626bedf29b8fbeae3889f6691bd
2013-01-08 17:22:33 -05:00
Jeff Muizelaar
a9533cede6 Bug 827995. Avoid spending a lot of time in sprintf while assembling for ARM. r=bhackett
During a profile of JS execution on B@G we're spending 10% of the time in
__vfprintf.  At least some of this is in the arm assembler. Since we're not
actually using the strings we're printing we'd be better off not printing them.

--HG--
extra : rebase_source : e92e54fced0ba662a44de5524621cbfeb69bc8f9
2013-01-08 16:52:53 -05:00
Eric Faust
d4488d3043 Bug 827965 - Utilize GetTempRegForIntArg() for callNative calls. (r=sstangl) 2013-01-08 16:50:04 -05:00
Brian Hackett
5c20f19dae Bug 820583 - Use a larger script size limit when compiling off thread, r=dvander. 2013-01-08 13:42:03 -07:00
Brian Hackett
2cf09a6639 Bug 826734 - Improve backtracking allocator when spilling around calls, r=jandem. 2013-01-08 13:03:24 -07:00
Ehsan Akhgari
f33d8a82ee Merge mozilla-central into mozilla-inbound 2013-01-08 14:59:20 -05:00
Terrence Cole
f4a0271b64 Bug 827929 - Remove SkipRoot in Object::toSource; r=billm 2013-01-08 10:52:44 -08:00
Olli Pettay
f2c321d01d Bug 827471 - Improve CanSkipWrappedJS, r=mccr8 2013-01-08 19:40:35 +02:00
Ben Turner
9436be9267 Bug 827274 - 'crash in [@ anonymous namespace::CTypesActivityCallback(JSContext*, js::CTypesActivityType)], add ctypes closure support to new worker memory reporting mechanism. r=khuey+mrbkap. 2013-01-08 13:57:44 +01:00
Andrew McCreight
ecb75d0a95 Bug 690970, part 3: fix black-gray edges in weak containers at start of CC. r=billm 2013-01-08 10:36:51 -08:00
Andrew McCreight
27baaa4757 Bug 690970, part 2: unmark gray read barrier for watchpoints. r=billm 2013-01-08 10:36:51 -08:00
Andrew McCreight
4e9b10a43b Bug 690970, part 1: unmark gray read barrier for weak maps. r=billm 2013-01-08 10:36:51 -08:00
Jason Orendorff
725199e6e5 Fix a dozen JS tests that were broken when using the command-line test harness (see bug 804834 comment 24 and 25). No bug#, r=evilpie on IRC.
--HG--
extra : rebase_source : 6ea3201dbd5ce97607b1d6847ee50d609dc3a91f
2013-01-08 10:18:29 -06:00
Jan de Mooij
a95fb104ab Bug 827659 - Ensure |this| is an object when inlining getter/setter calls. r=bhackett 2013-01-08 19:13:19 +01:00
Benjamin Peterson
3e9ca21c7d Bug 825545 followup - Fix building threadless shell. r=me 2013-01-07 19:52:40 -06:00
Terrence Cole
1ce979e94c Bug 827539 - Remove unnecessary SkipRoots in the frontend; r=billm 2013-01-07 17:23:08 -08:00
Terrence Cole
ef02e1ee4e Bug 790039 - Fix some more rooting assertions; r=terrence,sfink 2013-01-02 15:56:20 -08:00
Benjamin Peterson
62a258b7ac Bug 825545 followup - Remove extra comment. r=jorendorff 2013-01-07 18:40:12 -06:00
Benjamin Peterson
0b70d67e9e Bug 825545 - Make the ScriptSource API work even if it is being compressed. r=jorendorff 2013-01-07 18:38:38 -06:00
Justin Lebar
3876bebf56 Bug 821502 - Disable -fstrict-aliasing in JS for GCC 4.4 and earlier on Linux and Android. r=glandium,terrence 2013-01-08 01:19:25 +01:00