Commit Graph

23901 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
b96082ac88 Merge mozilla-central into mozilla-inbound 2013-01-07 18:23:31 -05:00
Ehsan Akhgari
129c4cd7fd Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Steve Fink
9ea2fb22e5 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
67cb779862 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
b6f94aa2d4 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
606aa67899 Merging in version bump NO BUG 2013-01-07 12:31:33 -08:00
Sean Stangl
1246135db7 Bug 826581 - Root RegExp source for the lifetime of RegExpShared. r=dvander 2013-01-07 14:32:52 -08:00
Ed Morley
cb0a5ea15b Backout e4550612487b & c3008e662841 (bug 827274) for mochitest-chrome crashes on a CLOSED TREE 2013-01-07 18:11:22 +00:00
Olli Pettay
c1487b3cd4 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
8b62975cfb Bug 827274 - Fix bustage, r=mrbkap. 2013-01-07 17:47:04 +01:00
Ben Turner
0045ac83e9 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
92777cdbf7 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
69f706c485 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
31756dcd26 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
0c748a1319 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
3e79c4bdc0 Merge the last PGO-green inbound changeset to m-c 2013-01-05 15:57:15 -08:00
Panos Astithas
0ed1d15fb5 Merge m-c to fx-team 2013-01-05 11:41:23 +02:00
Terrence Cole
bd71079b71 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
2971a56b4b Merge mozilla-central into build-system 2013-01-04 21:21:29 +01:00
Ehsan Akhgari
6a1c8d2947 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
60fa51d399 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
ccd4991442 Bug 825926 - Get rid of /PDB:NONE. r=ted 2013-01-04 12:49:24 +09:00
Ms2ger
8e99f82785 Merge mozilla-central into build-system 2013-01-03 10:46:16 +01:00
Panos Astithas
a7a5899166 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
e5bac61f21 Bug 825327 - "Assertion failure: (obj)->compartment()->isGCMarking()," r=terrence
--HG--
extra : rebase_source : 2f4e934b16beadd5a3fadabd4c8f1bfd98e2d712
2013-01-02 17:57:35 +00:00