Commit Graph

24062 Commits

Author SHA1 Message Date
Ehsan Akhgari
0ac1915364 Merge mozilla-central into mozilla-inbound 2013-01-16 17:32:13 -05:00
Brian Hackett
636944388c 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
5607e0ec9e Merge mozilla-central into build-system 2013-01-16 12:37:21 -08:00
Gregory Szorc
c96759064d 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
4563ba02a8 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
9e286ca025 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
42021a3050 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
91b11a04a3 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
ac563b577c Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases (r=jandem). 2013-01-15 18:17:50 -08:00
Steve Fink
1c128ab866 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
f184579a30 Bug 829758 - use MatchOnly mode for str_search(). r=dvander 2013-01-15 15:35:25 -08:00
Brian Hackett
d7567c2f79 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
ba1f6b5a3b Bug 818023 - fun_getProperty: Use non-buitin script iterator. r=waldo 2013-01-15 13:36:14 -08:00
Terrence Cole
551807c983 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
0d2f52bb67 Bug 830269 - Thread the callee typeset through instead of incorrectly recomputing (r=dvander) 2013-01-15 11:12:48 -08:00
Boris Zbarsky
cf92b8ecdd Bug 828139. Expose a friend API for AppendUnique. r=waldo 2013-01-15 14:04:24 -05:00
Mats Palmgren
94ede408a1 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
6c53161814 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
c806b39b42 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
00e1f51f1d Bug 820124 - Follow-up fix: handle prebarrier on raw pointer, fixing a CLOSED TREE. 2013-01-14 17:44:45 -08:00
Ehsan Akhgari
5d3c9b630e 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
b8c12fbc57 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2013-01-11 17:19:53 -08:00
Sean Stangl
51920c3c44 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2013-01-11 17:19:31 -08:00
Dirkjan Ochtman
6c14a3fe11 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
9fe31e9b56 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
912e1ad2ed 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
2659046f34 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
9af439c4d7 Bug 829795 - Tolerate statically known dense arrays during JM compilation, r=dvander. 2013-01-14 16:19:37 -07:00
Brian Hackett
f46a1207b1 Bug 829813 - Cleanup API for marking/testing implicit properties, r=billm. 2013-01-14 16:15:30 -07:00
Brian Hackett
412a34b9af 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
65fbbd8ea7 Bug 829813 - Add more checks for dense element lookup results, r=billmm. 2013-01-14 14:46:32 -07:00
Jan de Mooij
f94e38778e Bug 829554 follow-up - Rename TaggedFramePtr to AbstractFramePtr, fix some GCC warnings. r=luke 2013-01-14 21:50:30 +01:00
Sean Stangl
43e027abe1 Bug 826581 - Follow-up fix. r=dvander 2013-01-14 12:47:20 -08:00
Kannan Vijayan
53492a52ce Bug 829352 - Add orPtr(Register, Register) variant to IonMacroAssembler. r=mjrosenb on irc 2013-01-14 15:21:06 -05:00
Jon Coppeard
2c4cbc65a3 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
73d1590a96 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
9d58b2fcc6 Bug 807498 - Do type monitoring on disabled GetElem ICs. r=sstangl 2013-01-14 11:20:23 -05:00
Kartikaya Gupta
d703f2d924 Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Ehsan Akhgari
d843a25f8e Bug 818224 - Show all chrome script errors originated from private windows; r=bholley 2013-01-14 09:17:37 -05:00
Marty Rosenberg
2ace813fb4 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
3623056142 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
3f4c90b945 Bug 829554 - Abstract ScopeIter/DebugScopeProxy frame access. r=luke
--HG--
extra : rebase_source : 18cc0baea68fb9b91b32c54bedcac6eb805449e3
2013-01-12 10:40:46 +01:00
Christian Holler
cf1257b075 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
aa441c5576 Backed out changeset 78960509f7c3 (bug 820124) 2013-01-12 01:57:13 +01:00
Josh Matthews
bc385539a9 Backed out changeset b4bd9455a5a3 (bug 820124) 2013-01-12 01:57:11 +01:00
Christian Holler
b9148f0521 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
b7b398320a Fix a compiler warning in DefinePropertyOnArray. No bug#, r=billm on IRC. 2013-01-11 15:36:51 -06:00
Sean Stangl
fb4cf30fb3 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2013-01-02 14:11:14 -08:00
Sean Stangl
b74be544e4 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2013-01-02 14:10:29 -08:00
Shu-yu Guo
9c86a9663a Bug 826148 - Part 4: Ion IC (r=dvander) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
75d8cc3aed Bug 826148 - Part 3: Jaeger IC (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
6cd8e01d43 Bug 826148 - Part 2: TI changes (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
a6c1c544da Bug 826148 - Part 1: JSFunction flag and interpreter changes (r=luke) 2013-01-10 13:04:04 -08:00
Kannan Vijayan
138b770127 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
e12c8ca8ca Backout 48b58294a6d5 (bug 829352) for breaking the Android build on a CLOSED TREE 2013-01-11 17:36:06 +00:00
Ed Morley
ab4531484f Backout 67f60ef5c92f (bug 818023) for causing bug 829512 2013-01-11 17:07:34 +00:00
Kannan Vijayan
4746da370e Bug 829352 - Add IonMacroAssembler methods for generating addPtr, subPtr, xorPtr, and addPtr variants. 2013-01-11 12:02:37 -05:00
Kannan Vijayan
f39ddb3f3d Bug 807498 - Clear and disable ion ICs when they get too big. r=dvander 2013-01-11 11:44:06 -05:00
Tom Schuster
b01520d43e Bug 829087 - Handlify jsids in IonCache. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
28c9a8c22a Bug 828977 - Root JSObject in AutoCycleDetector. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
94179c200e Bug 829294 - Some rooting for ClonedBlockScopeObject in DebugScopeProxy. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
2161027e51 Bug 829230 - Some rooting for JSCompartment::wrap 2013-01-11 16:47:07 +01:00
Ms2ger
68bbcd67a0 Merge m-c to m-i. 2013-01-11 15:11:42 +01:00
Ms2ger
3c26b8b8e4 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Jan de Mooij
1cfecf6002 Bug 827258 - Refactor jsdbg2 to use StackIter. r=luke 2013-01-11 14:29:38 +01:00
Ms2ger
44f27a810b 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
b1374be64f Bug 828567 - Part a: Exact rooting for strings in jsdate.cpp; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
1e0c328bba Bug 828494 - Part b: Pass MutableHandleValue to NewPropertyDescriptorObject; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
3c87f88abb Bug 828494 - Part a: Pass MutableHandleValue to GetOwnPropertyDescriptor; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
e874af204b Bug 828595 - Pass a HandleId to js_GetPropertyHelperInline; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
944981563a Bug 828293 - Root js_NativeSet's vp argument; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
32e7ce5f21 Bug 828248 - Part f: Pass MutableHandleId to ValueIsSpecial; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
3c86728564 Bug 828248 - Part e: Pass MutableHandleId to InternNonIntElementId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
f771b30878 Bug 828248 - Part d: Pass MutableHandleId to FetchElementId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
276ebe1a95 Bug 828248 - Part c: Pass MutableHandleId to Shape::getUserId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
fa5a9dc6c2 Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
5bc5d5e244 Bug 828248 - Part a: Pass MutableHandleId to ValueToId and DoubleIndexToId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
1f17c85576 Bug 828244 - Part f: Pass MutableHandleValue to Debugger::{new,receive}CompletionValue; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
9cd4a25ac0 Bug 828244 - Part e: Pass MutableHandleValue to DebuggerGenericEval; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
43a2874046 Bug 828244 - Part d: Pass MutableHandleValue to Debugger::wrapEnvironment; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
83a90ff7f1 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
fc6705e1af Bug 828244 - Part b: Pass MutableHandleValue to Debugger::resultToCompletion; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
475b80c39b Bug 828244 - Part a: Pass MutableHandleId to ValueToIdentifier; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
effe119b3d Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00
Ehsan Akhgari
ee83e40c4c 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
7fa45bab0c Bug 826148 - Part 4: Ion IC (r=dvander) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
f6bc81a09a Bug 826148 - Part 3: Jaeger IC (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
f3581bf0f7 Bug 826148 - Part 2: TI changes (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
99db0d9ca5 Bug 826148 - Part 1: JSFunction flag and interpreter changes (r=luke) 2013-01-10 13:04:04 -08:00
Terrence Cole
89937cd2d5 Bug 829372 - Don't clobber non-pointer-sized fields in root analysis; r=sfink 2013-01-10 17:46:06 -08:00
Christian Holler
303292da3b Bug 827960 - Allow jit_test.py to run tests in parallel. r=terrence 2013-01-11 02:25:15 +01:00
Marty Rosenberg
7f7b67b696 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
4c09e4cd69 Bug 818023 - fun_getProperty: Use non-buitin script iterator. r=waldo 2013-01-10 16:57:51 -08:00
Brian Hackett
6077bab2f1 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
151a6f1525 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
d5ec51ede2 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
b487314181 Backout 9095b0b49905 (bug 829175) for v8bench regressions. 2013-01-10 15:32:49 -07:00
Nicolas B. Pierron
c825d475d1 Bug 806206 - InlineFrameIterator: provide default scope chain value if unused. r=dvander 2013-01-09 22:29:43 -08:00
Nicholas Nethercote
2fde737c58 Bug 824886 - Remove dead ThreadPoolWorker::threadPool_ field. r=nmatsakis.
--HG--
extra : rebase_source : 704c716dba9bfe186096dfa231267aeba0b14a5a
2013-01-07 19:21:43 -08:00
Boris Zbarsky
0cbc75cba5 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
e80616963f 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
1dd1bc76cb Bug 828648 - Add system() function to JS shell, r=billm 2013-01-09 17:54:19 -07:00
Terrence Cole
17b1014315 Bug 828690 - Return Unrooted from StringBuffer::finish; r=billm
--HG--
extra : rebase_source : 732d8981d2bd19ea50d3db4477cff615068070dc
2013-01-03 17:21:12 -08:00
Christian Holler
2696da4892 Bug 827960 - Allow jit_test.py to run tests in parallel. r=terrence 2013-01-10 01:33:53 +01:00
Ed Morley
0b8e7533f5 Backout c3268996719e (bug 828607) for bustage on a CLOSED TREE 2013-01-10 00:11:04 +00:00
Terrence Cole
7680009263 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
9e1159116e Bug 827816 - Follow up: whitespaces, No empty { }, rs=brendan, r=Waldo 2013-01-11 00:54:45 +01:00
Brian Hackett
55949198c6 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
6f2b4df7a3 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
df014455fc Bug 828607 - Fix exact rooting in jsproxy; r=evilpie 2013-01-08 10:27:50 -08:00
Jan de Mooij
337c0129cf 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
514fce814c 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
7e074eb410 Bug 828020 - exactly root StaticScopeIter. r=terrence 2013-01-10 13:31:40 +01:00
Brian Hackett
70bc54b959 Bug 822858. r=billm 2013-01-08 16:51:43 -08:00
Bill McCloskey
9fcfd843c0 Bug 822858 - Fix printing of lazy protos in type inference spew. r=bhackett 2013-01-08 16:49:28 -08:00
Jeff Muizelaar
0afdefa66f 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
5f61ffbca0 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
e43bdd8e15 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
e9d9687978 Bug 827965 - Utilize GetTempRegForIntArg() for callNative calls. (r=sstangl) 2013-01-08 16:50:04 -05:00
Brian Hackett
5b550769a6 Bug 820583 - Use a larger script size limit when compiling off thread, r=dvander. 2013-01-08 13:42:03 -07:00
Brian Hackett
aed6052485 Bug 826734 - Improve backtracking allocator when spilling around calls, r=jandem. 2013-01-08 13:03:24 -07:00
Ehsan Akhgari
1ced5105eb Merge mozilla-central into mozilla-inbound 2013-01-08 14:59:20 -05:00
Terrence Cole
85ba5d9cc9 Bug 827929 - Remove SkipRoot in Object::toSource; r=billm 2013-01-08 10:52:44 -08:00
Olli Pettay
b63413d754 Bug 827471 - Improve CanSkipWrappedJS, r=mccr8 2013-01-08 19:40:35 +02:00
Ben Turner
4a1f82b8ea 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
7d3dd0a3b1 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
e54269e35c Bug 690970, part 2: unmark gray read barrier for watchpoints. r=billm 2013-01-08 10:36:51 -08:00
Andrew McCreight
0ea7b9fd4d Bug 690970, part 1: unmark gray read barrier for weak maps. r=billm 2013-01-08 10:36:51 -08:00
Jason Orendorff
01ce1f1e3d 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
14ac3bda70 Bug 827659 - Ensure |this| is an object when inlining getter/setter calls. r=bhackett 2013-01-08 19:13:19 +01:00
Benjamin Peterson
c3d485530f Bug 825545 followup - Fix building threadless shell. r=me 2013-01-07 19:52:40 -06:00
Terrence Cole
f59935cf33 Bug 827539 - Remove unnecessary SkipRoots in the frontend; r=billm 2013-01-07 17:23:08 -08:00
Terrence Cole
08e53fe3a7 Bug 790039 - Fix some more rooting assertions; r=terrence,sfink 2013-01-02 15:56:20 -08:00
Benjamin Peterson
e6f0998bf6 Bug 825545 followup - Remove extra comment. r=jorendorff 2013-01-07 18:40:12 -06:00
Benjamin Peterson
300c9d67bd 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
98c041fb38 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
Ehsan Akhgari
1022301c8f Merge mozilla-central into mozilla-inbound 2013-01-07 18:23:31 -05:00
Ehsan Akhgari
fb00d8ba4e Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Steve Fink
08f99e5f1c Bug 827225 - Rename JS_GetTypedArrayType to JS_GetArrayBufferViewType, add TYPE_DATAVIEW. r=bz, sr=dmandelin
--HG--
extra : rebase_source : c5947273c5d517338ea1f468358511aa979b4959
2013-01-07 15:12:00 -08:00
Daniel Holbert
1bab59a1cb Bug 827436: In js.cpp, add #ifdef guard around OptionFailure() definition, since its callers are all #ifdef-guarded. r=dvander 2013-01-07 14:42:14 -08:00
Gregory Szorc
65a73fff3e Merge mozilla-central into build-system
--HG--
rename : browser/themes/gnomestripe/downloads/download-notification.png => browser/themes/gnomestripe/downloads/download-notification-start.png
rename : browser/themes/pinstripe/downloads/download-notification.png => browser/themes/pinstripe/downloads/download-notification-start.png
rename : browser/themes/winstripe/downloads/download-notification.png => browser/themes/winstripe/downloads/download-notification-start.png
2013-01-07 14:31:37 -08:00
Alex Keybl
6521994aeb Merging in version bump NO BUG 2013-01-07 12:31:33 -08:00
Sean Stangl
c9be2ea2bb Bug 826581 - Root RegExp source for the lifetime of RegExpShared. r=dvander 2013-01-07 14:32:52 -08:00
Ed Morley
d3c39437f7 Backout e4550612487b & c3008e662841 (bug 827274) for mochitest-chrome crashes on a CLOSED TREE 2013-01-07 18:11:22 +00:00
Olli Pettay
a0d72846bb Bug 705371 - [CC] don't add JSContexts that have no children to the cycle collector graph, r=mccr8 2013-01-07 19:40:46 +02:00
Ben Turner
6c7171afe5 Bug 827274 - Fix bustage, r=mrbkap. 2013-01-07 17:47:04 +01:00
Ben Turner
8c910e1e42 Bug 827274 - 'crash in [@ anonymous namespace::CTypesActivityCallback(JSContext*, js::CTypesActivityType)], add ctypes closure support to new worker memory reporting mechanism. r=khuey+mrbkap, a=jlebar. 2013-01-07 17:34:08 +01:00
Jon Coppeard
6d2c420e70 Bug 825326 - "Assertion failure: (obj)->compartment()->isGCMarking()," r=terrence DONTBUILD
--HG--
extra : rebase_source : 14dccd52b9c19afccc70855b483da0d418b4f623
2013-01-07 11:37:24 +00:00
Jon Coppeard
86f907b94a Backed out changeset 3e5257f5f4a6 for wrong bug number in commit message
--HG--
extra : rebase_source : 5b5857bd2f97008e7b39698cef3fb4f0956d7e79
2013-01-07 11:29:06 +00:00
Jon Coppeard
313abd0902 Bug 826669 - [jsdbg2] Assertion failure: !IsThingPoisoned(thing), at gc/Marking.cpp:147, r=billm
--HG--
extra : rebase_source : 6af1db0aa7633361431b119d9340693e01b27bd5
2013-01-07 10:08:20 +00:00
Ms2ger
91829e5485 Merge mozilla-central into build-system
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-06 11:58:19 +01:00
Phil Ringnalda
8fa0865148 Merge the last PGO-green inbound changeset to m-c 2013-01-05 15:57:15 -08:00
Panos Astithas
03baeebdb1 Merge m-c to fx-team 2013-01-05 11:41:23 +02:00
Terrence Cole
06047868fa Bug 826879 - Remove a strict aliasing footgun from MutableHandle; r=bhackett
These are unused and could be a strict aliasing hazard in the future.

--HG--
extra : rebase_source : c544d9abe3c0a8e8744dabcd7357a345e02ae120
2013-01-04 17:32:01 -08:00
Ms2ger
971eab6d17 Merge mozilla-central into build-system 2013-01-04 21:21:29 +01:00
Ehsan Akhgari
11b68a76e0 Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
c8deef991c Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Masatoshi Kimura
44fde3235f Bug 825926 - Get rid of /PDB:NONE. r=ted 2013-01-04 12:49:24 +09:00
Ms2ger
ba6e4f2ea3 Merge mozilla-central into build-system 2013-01-03 10:46:16 +01:00
Panos Astithas
c529b9d29d Implement a new addAllGlobalsAsDebuggees method for faster chrome debugging (bug 821701); r=jimb
Also GC only once when going through all compartments in both addAllGlobalsAsDebuggees and removeAllDebuggees, instead of once for every debuggee added or removed.
2013-01-04 21:34:43 +02:00
Jon Coppeard
882d8fd92a Bug 825327 - "Assertion failure: (obj)->compartment()->isGCMarking()," r=terrence
--HG--
extra : rebase_source : 2f4e934b16beadd5a3fadabd4c8f1bfd98e2d712
2013-01-02 17:57:35 +00:00
Jon Coppeard
067b9ec80a Bug 824321 - "Assertion failure: !IsThingPoisoned(thing)," r=terrence
--HG--
extra : rebase_source : e1662451f8f90af0b1f25073e7f919cebdf5d410
2013-01-02 17:22:14 +00:00
Jan de Mooij
3aa94d4dbc No bug - Fix jit_test.py help message. rs=mjrosenb on IRC DONTBUILD 2013-01-07 11:53:01 +01:00
Gregory Szorc
76ef351ea7 Merge mozilla-central into build-system 2012-12-30 13:47:04 -08:00
Jan de Mooij
4ae98f0d6e Bug 824863 - Fix regalloc bug in JM ionCompileHelper. r=bhackett 2012-12-29 22:02:43 +01:00
Peter Van der Beken
96b67671a8 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableColElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : 4654bf54c41231eed6f73a35118d58be0c9af9a0
2012-12-29 15:07:57 +01:00
Peter Van der Beken
71cdba8a1a Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableRowElement to WebIDL. r=bz.
--HG--
extra : rebase_source : d2febac66f508caf3c2b89816e811ed8e2c88856
2012-12-29 15:07:57 +01:00
Peter Van der Beken
88f551c0d3 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCellElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : fcf088e7ac91a216ae7ad1cb16d509a17cd7a2a7
2012-12-29 15:07:56 +01:00
Peter Van der Beken
0a9ff23dea Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
Peter Van der Beken
7538219944 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
extra : rebase_source : 36ef4c094fdf54103ad3c41e299eb86d20956915
2012-12-29 09:08:15 +01:00
Nicolas B. Pierron
23d67cf579 Bug 825599 - Specialize type of switch's conditions. r=h4writer 2013-01-04 16:43:23 -08:00
Jeff Walden
da2a57bc92 Whitespace tab-killing patrol. No bug, r=sparky 2013-01-04 17:00:43 -06:00
Jeff Walden
be7908afa3 Bug 824217 - Make ChromeObjectWrapper::getPropertyDescriptor not pretend no descriptor exists when the property exists along the prototype chain, when the property is being resolved just before an assignment. r=bholley 2013-01-03 17:55:58 -06:00
Jeff Walden
6edc649b7d Bug 824217 - Remove the mode argument from the PIERCE macro to eliminate all but one use of JSRESOLVE_ASSIGNING from jswrapper.cpp. r=bholley
--HG--
extra : rebase_source : 107e4a30956092daf38887cd4b329a6f3711f025
2013-01-03 16:46:50 -06:00
Ben Turner
07413737fe Bug 813867 - 'Report memory for web workers that use ctypes'. r=jlebar+jorendorff.
--HG--
extra : rebase_source : 8ecb268167e840f26dd53a774c7e978b15ae3017
2012-12-30 10:21:52 -08:00
William Chen
7cd5470029 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Terrence Cole
407de0df83 Bug 826126 - Just use an assert to check for aliasing; r=benjamin
This appears to be debug code that crept in for bug 767013.

--HG--
extra : rebase_source : 9f616676d77432ec5f05c5dfa7e9998ac649797a
2013-01-02 17:13:16 -08:00
Jeff Walden
d9889b3184 Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 3b88b411965087984d7973a90f8fa1b06457a6ce
2013-01-03 15:31:36 -06:00
Gregory Szorc
2f63e8debf Merge mozilla-central into build-system 2012-12-24 09:47:35 -08:00
David Zbarsky
627bff8456 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
b3fd32ba23 Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Gregory Szorc
a79903acaa Merge mozilla-central into build-system 2012-12-22 15:29:20 -08:00
Cameron McCormack
8a7b51e7ad Back out 047534c22207 and f95b0378d4ee (bug 820124) for reftest manifest parsing failures. 2012-12-22 12:54:38 +11:00
Boris Zbarsky
b04e54f1bc Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv 2012-12-23 14:34:22 -08:00
Boris Zbarsky
dc011274dd Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv 2012-12-23 14:33:33 -08:00
Gregory Szorc
acab4962d5 Bug 804865 - Require Python 2.7 to build the tree; r=ted 2012-12-20 15:45:26 -08:00
Nicolas B. Pierron
25e8736956 Bug 780549 part 2 - Check returned value of AutoEnterCompilation::init in Ion compilation. r=bhackett a=abillings 2012-12-29 02:36:28 -08:00
Boris Zbarsky
964e33e5c1 Bug 825365. Fix the softp version of MacroAssemblerARMCompat::passABIArg to not add no-op register moves to the MoveResolver. r=mjrosenb 2012-12-28 20:02:59 -08:00
Benjamin Peterson
d3d0762adc backout bug 810525 for failing jit-tests 2012-12-28 21:52:52 -06:00
Josh Matthews
8c6ec75b56 Backed out changeset 40c1df07b407 (bug 824217) 2012-12-28 19:13:36 -05:00
Brendan Eich
eda04f6f13 Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases (r=luke) 2012-12-28 16:09:25 -08:00
Josh Matthews
59c8c84079 Backed out changeset a47d98073d4e (bug 823884) 2012-12-28 19:03:49 -05:00
Jan de Mooij
fe39a3b765 Bug 822385 - Add getter, setter and method with jitinfo to the shell. r=bz 2012-12-20 15:27:54 +01:00
Tom Schuster
13b8b422f0 Bug 822265 - Implement negateDouble cross-platform wise and use it for CodeGenerator. r=jandem 2012-12-20 15:06:37 +01:00
Tom Schuster
89c79289eb Bug 821789 - Move JavaScript Object builtins to their own file. r=jwalden 2012-12-20 15:06:37 +01:00
Nicolas B. Pierron
05bc31bf1b Bug 823061 - GetPropertyCache supports length properties of arrays. r=jandem 2012-12-20 04:14:26 -08:00
Jeff Walden
efc17396e8 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz 2012-12-19 19:32:34 -05:00
Boris Zbarsky
467b89667e Bug 824823 part 2. WebIDL binding for HTMLAnchorElement. r=peterv 2013-01-04 12:02:13 -05:00
Boris Zbarsky
6efe50ec6e Bug 824823 part 0. Fix a test to keep using an XPCWrappedNative element for now until bug 825053 is fixed. Verbal r=peterv 2013-01-04 12:02:13 -05:00
Boris Zbarsky
25524db939 Bug 826423. Fix SpecialPowers.wrap() to reliably detect Xrays. r=peterv 2013-01-04 12:02:13 -05:00