Commit Graph

16886 Commits

Author SHA1 Message Date
Peter Van der Beken
10dce9197f Bug 648801 (new DOM list bindings) - Add a pref (dom.new_bindings) to enable/disable new bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 055a7bdac534147baa29d8735794970234c98145
2011-06-29 19:17:37 +02:00
Matt Brubeck
c78c700e5a Bug 689288 - Annotate failing xpcshell tests on Win64 [r=khuey] 2011-09-26 14:27:37 -07:00
Ehsan Akhgari
0f6e3e18c4 Backed out changeset 020f14584a2a (bug 680246) because it broke builds on all platforms 2011-09-26 11:53:28 -04:00
Joey Armstrong
d1f0112849 Bug 680246 - makefile logic to support threadsafe mkdir -p; r=ted 2011-08-18 17:16:21 -04:00
Atul Aggarwal
1f0d1d7bf8 Bug 581477 - Silence uninitialized variable warnings in xpcwrappednativeproto.cpp; r=bsmedberg 2011-09-01 01:56:33 +05:30
Bobby Holley
3bb161b410 Bug 683802 - Pass useAllocator=false only for wrappedjs dipper params. Everything else can allocate. r=mrbkap
We only have one good reason for the useAllocator distinction: when C++ calls JS with a dipper parameter (ie, a string), the caller has already created the relevant nsAString or nsCString, so we shouldn't allocate another one. All other uses are superfluous or irrelevant, so we can get rid of them.
2011-09-25 15:38:02 +01:00
Bobby Holley
76631b6402 Bug 683802 - Force allocation for sized PWSTRINGs in XPCWrappedNative argument conversion. r=mrbkap
This is the last remaining place where we might pass a non-dipper with useAllocator==false to XPCConvert *and, as a consequence*, do something different within XPCConvert. This paves the way for the elimination of useAllocator for non-dipper types.
2011-09-25 15:38:01 +01:00
Bobby Holley
b11b764aae Bug 683802 - Remove XPC_JSArgumentFormatter and friends. r=mrbkap
XPC_JSArgumentFormatter adds 3 special format string tokens to spidermonkey: %ip, %iv, and %is. These were unused outside of testing according to a free-text MXR search, and don't appear to be well-documented anywhere either. They also happen to be quite dangerous and easy to use improperly: we pass untyped variadic parameters to XPCConvert::JSData2Native with useAllocator==false. This causes JSData2Native to blindly cast the values to concrete class pointers (like nsAString*) and call methods on them.
2011-09-25 15:38:01 +01:00
Bobby Holley
f8d046ce9c Bug 683802 - Eliminate questionable support for [shared] parameters. r=mrbkap
AFAICT we'd crash if we hit these cases anyway. bsmedberg and khuey requested that I assert against this case within XPConnect, and file a bug to make XPIDL enforce that [shared] parameters exist only in [noscript] methods. Filed bug 685281 for this.
2011-09-25 15:38:01 +01:00
Bobby Holley
53f973b84d Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
c6981dfa25 Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
8a2ae11493 Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
6aab3db9fd Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
0007397e8c Bug 683802 - Always store jsvals directly within the val union (fixes bug 655878). r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley
d228a521a2 Bug 683802 - Factor dipper handling out into a helper method. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley
502e318d55 Bug 683802 - Separate reindentation from previous patch for easier review. No other changes. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley
a054a34e65 Bug 683802 - Move the loop contents of ConvertIndependentParams into a separate method (without re-indentation). r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley
775809e6a1 Bug 683802 - Remove mAutoString micro-optimization. r=mrbkap 2011-09-25 15:38:00 +01:00
Bobby Holley
309a2dc785 Bug 684327 - Package the typelib along with the components so that it's accessible from the test harness. r=khuey 2011-09-25 15:38:00 +01:00
Bobby Holley
ccd5a6439b Bug 684327 - Test parameter passing. r=khuey 2011-09-25 15:38:00 +01:00
Bobby Holley
1196662e29 Bug 684327 - Generalize test_readwriteattributes.js into test_attributes.js. r=khuey
--HG--
rename : js/src/xpconnect/tests/unit/test_readwriteattributes.js => js/src/xpconnect/tests/unit/test_attributes.js
2011-09-25 15:38:00 +01:00
Bobby Holley
d8e94b80ac Bug 684327 - Add an xpcshell test that exercises both the native and js components. r=khuey 2011-09-25 15:37:59 +01:00
Bobby Holley
5cede67fc3 Bug 684327 - Introduce js-implemented test component. r=khuey 2011-09-25 15:37:59 +01:00
Bobby Holley
e1a2873779 Bug 684327 - Move the C++ implementation of the test component into its own subdirectory. r=khuey
--HG--
rename : js/src/xpconnect/tests/components/Makefile.in => js/src/xpconnect/tests/components/native/Makefile.in
rename : js/src/xpconnect/tests/components/xpctest.manifest => js/src/xpconnect/tests/components/native/xpctest.manifest
rename : js/src/xpconnect/tests/components/xpctest_attributes.cpp => js/src/xpconnect/tests/components/native/xpctest_attributes.cpp
rename : js/src/xpconnect/tests/components/xpctest_module.cpp => js/src/xpconnect/tests/components/native/xpctest_module.cpp
rename : js/src/xpconnect/tests/components/xpctest_private.h => js/src/xpconnect/tests/components/native/xpctest_private.h
2011-09-25 15:37:59 +01:00
Bobby Holley
6258dae585 Bug 684327 - Misc fixes to xpctest_attributes. r=khuey
This patch is best reviewed while listening to http://www.youtube.com/watch?v=MK6TXMsvgQg

NB - The code here would make a great "find the bugs in this code" interview screen question.
2011-09-25 15:37:59 +01:00
Bobby Holley
8625141d3e Bug 684327 - Start building a small subset of the xpconnect test component again, kill the rest. r=khuey
Thanks to Mook for the initial patch!
2011-09-25 15:37:59 +01:00
Bobby Holley
86fdb9d672 Bug 684327 - Remove TestXPC.cpp, which currently printfs that it's failing various things and then segfaults. r=khuey 2011-09-25 15:37:58 +01:00
Brian Hackett
c61a469092 Sync state on all exit paths in CALLPROP PICs when allowing getter stubs, bug 688478. r=dvander 2011-09-24 14:15:38 -07:00
Matheus Kerschbaum
e1d3c86e9c Bug 669829 - Remove check for atlbase.h and oleacc.idl from configure. r=ted 2011-09-24 12:53:07 +02:00
Ed Morley
f5a2b818d7 Backout 3bfef7f630dc and all ancestors until cba5d081f15d inclusive (bug 683802, bug 684327 & bug 652571); a=use-try-before-crapping-23-changesets-on-the-tree-thank-you-please 2011-09-24 03:33:31 +01:00
Ed Morley
d06542a2e2 Backout changeset 737c2fdb9148 (bug 683802), since bustage fix not relevant now that the whole bug is being backed out 2011-09-24 03:29:48 +01:00
Andrew McCreight
bac8bd20e7 Bug 683802 - remove trailing ; to fix Maemo bustage. r=bholley 2011-09-23 17:26:19 -07:00
Bobby Holley
43108c0900 Bug 683802 - Pass useAllocator=false only for wrappedjs dipper params. Everything else can allocate. r=mrbkap
We only have one good reason for the useAllocator distinction: when C++ calls JS with a dipper parameter (ie, a string), the caller has already created the relevant nsAString or nsCString, so we shouldn't allocate another one. All other uses are superfluous or irrelevant, so we can get rid of them.
2011-09-23 14:50:29 -07:00
Bobby Holley
2f66a40072 Bug 683802 - Force allocation for sized PWSTRINGs in XPCWrappedNative argument conversion. r=mrbkap
This is the last remaining place where we might pass a non-dipper with useAllocator==false to XPCConvert *and, as a consequence*, do something different within XPCConvert. This paves the way for the elimination of useAllocator for non-dipper types.
2011-09-23 14:50:29 -07:00
Bobby Holley
4170b80aaf Bug 683802 - Remove XPC_JSArgumentFormatter and friends. r=mrbkap
XPC_JSArgumentFormatter adds 3 special format string tokens to spidermonkey: %ip, %iv, and %is. These were unused outside of testing according to a free-text MXR search, and don't appear to be well-documented anywhere either. They also happen to be quite dangerous and easy to use improperly: we pass untyped variadic parameters to XPCConvert::JSData2Native with useAllocator==false. This causes JSData2Native to blindly cast the values to concrete class pointers (like nsAString*) and call methods on them.
2011-09-23 14:50:28 -07:00
Bobby Holley
0d7e07547c Bug 683802 - Eliminate questionable support for [shared] parameters. r=mrbkap
AFAICT we'd crash if we hit these cases anyway. bsmedberg and khuey requested that I assert against this case within XPConnect, and file a bug to make XPIDL enforce that [shared] parameters exist only in [noscript] methods. Filed bug 685281 for this.
2011-09-23 14:50:28 -07:00
Bobby Holley
364f0f80e5 Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
7386fc9507 Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
c0aa2b6439 Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
21981b746e Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
bb7989ef1e Bug 683802 - Always store jsvals directly within the val union (fixes bug 655878). r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
b39a7f2504 Bug 683802 - Factor dipper handling out into a helper method. r=mrbkap 2011-09-23 14:50:28 -07:00
Bobby Holley
757407104f Bug 683802 - Separate reindentation from previous patch for easier review. No other changes. r=mrbkap 2011-09-23 14:50:27 -07:00
Bobby Holley
b88cd46009 Bug 683802 - Move the loop contents of ConvertIndependentParams into a separate method (without re-indentation). r=mrbkap 2011-09-23 14:50:27 -07:00
Bobby Holley
b6cbc3e44d Bug 683802 - Remove mAutoString micro-optimization. r=mrbkap 2011-09-23 14:50:27 -07:00
Bobby Holley
61ec2b2260 Bug 684327 - Package the typelib along with the components so that it's accessible from the test harness. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
9ee149cc53 Bug 684327 - Test parameter passing. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
608c7d4d5f Bug 684327 - Generalize test_readwriteattributes.js into test_attributes.js. r=khuey
--HG--
rename : js/src/xpconnect/tests/unit/test_readwriteattributes.js => js/src/xpconnect/tests/unit/test_attributes.js
2011-09-23 14:50:27 -07:00
Bobby Holley
4525104bc9 Bug 684327 - Add an xpcshell test that exercises both the native and js components. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
3c889d66dd Bug 684327 - Introduce js-implemented test component. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
6f02e9f167 Bug 684327 - Move the C++ implementation of the test component into its own subdirectory. r=khuey
--HG--
rename : js/src/xpconnect/tests/components/Makefile.in => js/src/xpconnect/tests/components/native/Makefile.in
rename : js/src/xpconnect/tests/components/xpctest.manifest => js/src/xpconnect/tests/components/native/xpctest.manifest
rename : js/src/xpconnect/tests/components/xpctest_attributes.cpp => js/src/xpconnect/tests/components/native/xpctest_attributes.cpp
rename : js/src/xpconnect/tests/components/xpctest_module.cpp => js/src/xpconnect/tests/components/native/xpctest_module.cpp
rename : js/src/xpconnect/tests/components/xpctest_private.h => js/src/xpconnect/tests/components/native/xpctest_private.h
2011-09-23 14:50:27 -07:00
Bobby Holley
91964a9e10 Bug 684327 - Misc fixes to xpctest_attributes. r=khuey
This patch is best reviewed while listening to http://www.youtube.com/watch?v=MK6TXMsvgQg

NB - The code here would make a great "find the bugs in this code" interview screen question.
2011-09-23 14:50:27 -07:00
Bobby Holley
4252ab2c8a Bug 684327 - Start building a small subset of the xpconnect test component again, kill the rest. r=khuey
Thanks to Mook for the initial patch!
2011-09-23 14:50:27 -07:00
Bobby Holley
93d027b403 Bug 684327 - Remove TestXPC.cpp, which currently printfs that it's failing various things and then segfaults. r=khuey 2011-09-23 14:50:26 -07:00
Luke Wagner
97b8d5795c Bug 688769 - rm resource.h and t/ from js/src (r=dmandelin)
--HG--
extra : rebase_source : ac5bb528ab1c25c649cab1e6c5c63f778e2594eb
2011-09-23 09:07:33 -07:00
Luke Wagner
f4a84db75a Bug 688769 - Remove dead args from StackFrame::functionEpilogue (r=bhackett)
--HG--
extra : rebase_source : ebb55d46c774a4e1dad6eacf59d55e5da496948c
2011-09-23 08:59:19 -07:00
Tom Schuster
6348ebba8c Bug 685150 - Generate native code for Math.min/Math.max in the methodjit. r=bhackett 2011-09-09 14:53:28 +02:00
Brian Hackett
8034f0a1a6 Fix bogus assert, bug 687399. r=dvander 2011-09-23 07:12:36 -07:00
Brian Hackett
fd136b659e Only inline scripts which have already been analyzed, bug 687125. r=dvander 2011-09-23 07:02:28 -07:00
Brian Hackett
baeabd8f01 Don't drop contents of copied dead slots at branches, bug 687768. r=dvander 2011-09-23 06:33:20 -07:00
Mike Hommey
8a2b143076 Bug 653056 - Use a bitwise version of JSDOUBLE_IS_NaN that Visual Studio PGO doesn't miscompile. r=jimb 2011-09-23 14:27:21 +02:00
Mike Hommey
cf96279041 Bug 671423 - Manually inline DOUBLE_TO_JSVAL to avoid Xcode 3.1.4 miscompilation. r=jimb 2011-09-23 14:25:16 +02:00
Boris Zbarsky
085b188f8c Bug 684671. Allow the onreadystatechange getter/setter on Document.prototype to not throw even if its |this| is bogus. r=peterv,sicking 2011-09-23 01:03:50 -04:00
Andreas Gal
195f6fccb6 Bug 660233 part 2. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper and to DOM prototypes in chrome documents. r=mrbkap 2011-09-21 21:30:27 -04:00
Boris Zbarsky
18cca0613a Bug 688685. Propcached property adds that just write to a slot are not sound when the class has an addProperty hook. r=bhackett 2011-09-23 01:03:49 -04:00
Jeff Walden
37632bfcb5 Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke 2011-09-15 11:44:10 -07:00
Jeff Walden
ddb8886dc3 Bug 687621 - Introduce js::SpecialId, encapsulating the non-index, non-string bizarro property names. r=luke 2011-09-20 14:34:11 -07:00
Jeff Walden
9d85b7ddf3 Add PropertyName to the string-types tree in vm/String.h, and beef up the comment by PropertyName itself to better explain its utility. rs=luke 2011-09-21 15:37:43 -07:00
Jeff Walden
229554194a Bug 687621 - Further split ObjectOps to add a third property type (and temporarily a fourth to use for a property of indeterminate type), to encapsulate object-valued jsids and properties that don't fit in the property name/element distinction. r=luke
--HG--
extra : rebase_source : 4cfd216dcbff77750cb54ea48b546e83bd555513
2011-08-12 14:26:48 -04:00
Jeff Walden
00521e3dfd Bug 687642 - Rename JSFlatString::isElement to JSFlatString::isIndex. This better comports with other terminology being thrown around, and it makes it simpler to distinguish between the value used as the property name (the index, potentially) and the value the property contains (the element). r=dvander
--HG--
extra : rebase_source : e66315100fc331a4bd961a2cd281c36ed23ce471
2011-09-19 13:57:33 -07:00
Paul Biggar
d8fd60d75c Change in-tree users of Array.prototype.splice to not rely on non-standard behavior of deleting all elements from |k| onward for |arr.splice(k)|. r=jwalden
--HG--
extra : rebase_source : b2f041ab27c500636598fe6213481c1a5f0989e8
2011-09-22 15:43:11 -07:00
Bill McCloskey
e5701ded7e Bug 677431 - Clean up MarkAndSweep code in GC (r=igor) 2011-08-05 10:25:51 -07:00
Igor Bukanov
abe648ab25 bug 688551 - specialize ~Anchor for Value only outside GCC. r=luke 2011-09-22 21:01:49 +02:00
Bill McCloskey
ee58d4bd06 Bug 674776 - Replace giganto test with code to generate it (rs=jorendorff) 2011-09-21 16:37:30 -07:00
Terrence Cole
59f4dc6032 Bug 685315 - Remove the GETGLOBAL opcode; r=dvander
This was a nice and simple way to get a perf boost in the
interpreter and JM, but JSOP_GETGNAME has the same
information and more. TI doesn't need it, JM technically
doesn't, and IM won't either. We can just do a normal
property lookup during compilation.
2011-09-22 17:35:25 +01:00
Brian Hackett
e29e34dc29 Try to release native call stubs on GC, bug 688292. r=dvander 2011-09-22 07:26:14 -07:00
Sean Stangl
94e87deaa3 Correct typo in NumberDiv. (Bug 686323, r=dvander) 2011-09-21 20:51:18 -07:00
Boris Zbarsky
342e93102b Merge backout of revision adceb7fb0fce (bug 660233) 2011-09-21 23:06:22 -04:00
Boris Zbarsky
8846761995 Backed out changeset adceb7fb0fce (bug 660233) due to test failures. 2011-09-21 23:05:42 -04:00
Andreas Gal
50f364a16d Bug 660233. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper. r=mrbkap 2011-09-21 21:30:27 -04:00
Mark Hammond
c055f5481f Bug 683400 - SandboxDump should flush stderr after writing output. r=mrbkap 2011-09-21 20:56:20 +02:00
Ehsan Akhgari
7c4401c2bc Merge mozilla-central and mozilla-inbound 2011-09-21 13:13:10 -04:00
Mike Hommey
e47f41066a Bug 687805 - Allow DIST_FILES, DIST_CHROME_FILES and PREF_JS_EXPORTS to be in objdir. r=khuey 2011-09-21 18:06:14 +02:00
Landry Breuil
4c2a5bcfec Bug 684559 - Don't include now missing jswtfbridge.h on non-YARR JIT architectures (NPOTDB); r=dmandelin 2011-09-21 13:41:17 +01:00
Marco Bonardo
7a5befcc01 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-21 10:35:19 +02:00
Brian Hackett
9aa0e92fea Verify range against previous stub when linking getter PIC stubs, bug 688090. r=dvander 2011-09-20 21:33:35 -07:00
Brian Hackett
4f83e99a93 Don't clobber callee-save register when testing pushed value after stub calls, bug 687856. r=dvander 2011-09-20 20:14:28 -07:00
Luke Wagner
61f76ef0bd Bug 684526 - Remove Jsvalify/Valueify (r=waldo)
--HG--
extra : rebase_source : a3047338ed088c26a93486addd0be8092fe52934
2011-09-20 11:40:24 -07:00
Ehsan Akhgari
41c2a18909 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Brian Hackett
ca868dfc21 Merge MC -> JM 2011-09-19 15:29:22 -07:00
Luke Wagner
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Blake Kaplan
5a81c92645 Bug 679861 - Normalize jsvals before handing them to APIs. r=gal 2011-09-21 19:22:34 -07:00
Brian Hackett
ce5b96c240 [INFER] Reapply 7db908db3669 (bug 684084) 19ed9da5789d (bug 684824) a250c3cb749a (bug 686178) 820f11a3fdb1 (bug 686179) e678ced82a6a (bug 686418) 300e1f974f55 (bug 669715) 5c131d458c53 (bug 686396) 3a8b5e4a286b (bug 683140). 2011-09-18 07:36:51 -07:00
Brian Hackett
c844837710 [INFER] Reapply f1c585415dd4 7c89b0ff453d 19794de530f1 (bug 686000). 2011-09-17 19:31:33 -07:00
Brian Hackett
68a462f79a [INFER] Reapply c1f0817e5cb4 (bug 557358), 353b160fb804 (bug 685313), 9459096a263a b31b25125429 (bug 669715), a887241aed3a (bug 684404). 2011-09-17 19:24:19 -07:00
Brian Hackett
dd56af6e09 [INFER] Reapply c2726640029f 3330521cfa4a b68281262e15 (bug 557358), 6a8947bcc821 (bug 684943), 50d4f6fa00ce (bug 683714), f3dd7cf2d0b3 (bug 683999). 2011-09-17 19:14:22 -07:00
Ed Morley
3b89aa779a Backout latest JM merge for OSX 10.5 M-oth permaorange (see bug 687257) on a CLOSED TREE 2011-09-17 16:32:43 +01:00
Brian Hackett
f2651fd01e [INFER] Backout 3a8b5e4a286b for suspected M-oth orange. 2011-09-16 20:31:54 -07:00
Brian Hackett
7c7d9ac81c Merge MC -> JM 2011-09-16 08:51:41 -07:00
Ehsan Akhgari
97e0f80e7f Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-16 09:31:43 -04:00
Mike Hommey
28463360ac Bug 685130 - Build libffi with the same flags as the rest. r=ted 2011-09-16 10:01:03 +02:00
Brian Hackett
a2daad7e2e [INFER] Fix red. 2011-09-15 17:19:57 -07:00
Brian Hackett
797b88a50d [INFER] Don't change prototype of new objects when reusing type in Array.{slice,splice,concat}. bug 683140. 2011-09-15 17:16:57 -07:00
Kyle Huey
75aa6eed7a Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Brian Hackett
0d13c1627d [INFER] Add jitcode assertions for type correctness around property accesses, bug 685186. 2011-09-15 16:19:38 -07:00
Brian Hackett
72e409987d [INFER] Decouple constraints generating callee types and 'this' types of those callees for CALLELEM, bug 686396. 2011-09-15 12:50:19 -07:00
Brian Hackett
42f96c43bb [INFER] Fail compilation rather than assert if a constant pool is dumped while generating an IC, bug 669715. 2011-09-15 12:11:03 -07:00
Brian Hackett
df83129530 [INFER] Backout bug 685358. 2011-09-14 22:09:40 -07:00
Hari R
82b52e08fa Bug 684083 - Avoid null dereference when using Components.utils.getWeakReference(undefined). r=mrbkap 2011-09-14 23:13:00 -04:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Brian Hackett
dc9404d8a6 [INFER] Fix code discarding for JM+TM integration, bug 685358. 2011-09-13 15:01:46 -07:00
Chris Leary
12c65c3fc1 Fix SpiderMonkey build warning.
--HG--
extra : rebase_source : dfb62c170abef907f3584697cf5d40b37f93be5a
2011-09-14 17:43:02 -07:00
Chris Leary
d8356af29a Bug 670049 - JSParseNode accessors. (r=dherman)
--HG--
extra : rebase_source : c83d7bafafe951e2365573c459e2fab2d5ba4362
2011-09-13 22:32:14 -07:00
Chris Leary
fa6b47ea65 Bug 685025 - Shell should be able to read from stdin. (r=brendan)
--HG--
extra : rebase_source : 9ddc8e09ddb00baa50bccef395330f846a2ce531
2011-09-14 17:00:59 -07:00
Tom Schuster
22acbaaabb Bug 686323: Put JSOP_DIV logic into its own function r=dvander
--HG--
extra : rebase_source : 782f70b7af3d8f0866517f17af23c4c4d11fb9cd
2011-09-14 20:47:08 +02:00
Makoto Kato
8ef06ea553 Bug 686418 - [INFER] PIC doesn't work on Win64 after bug 557358. r=bhackett 2011-09-13 16:23:42 +09:00
Jonathan Kew
9ad3a411a2 bug 686317 - fix format string/argument list mismatches in ARMAssembler.h. r=cdleary 2011-09-14 08:05:51 +01:00
Brian Hackett
ba1711afe3 [INFER] Fix red. 2011-09-12 12:46:24 -07:00
Brian Hackett
cb6667a21f Merge MC->JM 2011-09-12 12:42:13 -07:00
Brian Hackett
67e19477d5 [INFER] Fix orange. 2011-09-12 12:16:43 -07:00
Ehsan Akhgari
cccd5e8563 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-12 09:46:06 -04:00
Brian Hackett
ef62105951 [INFER] Fix orange. 2011-09-12 00:31:38 -07:00
Brian Hackett
e8687ad96d [INFER] Fix bogus assert, bug 686179. 2011-09-11 23:06:52 -07:00
Brian Hackett
d8a567c773 [INFER] Remove bogus assert, bug 686178. 2011-09-11 22:38:33 -07:00
Brian Hackett
bd9939fb3a [INFER] Don't use loop registers for entries whose representation changed due to a jump into the loop, bug 684824. 2011-09-11 22:36:04 -07:00
Brian Hackett
093c919b57 [INFER] Don't update 'this' types of a script during compilation, bug 684084 (round 2). 2011-09-11 21:56:47 -07:00
Olli Pettay
9efa44eaaa Bug 685798 - Node.parentElement, r=bz 2011-09-11 15:45:39 -07:00
Brian Hackett
17dee4bbc0 [INFER] Fix orange. 2011-09-11 11:49:27 -07:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Brian Hackett
0436b790e1 [INFER] Fix orange. 2011-09-11 01:12:04 -07:00
Brian Hackett
773360dcfa [INFER] Fix orange. 2011-09-11 00:21:15 -07:00
Brian Hackett
833d891bce [INFER] Allow inlined frames to call native functions from ICs, bug 683804. 2011-09-10 22:03:01 +02:00
Brian Hackett
18acc6e41b [INFER] Check result type of property access stubcalls in jitcode, bug 686000. 2011-09-10 09:58:41 +02:00
Alex Vincent
91dcbea388 Bug 684465 - Add Reflect.parse support to xpcshell, r=jorendorff, bz 2011-09-09 15:11:00 -07:00
Phil Ringnalda
15200cf8ef Remove trailing space from 52550df07858 (bug 684559) which is turning the tree red 2011-09-09 18:29:59 -07:00
Brian Hackett
d3435e89d8 [INFER] Always maintain a synced interpreter stack for method JIT stub calls, bug 685358. 2011-09-09 21:55:57 +02:00
Brian Hackett
ceb94a57c3 [INFER] Fix some TI ARM bustage, bug 669715. 2011-09-08 18:11:19 -07:00
Marty Rosenberg
ee37a2f0c3 Stop using emitInst to emit vfp instructions, bug 684404. 2011-09-08 17:48:50 -07:00
Marty Rosenberg
6a4f2efa1f Reset the number of instructions since the last flush even when we don't flush anything, bug 669715. 2011-09-08 17:47:12 -07:00
Brian Hackett
70706ec50e [INFER] Don't resolve NAME accesses which are on the DeclEnv of named lambdas, bug 685313. 2011-09-08 17:44:17 -07:00
Jacek Caban
6a65818e8b Bug 686117 - Port TI assembly changes to mingw-w64 variant [r=dvander, NPOTB, DONTBUILD] 2011-09-14 16:12:15 +02:00
Oleg Romashin
ebc7020bfe Bug 584217 - Add Meego Touch based filepicker implementation. r=jeremias.bosch,florian.haenel 2011-09-14 14:16:28 +01:00
Brian Hackett
0238320401 Fix inverted test, use the right id when calling getter hooks, bug 557358. 2011-09-08 14:24:10 -07:00
Brian Hackett
f5364430bd Merge MC->JM 2011-09-08 09:59:59 -07:00
Brian Hackett
8091e24a60 Don't try to generate getter ICs when fusing GETPROP, bug 557358. 2011-09-08 09:36:55 -07:00
Brian Hackett
05d0d8b18d Don't mark bytecodes accessing getter ops when inside an imacro, bug 557358. 2011-09-07 22:43:06 -07:00
Nicholas Nethercote
f30f41ec0b Update nanojit-import-rev stamp. 2011-09-07 21:37:54 -07:00
Nicholas Nethercote
c3b5cb830c Bug 676585 - fix JS compilation for Darwin/ARM. r=edwsmith.
--HG--
extra : convert_revision : d66d2e24ef1688e3b6d47e824354f5a78ac22487
2011-09-07 21:31:33 -07:00
Phil Ringnalda
7adb586a3d Back out 240cfe9e5c2c (bug 675150) for Win7 debug xpcshell failures 2011-09-07 21:22:40 -07:00
Steve Fink
f3bd051686 Bug 686571 - Check for jit->pcLengths before using (r=bhackett) 2011-09-07 17:25:25 -07:00
Steve Fink
d375e9cba8 Bug 684713 - Match full function name when giving JS shell help messages (r=cdleary)
--HG--
extra : rebase_source : 20c5e3748e7918cc19c13c09d732cc8560188762
2011-09-08 11:25:06 -07:00
Mounir Lamouri
8cd289fd81 Bug 686350 - Check in configure script that the selected Android SDK is correct. r=glandium 2011-09-13 15:35:23 -07:00
Makoto Kato
d84a97500d Bug 685468 - warnaserr: js/src/jsinterp.cpp(6176) : warning C4805: '&=' : unsafe mix of type 'JSBool' and type 'bool' in operation. r=luke 2011-09-13 18:08:17 +09:00
julian.reschke@greenbytes.de
d194959f71 Bug 272541: Empty disposition type treated as 'attachment'. r=jduell 2011-09-12 20:14:16 -07:00
Igor Bukanov
eea4ae40cb bug 686279 - fixing GCC 4.6 warnings under js/src. r=luke 2011-09-12 11:43:47 +02:00
Jan de Mooij
e4413a9223 Bug 686106 - Don't allocate an extra register for JSOP_MUL with constant operand. r=bhackett 2011-09-12 19:23:25 +02:00
Cameron Kaiser
1270c81714 Bug 684559: bring back PCRE for JavaScript regexps on systems without YARR JIT because it's faster than YARR's interpreter. r=dmandelin 2011-09-07 17:05:59 -07:00
Ed Morley
64619d9a1c Bug 609431 - Fix various LNK4221 MSVC warnings in js/src/Makefile.in; r=khuey 2011-09-18 20:00:07 +01:00
Rafael Ávila de Espíndola
28388b7197 Bug 674647 - Set MOZ_CAN_RUN_PROGRAMS in mozconfig.leopard and propagate it. r=khuey.
This patch sets MOZ_CAN_RUN_PROGRAMS in mozconfig.leopard so that the build
system knows it can run programs when producing 32 bit dmg files in a 64 bit
host (10.6).

The patch also propagates MOZ_CAN_RUN_PROGRAMS from the configure system to
Makefile.
2011-09-18 14:43:31 -04:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Ehsan Akhgari
dd1857e2c4 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-07 10:06:22 -04:00
Brian Hackett
1dcd09ac35 [INFER] Fix red. 2011-09-07 03:56:20 -07:00
Makoto Kato
bd63f07b96 Bug 684670 - js\src\vm/Debugger.h(406) : warning C4099: 'JSCompartment' : type name first seen using 'struct' now seen using 'class'. r=jorendorff 2011-09-07 16:29:00 +09:00
Makoto Kato
5bfd2ec82f Bug 684664 - js\src\methodjit\BaseAssembler.h(1282) : warning C4146: unary minus operator applied to unsigned type, result still unsigned. r=bhackett 2011-09-07 16:17:55 +09:00
Brian Hackett
bed272d8a5 [INFER] Don't require JS_SplicePrototype to be passed an object with singleton type, bug 683999. 2011-09-06 22:52:38 -07:00
Brian Hackett
0f6bc04a42 [INFER] Ensure type/prototype are preserved when cloning functions at method barriers, bug 683714. 2011-09-06 22:49:47 -07:00
Brian Hackett
cb731565aa [INFER] Don't check for invariant copy preservation in stack entries popped by REJOIN_NONE calls, bug 684943. r=dvander 2011-09-06 22:46:01 -07:00
Brian Hackett
63289b3360 PIC for GETPROP and CALLPROP on JSPropertyOp properties, bug 557358. r=dvander 2011-09-06 22:34:23 -07:00
Nicholas Nethercote
c199e54b1d Bug 684111 - Remove codePool and notePool. r=cdleary. 2011-09-06 19:12:09 -07:00
Nicholas Nethercote
67aaf6921c Bug 684111 - use a limit instead of a mask to detect when the srcnotes buffer is full. r=cdleary. 2011-09-06 19:12:09 -07:00
Nicholas Nethercote
382d6589f2 Bug 684111 - remove an unused parameter from EmitCheck. r=cdleary. 2011-09-06 19:12:08 -07:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Felix Fung
1efc4b73a9 Bug 577266 - Correct misspellings in source code: 'verion' -> 'version' 2011-09-06 22:50:26 -07:00
Nicholas Nethercote
35e556c14e Bug 684799 - Measure slop in more JS memory reporters. r=dmandelin. 2011-09-07 18:41:38 -07:00
Nicholas Nethercote
db7b97785d Update nanojit-import-rev stamp. 2011-09-07 18:21:00 -07:00
Nicholas Nethercote
734053d291 Bug 684799 - Measure slop in more JS memory reporters (NJ-specific part). r=edwsmith.
--HG--
extra : convert_revision : 3fb37580d1ffd01f3f391d3852b14e0a34e57cb7
2011-09-07 18:15:04 -07:00
Brian Hackett
20031f4613 Merge MC->JM 2011-09-06 14:53:24 -07:00
Brian Hackett
4b4c3e28d4 [INFER] Fix red. 2011-09-06 03:08:29 -07:00
Makoto Kato
8062289b5c Bug 684771 - js/src/jsscript.cpp(300) : warning C4309: 'specialization' : truncation of constant value. r=wmccloskey 2011-09-06 17:54:36 +09:00
Makoto Kato
338eb1d1c6 Bug 684674 - js/src/methodjit/FastBuiltins.cpp(511) : warning C4146: unary minus operator applied to unsigned type, result still unsigned. r=bhackett 2011-09-06 17:44:36 +09:00
Brian Hackett
a21793c57d Merge MC->JM 2011-09-06 00:45:22 -07:00
Brian Hackett
85997e5de5 [INFER] Fix test failures. 2011-09-05 09:05:45 -07:00
Brian Hackett
c80c38c904 [INFER] Fix bug 684623. 2011-09-05 07:34:27 -07:00
Brian Hackett
dc782a5ed8 [INFER] Allow uncopies of loop temporaries after backedges, bug 684621. 2011-09-05 07:33:06 -07:00
Brian Hackett
fb7cef441c [INFER] Fix bug 684594. 2011-09-05 07:31:30 -07:00
Brian Hackett
d78ee3ef8a [INFER] Fix test for when double entries need to be forgotten after branching to a location their type is unknown, bug 684576. 2011-09-05 07:29:51 -07:00
Makoto Kato
034ac0e327 Bug 684662 - js\src\methodjit/MethodJIT.h(690) : warning C4305: 'argument' : truncation from 'js::MaybeConstruct' to 'bool'. r=bhackett 2011-09-05 20:10:54 +09:00
Atul Aggarwal
18ab676d77 Bug 458722 - gcc warning mainly 64 bit: src/xpcconvert.cpp:1931: warning: comparison is always false due to limited range of data type; r=bz 2011-09-05 10:29:06 +01:00
Atul Aggarwal
f0303a7fa5 Bug 581474 - Possible uninitialized variable use in nsXPCWrappedJS::GetNewOrUsed; r=mrbkap 2011-09-05 10:29:06 +01:00
Makoto Kato
50edfd4f34 Bug 684666 - js/src/methodjit/MonoIC.cpp:1357:51: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'. r=bhackett 2011-09-05 17:22:44 +09:00
Nicholas Nethercote
fb390fb055 Bug 676732 - Fix Windows bustage caused by 7fb15a645955. 2011-09-04 21:58:19 -07:00
Makoto Kato
010d6b4185 Bug 663748 - js shell doesn't sometimes output exceptions on Win64. r=luke 2011-09-05 11:24:48 +09:00
Nicholas Nethercote
5164fb3ecf Bug 676732 - Measure and/or avoid slop in important JS memory reporters. r=dmandelin. 2011-09-04 18:32:50 -07:00
Ed Morley
59e8ad1ced Merge mozilla-central to mozilla-inbound 2011-09-05 01:18:16 +01:00
Nicholas Nethercote
2b9241092a Bug 684180 - Avoid wasted space caused by AssemblerBuffer's growth strategy. r=dvander. 2011-09-04 16:09:56 -07:00
Brian Hackett
2ac6308262 [INFER] Fix bogus assert, allow Disassemble() to be called during GC/arena traversal, bug 684281. 2011-09-04 13:34:38 -07:00
Brian Hackett
27f0eb5880 [INFER] Always clear jitcode during GC with inference enabled, bug 683227. r=dvander 2011-09-04 13:34:08 -07:00
Brian Hackett
799c6dfea0 Don't try to recompile scripts when clearing traps during GC, bug 683966. 2011-09-04 13:33:33 -07:00
Brian Hackett
4c2126dce8 [INFER] Compiler types should reflect inferred types for JSOP_THIS in scripts which have not executed, bug 684084. 2011-09-04 13:33:04 -07:00
Brian Hackett
59c6ee6694 [INFER] Don't swap newTypes for objects during TradeGuts, bug 684348. r=billm 2011-09-04 13:32:13 -07:00
Brian Hackett
c58767db1c [IFER] Fix red. 2011-09-04 13:17:50 -07:00
Ed Morley
6a60e22cca Merge mozilla-central and mozilla-inbound 2011-09-04 20:56:01 +01:00
Terrence Cole
9e219e8b92 Bug 646597 - Remove unneeded #ifdef DEBUG: use DebugOnly instead; r=bhackett
Assignment to a DebugOnly variable results in a call to either the empty
'operator =' or to an empty implicit 1-arg constructor and empty copy
constructor when in non-debug mode.  Either of these get inlined and
eliminated as dead code above -00, so there is no benefit to skipping
this assignment for non-debug builds.
2011-09-04 13:58:00 +01:00
Jan de Mooij
7900111d6f Bug 670493 - Refactor and optimize booleanJumpScript. r=bhackett 2011-09-03 22:23:33 +02:00
Brian Hackett
4797355341 [INFER] Don't use invalid activeCall when finishing an outer function frame, detect nesting in parents which add scope objects earlier, bug 663138. 2011-09-03 11:04:45 -07:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Jason Orendorff
53eb0f605c Fix the JS standalone build. r=amazing_brokenness. 2011-09-03 07:30:13 -05:00
Marco Bonardo
2c9501a685 Backout e2807e45402c for Android b-c permaorange and 502c33ae0d81, 3326454d70f5 for Android M5 permaorange. 2011-09-03 12:22:10 +02:00
Tom Schuster
5e9f41713e Minor ident followup fix for Bug 588537 rs=Ms2ger 2011-09-03 11:57:02 +02:00
Marco Bonardo
f7ab1e5a89 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-03 11:49:40 +02:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Mike Hommey
42fa5b0cd7 Merge m-c to b-s 2011-09-03 08:17:58 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Matheus Kerschbaum
e07b5a7ab9 Bug 682716 - Remove remaining support for Symbian. r=ted 2011-09-03 01:55:30 +01:00
Matheus Kerschbaum
be59d7a9a8 Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Matheus Kerschbaum
f815f4bd6c Bug 689920 part 1: Remove build support for old Unix platforms. r=ted 2011-09-03 01:55:29 +01:00
Luke Wagner
1214ad91f1 Bug 684110 - Simplify IsActiveWithOrBlock, tidy jsinterp.h (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
f569944101 Bug 684110 - Remove empty-script special case in Invoke (r=bhackett) 2011-09-02 17:23:36 -07:00
Luke Wagner
a56e9afd91 Bug 684110 - Simplify InitExnPrivate (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
d043e3bfa9 Bug 684110 - Tidy up Exception constructor (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
a195a3c4ed Bug 684110 - Remove/inline array helper (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
357b5b8cf8 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Ed Morley
2d385ce59f Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies 2011-09-03 03:21:25 +01:00
Terrence Cole
1ec766c60b Bug 684344 - Remove a reinterpret_cast in delayMarkingChildren; r=billm
All of the types we call this with derive from js::gc::Cell, so there is no
need for this to take a void*.

--HG--
extra : rebase_source : 206c2ef1ae304a0c7f6346f38cfb00bd4eab5a43
2011-09-02 17:58:10 -07:00
Luke Wagner
673da87302 Bug 684110 - Simplify IsActiveWithOrBlock, tidy jsinterp.h (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
cd9ae565bf Bug 684110 - Remove empty-script special case in Invoke (r=bhackett) 2011-09-02 17:23:36 -07:00
Luke Wagner
be07afb63a Bug 684110 - Simplify InitExnPrivate (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
db607aaf2b Bug 684110 - Tidy up Exception constructor (r=billm) 2011-09-02 17:23:36 -07:00
Luke Wagner
2560b5a93d Bug 684110 - Remove/inline array helper (r=pbiggar) 2011-09-02 17:23:36 -07:00
Luke Wagner
39242fcb8c Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Kyle Huey
2fe1065da6 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Olli Pettay
926e572e15 Bug 683852 - Implement Node.contains(node), r=bz
--HG--
extra : rebase_source : 192368ed31e612ad078a3d71a7ea2913e8a95532
2011-09-02 23:15:53 +03:00
Ehsan Akhgari
78f4e1ccb9 Revert to 176fae7de173 which was fine.
Sorry for breaking the history, won't trust TBPL, ever again. :(
2011-09-02 09:15:54 -04:00
Ehsan Akhgari
d81b657456 Keep changeset 11247af82311 backed out on the reverted tree 2011-09-02 09:05:37 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Matheus Kerschbaum
de6608fa4d Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Igor Bukanov
9dc4e22f8a bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Andrew McCreight
fc9615e7fa Bug 681104 - Add JSTracer flag to disable visiting WeakMap mappings. r=billm 2011-09-04 11:25:49 -07:00
Bill McCloskey
9b3ccb5237 Bug 604747 - Set GC max heap size to 4GB in JS shell (r=gregor) 2011-09-19 15:22:31 -07:00
Igor Bukanov
ee75e05a9b Bug 686144 - eliminating gc::MarkingDelay. r=wmccloskey 2011-09-12 11:43:43 +02:00
Atul Aggarwal
6a036e76b8 Bug 481282 - fix uninitialized variable warning in nsXPConnect::Traverse. r=mrbkap 2011-09-02 11:04:43 +05:30
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Daniel Holbert
86a96e1d1b Bug 683998: Remove unused variable from jstracer.cpp. r=billm 2011-09-01 15:21:42 -07:00
Brian Hackett
9128f54230 Merge MC -> JM 2011-09-01 13:41:12 -07:00
Brian Hackett
736384af84 [INFER] Use type barriers for NAME accesses on scripts whose types have been purged, bug 663138. 2011-09-01 12:36:42 -07:00
Brian Hackett
3e0ad0ceba [INFER] Improve performance for non-reentrant closures, bug 663138. 2011-09-01 12:20:30 -07:00
Mike Hommey
022079a913 Bug 683875 - Fixup. r=me 2011-09-01 20:24:13 +02:00
Mike Hommey
30b5c313fc Bug 683875 - Remove stale static library when only creating a fakelib. r=ted 2011-09-01 18:26:07 +02:00
Mike Hommey
cfd3ac70a2 Bug 677501 - Build a mozutils library containing jemalloc and other things. r=khuey
--HG--
rename : memory/jemalloc/Makefile.in => memory/mozutils/Makefile.in
rename : memory/jemalloc/fixcrt.py => memory/mozutils/fixcrt.py
rename : memory/jemalloc/jemalloc.def => memory/mozutils/mozutils.def.in
2011-09-01 14:12:10 +02:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Brian Hackett
62d90f802f Don't compile or analyze new script properties for scripts with a cleared global, bug 683317. 2011-08-31 17:43:01 -07:00
Leon Sha
eb1d707ea3 Bug 683413 - [INFER] jit-test/tests/v8-v5/check-earley-boyer.js failed on sparc. r=bhackett. 2011-09-01 08:24:41 +08:00
Jason Orendorff
08f5a5a5bd Bug 677957 - Fix peculiarly dynamically-nested for-in loops. ("Assertion failure: !cx->iterValue.isMagic(JS_NO_ITER_VALUE), at jsiter.cpp:1017") r=dvander. 2011-09-02 16:52:13 -05:00
Rafael Ávila de Espíndola
2f0d1d2073 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.

--HG--
extra : rebase_source : 58a64b71a23812910072c81bbf84b3721b961abb
2011-09-01 12:19:06 -04:00
Igor Bukanov
c89518270e bug 683862 - Using JSGCTraceKind in the public API. r=luke 2011-09-01 20:43:46 +02:00
Jason Orendorff
a2b30a5076 Bug 676343 - Lexical scoping bug involving UPVAR_LEVEL_LIMIT. r=brendan. 2011-09-01 11:31:09 -05:00
Kyle Huey
411121afb0 Back out Bug 659311 for messing up Linux PGO builds. 2011-08-31 10:49:42 -04:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Ms2ger
9f3b109361 Bug 659053 - Followup to make Node.isSameNode fast again; r=bz over IRC 2011-08-31 11:23:34 +02:00
Marco Bonardo
6cda1d359c Merge mozilla-central and mozilla-inbound 2011-08-31 10:43:43 +02:00
Brian Hackett
a7ad625b02 Keep key register pinned longer when accessing elements of hoisted arguments objects, bug 683207. r=dvander 2011-08-30 19:23:55 -07:00
Sander van Veen
3347c443e5 Bug 673158 - Separate regexp JIT code and normal mjit code in about:memory. code=sandervv,Bas.Weelinck, r=nnethercote. 2011-08-30 17:21:36 -07:00
Blake Kaplan
3f8acddf7d Bug 671148 - De-bogosify test_EvalInSandbox.xul's handling of iframes. r=peterv 2011-08-30 15:26:57 -07:00
Blake Kaplan
19b49f517f Bug 679877 - Allow properties to be resolved on these objects. r=jst 2011-08-30 15:26:50 -07:00
Blake Kaplan
b3a9afc939 Fix bug 670319. r=jst 2011-08-30 15:25:59 -07:00
Shu-yu Guo
94bbb956a8 Bug 679977 - Guard on callee when accessing upvar through deactivated stack frame. (r=gal) 2011-08-30 22:45:31 +01:00
Jason Orendorff
7ce1bc6c4e Bug 561359 - Predication of method optimization is too dynamic, causing "Assertion failure: &shape.methodObject() == &prev.toObject()". r=dvander.
--HG--
extra : rebase_source : 0a101adb7b237c56bde65ff7af3fdfcee0ad13df
2011-08-30 12:55:46 -05:00
Jason Orendorff
a9ecbfb46a Bug 682298 - Calling shell-only clear() function with no arguments reads garbage. r=luke.
--HG--
extra : rebase_source : ac11611035f5ebfc0c3b898236f70f9e8d0205b8
2011-08-30 06:10:09 -05:00
Ed Morley
974a0ec8a8 Merge last green (and non Ts-regressing) changeset from m-i to m-c 2011-08-30 12:09:51 +01:00
Jason Orendorff
1b79b825c8 Bug 669369 - Simplify Parser::setFunctionKinds. r=dmandelin.
--HG--
extra : rebase_source : 2c6d99d8cb30b947b0c1192968a30f70ef19178f
2011-08-30 06:08:30 -05:00
Jason Orendorff
02ba209c05 Bug 682306 - Remove an unused field in JSFunction. r=dmandelin.
--HG--
extra : rebase_source : efc52ac69404fae459ddf61f74e2e4642e1e5d5d
2011-08-30 06:07:10 -05:00
Terrence Cole
193dba8738 Bug 682925 - Remove duplicate #ifdef DEBUG conditional; r=luke 2011-08-30 20:20:08 +01:00
Brian Hackett
2daef6ad8a [INFER] Only prematurely release script code when calling destroy script hook from GC, bug 679461. 2011-08-29 20:45:33 -07:00
Brian Hackett
639ecd7257 Merge MC -> JM 2011-08-29 18:41:32 -07:00
Brian Hackett
7d7b9639b8 [INFER] On destruction, release JIT code for scripts before debugger hooks try to recompile them, bug 679461. 2011-08-29 15:03:59 -07:00
Brian Hackett
dc1c86d1e9 [INFER] Don't truncate object types when testing for particular primitive types, bug 682855. 2011-08-29 14:01:51 -07:00
Brian Hackett
3750708eee [INFER] Don't use loop registers for entries after coercing them to double/any for a branch, bug 682563. 2011-08-29 13:59:06 -07:00
Brian Hackett
604519588f Merge MC -> JM 2011-08-29 12:34:59 -07:00
Chris Leary
af3d8d9fb7 Bug 679138: argv past script argument should not be interpreted as options. (r=dvander) 2011-08-29 12:19:19 -07:00
Luke Wagner
85b720d343 Bug 683470 - InlineReturn should assert using js_GetOpcode instead of *regs.pc (r=dvander) 2011-08-31 15:42:04 -07:00
Rob Campbell
b9acef0ccf merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Terrence Cole
4d39ce28ad Bug 683654 - Make TraceVis compile and run again; r=dmandelin 2011-09-01 16:56:58 +01:00
Ed Morley
b105110b75 Merge tips of mozilla-inbound and mozilla-central 2011-08-28 21:20:46 +01:00
Brian Hackett
7c364c5624 [INFER] Fix orange. 2011-08-28 08:42:35 -07:00
Atul Aggarwal
70ea895999 Bug 678988 - "potential null pointer dereference in js/jsd/jsd_scpt.c" [r=sphink] 2011-08-28 07:48:00 -07:00
Siarhei Siamashka
b2d3db4a4d Bug 644136 - Add missing fpu directive to fix libffi build on ARM hardfloat systems; r=bsmedberg 2011-08-28 12:03:22 +01:00
Kyle Huey
2eb5f2b441 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Brian Hackett
1a3fb6272e [INFER] Fix orange. 2011-08-27 20:28:24 -07:00
Marco Bonardo
40c1e206de Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
Brian Hackett
9da2f62d4b [INFER] Avoid spurious censoring of type barriers on writes of 'undefined' to singleton objects, bug 682345. 2011-08-26 20:21:59 -07:00
Brian Hackett
1766b3bcda [INFER] Fix orange. 2011-08-26 20:17:26 -07:00
Brian Hackett
2819cc2b9d [INFER] Don't pointlessly generate extra copies of interpreter backedge logic, bug 682477. 2011-08-26 19:58:22 -07:00
Brian Hackett
8e19ba6201 [INFER] Encapsulate GC arena/cell iteration, bug 679887. 2011-08-26 12:39:31 -07:00
Brian Hackett
045638a1ea Merge MC -> JM 2011-08-26 11:23:35 -07:00
Brian Hackett
7f4dcc90fb [INFER] Use mark stack for type objects, bug 679887. 2011-08-26 09:50:48 -07:00
Matt Brubeck
94680ab6db Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-26 09:17:54 -07:00
Brian Hackett
6e0458f6d1 [INFER] Watch for recompilation triggered by while compiling a call in an inlined frame, bug 680951. 2011-08-26 08:55:00 -07:00
Kyle Huey
2ccad6cccb Bug 680515: Follow up fix quoting issue for Windows. r=me 2011-08-26 11:00:57 -04:00
Kyle Huey
0c8cb9cb96 Bug 680515: Move optimization flags out of js/src/Makefile.in and into js/src/configure.in. r=ted 2011-08-26 08:06:51 -04:00
Ed Morley
a31b5adc78 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Ms2ger
b12351fbda Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Rob Campbell
f6795ab075 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Ed Morley
931f3fdad4 Merge last green changeset on m-i to m-c 2011-08-26 02:17:14 +01:00
Matheus Kerschbaum
f9d50e065c Bug 671465 - Remove whitespace from autoconf, configure, config.mk and rules.mk in js/src r=bustage 2011-08-26 01:29:23 +01:00
Matheus Kerschbaum
3bcb2143b6 Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
b9a52be4e0 Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
7524e143b7 Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Rafael Ávila de Espíndola
be6ade2240 Bug 678558 - Detect broken vrp and disable it.
Test if the gcc we are using has PR49911 and if so disable value range
propagation to avoid.

--HG--
extra : rebase_source : d539914fa66a44f69399f2964740315f0723378f
2011-08-26 15:39:34 -04:00
Kyle Huey
18452e06eb Merge b-s to m-c. 2011-08-25 08:19:48 -04:00
Ed Morley
1eeeb8a78f Merge tip of m-c to m-i (will need clobber) 2011-08-25 08:45:33 +01:00
Brian Hackett
96aa830103 [INFER] Leave type sets initially empty for undefined properties of objects with singleton type, bug 680951. 2011-08-24 21:08:24 -07:00
Matheus Kerschbaum
e35d718807 Bug 403616 - Remove --enable-application=standalone build option. r=callek 2011-08-25 02:18:22 +01:00
Brian Hackett
ea929b27a4 [INFER] Don't augment type barriers with undefined value tests at ops which have observed undefined, bug 681004. 2011-08-24 16:59:54 -07:00
Jason Orendorff
4f3fd3a83e Back out changeset 28dd46b9ee31 (bug 679031) because the test is failing on all the buildbots. 2011-08-25 18:32:35 -05:00
Dave Camp ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
db9e3ebada Expose jsdbg2 Debugger object as a C.u.import-able module. Bug 679031, r=ted, sr=bsmedberg.
--HG--
rename : toolkit/components/ctypes/ctypes.jsm => js/ductwork/debugger/jsdebugger.jsm
2011-08-25 16:38:30 -05:00
Jim Blandy
75d3325ec6 Bug 679136: Use js::Interpret's interrupts to implement JSOPTION_PCCOUNT's bytecode profiling. r=sfink. 2011-08-25 16:36:50 -05:00
Ehsan Akhgari
46e980489f Backout changeset a8199bd4af83 because it was not the right fix for bug 680277 2011-08-26 11:27:19 -04:00
Rafael Ávila de Espíndola
4e8e49aac3 Bug 673017 - Fix use of uninitialized data. r=wmccloskey.
The chunk's bitmap was being cleared at the first GC cycle, but it could be
read before that. Clear it early to fix that.

--HG--
extra : rebase_source : 09b1fb28e8e03ca6798f767426e4b423eb716d4d
2011-08-29 13:56:58 -04:00
Kyle Huey
0e655f0dc8 Merge m-c to b-s. 2011-08-24 08:34:27 -04:00
Nicholas Nethercote
6a3fcc17e7 Update nanojit-import-rev stamp. 2011-08-23 22:02:58 -07:00
Mihai Sucan
726b8bb058 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Brian Hackett
72f29e4500 Merge MC -> JM 2011-08-23 07:08:50 -07:00
Brian Hackett
ba18b7bbde [INFER] Don't maintain normal registers for known-double entries after branching to opcodes where the entry is not known as a double, bug 681006. 2011-08-22 18:11:58 -07:00
Luke Wagner
2215b35a8b Bug 676934 - Limit number of stack frame objects created by XPCJSStackFrame::CreateStack (r=mrbkap) 2011-08-22 16:35:17 -07:00
Nicholas Nethercote
bad4583a0c Bug 675545 - Completely re-do jsarena.{cpp,h}. r=cdleary. 2011-08-28 23:04:45 -07:00
Brian Hackett
1a78e80c60 [INFER] Don't emit deformed decomposed versions of incops that need an INDEXBASE, bug 680976. 2011-08-22 16:19:44 -07:00
Brian Hackett
3abb63779a [INFER] Account for singletons with lazy types when testing type barriers, bug 680842. 2011-08-22 15:25:53 -07:00
Brian Hackett
f6bda3215b [INFER] Maybe fix ARM build. 2011-08-21 20:31:10 -07:00
Brian Hackett
a8c7cd87da [INFER] Fix ADDPROP PIC recompilation hazard, bug 680797. 2011-08-21 20:28:38 -07:00
Brian Hackett
02b4833303 [INFER] Don't mark the entry register allocation for a loop as needing updating until it has actually been computed, bug 680809. 2011-08-21 20:23:30 -07:00
Rafael Ávila de Espíndola
305df53162 Bug 678051 - Fix c++0x initializer list error found by clang. r=nnethercote.
--HG--
extra : convert_revision : 55c10227eece4a02b593997eda3dedef39af7beb
2011-08-21 20:18:18 -07:00
Brian Hackett
2c43eb4076 [INFER] Ensure inlined frames are expanded when searching for exception handlers, bug 680759. 2011-08-21 19:52:04 -07:00
Brian Hackett
45b8a69877 Merge MC -> JM 2011-08-21 16:00:26 -07:00
Ed Morley
ffbfafd053 Merge mozilla-central and mozilla-inbound 2011-08-21 19:14:08 +01:00
Igor Bukanov
cf19ff5d15 bug 680755 - replacing last frame checks with an auto class. r=jorendorff 2011-08-21 16:23:48 +02:00
Jason Orendorff
04e98f6fd3 Bug 677386 - Fix jsdbg2 breakpoint GC rules. r=billm. 2011-08-24 18:42:19 -05:00
Jason Orendorff
51d9a1ec05 Fix a breakpoint GC bug found by billm. See bug 677386 comment 8, first paragraph. r=billm on IRC. 2011-08-24 18:42:19 -05:00
Jim Blandy
01972cd38f Bug 673125: Implement the Debugger.Frame.prototype.onStep accessor. r=jorendorff. 2011-08-23 14:45:36 -05:00
Jim Blandy
3abd972834 Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke. 2011-08-23 14:45:21 -05:00
Jim Blandy
fab58c0d9c Bug 673125: Have each JSScript maintain both a count and a flag indicating whether it should be in single-step mode. r=jorendorff.
The rationale is explained in the comments in jsscript.h.
2011-08-23 14:44:22 -05:00
Jim Blandy
f392770f34 Bug 673125: Maintain a list of active js::Interrupt frames, their FrameRegs, and their interruptors. r=jorendorff.
The comment atop InterpreterFrames explains why this is needed, although it
is only used by later patches in the series.
2011-08-23 14:44:03 -05:00
Brian Hackett
8cbe20828b Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff. 2011-08-23 14:43:26 -05:00
Jason Orendorff
b33e0d70c3 Bug 680428 - onEnterFrame does not work with tracejit. r=dvander.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
2011-08-23 14:42:17 -05:00
Rafael Ávila de Espíndola
a8617e6339 Bug 680515 - Don't use MODULE_OPTIMIZE_FLAGS in js/src.
Using MODULE_OPTIMIZE_FLAGS overrides MOZ_OPTIMIZE_FLAGS and prevents
js/src/configure from sharing more logic with the toplevel configure.
2011-08-20 18:28:52 -04:00
Phil Ringnalda
6f5f23ea63 Back out ecef6506d094 (bug 680515) for busting opt OS X 2011-08-19 18:42:11 -07:00
Matt Brubeck
505315087e Merge last green changeset from mozilla-central to mozilla-inbound 2011-08-19 16:26:25 -07:00
Rafael Ávila de Espíndola
60c25ccc4f Bug 680515 - Setting MOZ_OPTIMIZE_FLAGS in js/src/configure.in is not effective; r=khuey 2011-08-19 18:16:31 -04:00
David Flanagan
429a3e19b2 Bug 680228 - In Disassemble show associated catch for a try opcode. r=sphink
--HG--
extra : rebase_source : f2412f188c0bb7db7f5c4e9717938a9888c7c0ed
2011-08-19 22:46:32 +02:00
Benjamin Smedberg
8693754aaa Bug 679796 - Make js_DumpStackFrame traverse saved frame chains and use the topmost iterated frame, not cx->fp(), r=luke 2011-08-19 15:39:27 -04:00
arno renevier
7a8e500d3d Bug 677864: fixes components members class description; r=mrbkap 2011-08-19 15:27:43 -04:00
Kyle Huey
dbf45cc017 Back out Bug 678867. 2011-08-19 15:17:34 -04:00
Kyle Huey
b9c27ce7e8 Back out Bug 678867. 2011-08-19 15:17:19 -04:00
Brian Hackett
553636a891 [INFER] Remove s.live assertion. 2011-08-19 11:45:37 -07:00
Brian Hackett
f2c77a7056 [INFER] Don't treat initializers mutating __proto__ as constant singletons, bug 680217. 2011-08-19 10:54:51 -07:00
Kyle Huey
0e75aa6dec Back out Bug 659311 which made it to m-c prematurely. 2011-08-19 13:16:24 -04:00
Marty Rosenberg
6eca8ea513 Bug 678928: don't use fmem_imm_off in the macro assembler, use its wrapper: 'floatTransfer'. r=adrake 2011-08-19 15:08:42 -07:00
Igor Bukanov
3b06c78f95 bug 681884 - faster slow path of GC allocations. r=wmccloskey 2011-08-18 09:16:08 +02:00
Igor Bukanov
53fcc3230a bug 684010 - remove JSScrit::isAboutToBeFinalized. r=bhackett1024
--HG--
extra : rebase_source : 7281e691bf5cbe62772e7671baa59d514829ff5f
2011-09-01 21:47:07 +02:00
William Maddox
7685c1d387 Bug 673214 - nanojit.h should probably include njcpudetect.h [stejohns@adobe.com] (r=nnethercote)
--HG--
extra : convert_revision : fc5941cc395ec47ca06c022fd7cdb44d9130eaf8
2011-08-17 15:41:30 -07:00
Steve Fink
243e7968e5 Bug 678954 - Add object files back into dtrace command line for Solaris dtrace support (r=khuey)
Also the current version of systemtap on Linux does not need those object files any more (older versions did), they are accepted without complaint.

--HG--
extra : rebase_source : 95171251f96b31b4dbc9064fc75ff3aeaac4bf87
2011-08-17 15:14:52 -07:00
Bill McCloskey
ca3db625cd Bug 679593 - Null out JSScript (r=dmandelin) 2011-08-22 14:33:32 -07:00
Ed Morley
6d02b96c78 Backout e10579e136f1 (bug 680636) for breaking pymake builds 2011-08-22 22:26:00 +01:00
Gregory Szorc
f50e80f32d Bug 680636 - Execute nsinstall.py as Python module under PyMake; r=khuey 2011-08-22 19:32:51 +01:00
Mounir Lamouri
19c9fefc9c Merging mozilla-central into mozilla-inbound. 2011-08-22 19:47:54 +02:00
Mounir Lamouri
40f9c8f332 Merging mozilla-inbound into mozilla-central. 2011-08-22 19:46:18 +02:00
Gregory Szorc
617912109c Bug 680534 - Clean up $(IDL_DIR) rule definition; r=khuey 2011-08-22 18:34:01 +01:00
Rafael Ávila de Espíndola
09c724072a Bug 680711 - Remove the BUILD_MODULES variable. r=khuey 2011-08-22 13:10:15 -04:00
nospam.kotarou.dono@gmail.com
f5a04ae59a Bug 672024 - Mingw build error: undefined reference to `WinMain@16\' in nsinstall_win.c r=khuey 2011-08-22 14:22:03 +02:00
Geoff Brown
7329896875 Bug 668351 - Add make targets to run xpcshell tests on Android; r=jmaher 2011-08-22 09:00:50 +01:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Brad Lassey
95b9e4b0eb Bug 661282 - Follow up: Bring back the original handling for not specifying --appomni; f=gbrown r=bsmedberg 2011-08-22 09:00:34 +01:00
Sander van Veen
5e4ea0ca8d Bug 673331 - Add identifying information to system compartments. r=mrbkap. 2011-08-21 16:02:24 -07:00
Kyle Huey
7393462fd3 Back out Bug 680515. 2011-08-22 11:08:48 -04:00
Kyle Huey
7887b9304a Backed out changeset 53f198cfbf47 because Bug 680515 caused compiler flags to change undesirably. 2011-08-22 11:08:33 -04:00
William Maddox
b1deb597ff Bug 679454 - Correctly handle cross-segment jumps on MIPS [chris@mips.com] (r=wmaddox)
--HG--
extra : convert_revision : bed1948bd2e72c4d77016289242645a50277483d
2011-08-17 14:29:08 -07:00
Edwin Smith
38fd21bc5d Bug 679397 - X64 branch patch code seems to be wrong for jmp 64bit, but is actually fine: comment needed. (r=edwsmith)
--HG--
extra : convert_revision : f8df3cfd88b628f5488f3b6734543e3f7ff6f968
2011-08-17 16:11:36 -04:00
Igor Bukanov
712146a6db bug 686017 - avoid Cell::arenaHeader() on fast paths. r=bhackett1024 2011-08-16 12:27:34 +02:00
Igor Bukanov
cc337ac79c bug 674251 - making JSScript a GC-thing. r=jorendorff,bhackett1024 2011-08-09 10:51:59 +02:00
Jason Orendorff
367c025c85 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Jim Blandy
22fd080846 Update object -> prototype GC edge names in findReferences tests. Bug 685372, r=jorendorff.
--HG--
extra : rebase_source : 9486c08e60bb4a8c0557daef58ea85e6d426127d
2011-09-08 16:19:13 -05:00
Ehsan Akhgari
70ccb012fd Backout changeset 9360e5529f22 (bug 685150) because of make check failures 2011-09-09 10:03:55 -04:00
Jacek Caban
9fa7965d5a Bug Bug 685554 - Set OS_TARGET to WINNT when crosscompiling on mingw r=glandium 2011-09-09 15:07:39 +02:00
Tom Schuster
185cab595a Bug 685150 - Generate native code for Math.min/Math.max in the methodjit. r=bhackett 2011-09-09 14:53:28 +02:00
Jason Orendorff
a622e35128 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Igor Bukanov
122978d466 bug 684796 - fixing assertions for GC thing iterators. r=bhackett1024 2011-09-06 16:13:56 +02:00
Luke Wagner
b1e57a60f7 Fix bustage in d6242989d95d; pushInvokeArgs should just LeaveTrace and avoid the silly requirement on callers (r=orange)
--HG--
extra : rebase_source : 2e3f97f7d4bc10c6fa90e91b6a76802ed31f4a72
2011-09-06 11:58:19 -07:00
Luke Wagner
54a297e878 Bug 674998 - Remove InvokeSessionGuard; it's bug-prone and we should self-host instead (r=bhackett) 2011-09-06 09:06:07 -07:00
Luke Wagner
5f3109a26e Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-05 14:06:33 -07:00
Brian Hackett
eae037f0a7 [INFER] Allow analysis/compilation of top level <script>, bug 662704. 2011-08-18 08:54:36 -07:00
Jan de Mooij
a8cdc60ea1 [INFER] Don't clobber value register in convertForTypedArray, bug 679666. r=bhackett 2011-08-18 16:07:55 +02:00
Brian Hackett
febafa7470 [INFER] Add missing check for unknownProperties(), bug 679810. 2011-08-17 17:41:50 -07:00
Brian Hackett
623e341976 [INFER] Add missing MakeTypeId, bug 679799. 2011-08-17 17:37:32 -07:00
Brian Hackett
42c4de9ad1 [INFER] Don't use type barriers when compiling GETELEM on typed arrays, bug 678782. 2011-08-17 16:11:38 -07:00
Brian Hackett
e3657362df [INFER] Mark singleton JSObjects as well as TypeObjects when a GC is triggered during analysis, bug 678240. 2011-08-17 13:16:11 -07:00
Brian Hackett
7619efd11f [INFER] Always print spew on debug mode type failures. 2011-08-17 09:07:42 -07:00
Brian Hackett
f3b5be7a42 [INFER] Allocate typeset data and properties from arenas, occasionally purge observed types in compartments, bug 679329. 2011-08-17 06:48:14 -07:00
Jan de Mooij
4857992503 [INFER] Compile IFEQX/IFNEX, GOTOX and TABLESWITCHX, bug 678939. r=bhackett 2011-08-17 11:44:02 +02:00
Brian Hackett
2360cdb4f3 [INFER] Fix GC hazard, bug 679094. 2011-08-15 18:52:22 -07:00
Brian Hackett
475556195e [INFER] Fix warnings. 2011-08-15 11:41:52 -07:00
Leon Sha
09aa8919d5 Bug 674179 - [INFER] Make TypeInference work on solaris sparc. r= bhackett. 2011-08-15 01:38:34 -07:00
Brian Hackett
06268c9f02 Merge MC -> JM 2011-08-14 19:51:16 -07:00
Brian Hackett
4cc8b9aec6 [INFER] Fix recompilation hazard in BindName IC, bug 676764. 2011-08-12 13:16:17 -07:00
Brian Hackett
4c595716d9 [INFER] Treat 'this' in constructors as live throughout the script, bug 678234. 2011-08-12 09:41:48 -07:00
Brian Hackett
e1bf2dd7ad [INFER] Sync 'this' fe when testing for primitive return in functions which return a value with unknown type, bug 678141. 2011-08-12 09:18:48 -07:00
Brian Hackett
a267141537 [INFER] Avoid bogus assertion in AssertValidPropertyCacheHit, bug 678087. 2011-08-12 07:54:15 -07:00
Brian Hackett
4c611afd71 Merge MC -> JM 2011-08-12 07:20:08 -07:00
Brian Hackett
bff5c4b010 [INFER] Finalize 'new' script objects in background when possible, bug 678048. 2011-08-11 20:56:17 -07:00
Brian Hackett
88486c366a [INFER] Fix typed array merge botch, bug 678029. 2011-08-11 09:42:41 -07:00
Luke Wagner
fb1c834edd Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-10 17:34:42 -07:00
Shu-yu Guo
bf65fbecb4 [INFER] Fold integer values across TOID. r=bhackett 2011-08-10 16:06:36 -07:00
Rafael Ávila de Espíndola
875d19b690 Bug 678036 - Fix the build with clang in c++0x mode. The first field of a nanojit::CallInfo is a uintptr_t, fix the cast. r=cdleary 2011-08-11 15:39:13 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Shu-yu Guo
552db1b86a [INFER] Have DUP/DUP2 propagate correct SSA values. r=bhackett 2011-08-10 12:30:34 -07:00
Brian Hackett
58b98f768d [INFER] Address opcode profiling review comments, bug 676515. r=sfink 2011-08-10 10:05:49 -07:00
Brian Hackett
b1b711bcfc [INFER] Maybe fix ARM build. 2011-08-10 09:18:05 -07:00
Brian Hackett
a0624338aa [INFER] Don't check for pending exception when restoring interpreter vars after pushing/popping an inline frame. 2011-08-10 09:13:42 -07:00
Kyle Huey
77bcd4d8bb Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Justin Wood
19e1a18275 Backout Bug 648134 due to bustage. (rather than back out the whole push) 2011-08-10 05:18:24 -04:00
Brian Hackett
21eec4face [INFER] Fix build breaks. 2011-08-09 20:51:22 -07:00
Brian Hackett
2b67b73ad5 [INFER] Watch out for incorrect SSA use chains in scripts where LOCAL ops alias stack values, bug 677635. 2011-08-09 19:02:24 -07:00
Brian Hackett
1986684c09 [INFER] Don't attach property stubs to GETELEMs fetching stringified integer indexes, bug 677019. 2011-08-09 18:18:58 -07:00
Kyle Huey
9536725f1f Bug 458936: Replace xpidlc's typelib generation with a python equivalent. r=ted 2011-08-09 20:48:41 -04:00
Brian Hackett
5782d27b2a [INFER] Maybe fix ARM build. 2011-08-09 17:19:42 -07:00
Brian Hackett
65c48b648b [INFER] Store base of data directly in typed arrays, bug 677743. 2011-08-09 17:12:52 -07:00
Brian Hackett
9b769204de Merge MC -> JM 2011-08-09 13:29:11 -07:00
Brian Hackett
08395b54ce [INFER] Trigger recompilation when changing or removing newScript information, bug 677006. 2011-08-09 09:52:55 -07:00
Brian Hackett
cbe02dc1d0 [INFER] Inline creation of objects for {}, [], Array() and monomorphic scripted new, bug 677006. 2011-08-09 09:26:08 -07:00
Luke Wagner
bfcd3382e4 Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap)
--HG--
extra : rebase_source : 5c5bfe6968e92ae9039cc65af919bd1519260492
2011-08-05 14:06:33 -07:00
Jason Orendorff
fbb0edbd8d Merge jsdbg2 to mozilla-inbound. See bug 672829. 2011-08-13 13:29:18 -05:00
Jason Orendorff
a1ebe4283d Mark test regress-677589.js as shell-only, since it tests the shell-only clone() function. no_r=me. 2011-08-13 07:05:43 -05:00
Jason Orendorff
e1a7105345 Fix GCC bogus opt-only warning in jsoptparse.cpp. no_r=me. 2011-08-13 07:00:33 -05:00
Jason Orendorff
36ce3d311c Fix opt-only linker error due to missing #include (probably due to a bad merge). r=try_server_red. 2011-08-13 06:57:35 -05:00
Robert Sayre
84d46f8730 Bug 678656 - fix some warnings in js/src/jsemit.cpp. r=dmandelin. 2011-08-13 06:54:16 -05:00
Jason Orendorff
d0dae6067c Merge from mozilla-central to jsdbg2. 2011-08-12 18:18:59 -05:00
Jason Orendorff
b213ad1587 Address review comment from bhackett (bug 672829 comment 84). 2011-08-12 17:22:43 -05:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Phil Ringnalda
d3b432509b Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Paul Biggar
373ea045df No bug: Fix comment where "new_array" should be "array_new" (rs=sfink). 2011-08-12 17:15:59 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Matt Brubeck
f2cba5adcb Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Jason Orendorff
d36ff061fa Address review comments from bhackett (bug 672829 comment 82). 2011-08-12 07:44:14 -05:00
Jason Orendorff
65e5022233 Remove a test that is redundant with Object-seal-01.js. 2011-08-12 07:42:38 -05:00
Jason Orendorff
1420796c6c Bug 678201 - Use CallArgs in Debugger.cpp. Part 6, add CallArgs to Object methods. r=luke. 2011-08-11 16:58:14 -05:00
Jason Orendorff
9fa8b7523e Bug 678201 - Use CallArgs in Debugger.cpp. Part 5, add CallArgs to Frame methods. r=luke. 2011-08-11 16:56:53 -05:00
Jason Orendorff
4527ec677f Bug 678201 - Use CallArgs in Debugger.cpp. Part 4, add CallArgs to Script methods. r=luke. 2011-08-11 16:52:44 -05:00
Jason Orendorff
c48c096916 Bug 678201 - Use CallArgs in Debugger.cpp. Part 3, add CallArgs to Debugger methods. r=luke. 2011-08-11 16:51:20 -05:00
Jason Orendorff
0a316b7c8b Bug 678201 - Use CallArgs in Debugger.cpp. Part 2, move THIS_DEBUGGER just before its first use. r=luke. 2011-08-11 16:49:17 -05:00
Jason Orendorff
385fa0774d Bug 678201 - Use CallArgs in Debugger.cpp. Part 1, specialize THISOBJ macro to THIS_DEBUGGER. r=luke. 2011-08-11 16:48:40 -05:00
Jason Orendorff
a84b890520 Address review comments from billm in bug 672829 comment 76. 2011-08-11 16:07:35 -05:00
Jason Orendorff
02efc70ce2 Fix Frame.arguments bug noticed by luke in bug 672829 comment 69. 2011-08-11 15:50:04 -05:00
Jason Orendorff
f3fcd7625a Address review comments from dmandelin (bug 672829 comment 68). 2011-08-11 09:40:25 -05:00
Jason Orendorff
eaa68e0207 Fix error messages to address review comments from sfink (bug 672829 comment 66). 2011-08-11 02:00:23 -05:00
Jason Orendorff
ed3e6bfd54 Add passing test Object-isSealed-01.js. no_r=me. 2011-08-11 01:33:19 -05:00
Jason Orendorff
9bca815475 Address review comments from billm (bug 672829 comment 65). 2011-08-11 00:58:28 -05:00
Jason Orendorff
59fd77e00c Trivial cleanups: do not export vm/Debugger.h; rename Debugger::mark to markAllIteratively, delete a stray space. No bug number, rs=jimb. 2011-08-10 12:57:30 -05:00
Jason Orendorff
bd42d5ffc4 Bug 677371 - [jsdbg2] Assertion failure: throwing, at jscntxt.h:1274. r=jimb 2011-08-09 18:01:38 -05:00
Jason Orendorff
d8123ebf1c Bug 677587 - [jsdbg2] Assertion failure: debuggees.has(global), at vm/Debugger.cpp:1564. r=jimb. 2011-08-09 16:23:20 -05:00
Jason Orendorff
7abbcaf6a7 Bug 677589 - [jsdbg2] Crash [@ JSObject::getClass] when cloning null. r=jimb. 2011-08-09 15:47:28 -05:00
Jason Orendorff
2b428cbaf2 Bug 677593 - [jsdbg2] Assertion failure: (ptrBits & 0x7) == 0, at ../jsval.h:705. r=jimb. 2011-08-09 15:46:41 -05:00
Jason Orendorff
6666d9cd42 Merge from mozilla-central to jsdbg2. 2011-08-09 10:21:12 -05:00
Ehsan Akhgari
6690ac6ddf Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-08-09 08:09:13 -04:00
Jan Varga
5020b003ce Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Jason Orendorff
ccf4fccf33 Various test fixes. Some tests are changed so that they will still pass when native frames are added. 2011-08-06 17:40:55 -05:00
Brian Hackett
3c5d0b72c8 [INFER] Fix ARM build. 2011-08-05 10:36:01 -07:00
Brian Hackett
ea7dab926a [INFER] Fix build break. 2011-08-05 09:49:42 -07:00
Igor Bukanov
96c71ac382 bug 665354 - page-independent free span. r=wmccloskey 2011-08-05 18:43:59 +02:00
Marty Rosenberg
71bc6c54d9 Fix fnegd_r() JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:51:00 -07:00
Marty Rosenberg
8b9979b33e Add GCC format attribute to JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:36:07 -07:00
Jason Orendorff
218e332f1c Bug 672804 - "Assertion failure: parent" with trap right after JSOP_ENTERBLOCK. r=billm. 2011-08-10 17:40:39 -05:00
Jason Orendorff
76846f1c5b Bug 677924 - JS shell: version(4096) asserts. r=cdleary. 2011-08-10 17:37:29 -05:00
Luke Wagner
7c1365819b Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-05 14:06:33 -07:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Brad Lassey
726deb160d follow up patch to fix orange from mismatched rules.mk r=orange 2011-08-10 17:53:37 -04:00
Luke Wagner
aadcfc804f Bug 670071 - make Invoke + InvokeArgsGuard less error prone (r=waldo)
--HG--
extra : rebase_source : 7c37385d649394b07dbb92b20e33d6b28874acb0
2011-08-05 08:22:53 -07:00
Luke Wagner
82b532273f Bug 678362 - HashTable should not require callers to bounds-check initial capacity (r=waldo)
--HG--
extra : rebase_source : d0bb0faa097cd04b5be0644f17a37fb96aaffc2d
2011-08-11 18:10:16 -07:00
Luke Wagner
82d1f93fca Bug 677367 - Update pc in mjit throw-handling to match interp (r=dvander)
--HG--
extra : rebase_source : f57e8869d09959c444e13416c960a864f407de4a
2011-08-11 16:59:55 -07:00
Luke Wagner
7bed016524 Bug 677367 - Debug eval-in-frame needs to compute this of enclosing frame (r=jorendorff)
--HG--
rename : js/src/jit-test/tests/bug666448.js => js/src/jit-test/tests/basic/bug666448.js
extra : rebase_source : 0e58378c7456739e305fe2ed10a06a85dedbe830
2011-08-10 17:34:34 -07:00
Ehsan Akhgari
bb6cfae3d6 Bug 680277 - Debug builds should always be compiled with frame pointers; r=khuey 2011-08-18 19:16:25 -04:00
Ms2ger
5406bc5b33 Merge m-c to m-i. 2011-08-18 22:01:33 +02:00
Terrence Cole
5db6e596e0 Bug 547875 - No OOM check on trace when creating a null closure in JSOP_LAMBDA r=dmandelin 2011-08-18 21:50:18 +02:00
Jason Orendorff
4235dced5c Bug 679879 - Change JSFunction macros to methods. Part 2, js/src changes. r=Waldo. 2011-08-18 12:39:44 -05:00
Jason Orendorff
e03d6ae0ab Bug 679013 - jsdbg2: Crash when a scripted proxy handler throws Error.prototype. r=Waldo. 2011-08-18 12:30:19 -05:00
Kyle Huey
c29ddcfaa4 Merge b-s to m-c. 2011-08-18 06:49:06 -04:00
Marco Bonardo
5f0e2fc98d Backout changeset e6d269bc23b9 (bug 674251) to investigate Tdhtml regression on Mac. 2011-08-18 10:18:08 +02:00
Kyle Huey
78de1cd29f Bug 678867: Commit the half of the patch that mysteriously vanished. r=ted 2011-08-17 17:39:11 -04:00
Kyle Huey
80800be4e5 Bug 678867: Eradicate VPATH abuse from js/src. r=ted 2011-08-17 14:15:06 -04:00
Kyle Huey
de6e8acfb3 Merge m-c to b-s. 2011-08-17 07:32:25 -04:00
Mike Hommey
889bc1e410 Backout changesets 66b336cc59b1 and dfe63797f67a (bug 676252) beause of Linux opt perma-red 2011-08-17 07:45:20 +02:00
Ehsan Akhgari
6ebbd9cd9e Bump the Firefox versions from 8 to 9 on mozilla-central 2011-08-16 14:24:21 -04:00
Luke Wagner
7fc4640d11 Bug 679251 - InlineReturn should advance the pc always (r=dvander) 2011-08-16 09:23:30 -07:00
Brian Hackett
24c7f785f6 Fix GC hazard, bug 679094. r=jorendorff. 2011-08-16 06:52:44 -05:00
Mike Hommey
06def372f6 Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted 2011-08-16 09:19:51 +02:00
Daniel Holbert
03ca49f291 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Steve Fink
0c99ef82c8 Bug 679893 - Move up handling of -D js shell argument so that JSOPTION_PCCOUNTS is set before constructing the initial script for Function class (r=cdleary)
--HG--
extra : rebase_source : 4a075c9091fd0ca6bb66df908360e1c3828be496
2011-08-17 15:14:39 -07:00
Ehsan Akhgari
0217d4f515 Backout changeset b75337bbcf6b (bug 677864) because of xpcshell test failure 2011-08-17 17:11:23 -04:00
arno renevier
b9993b42fa Bug 677864 - Fixes components members class description. r=mrbkap
--HG--
extra : rebase_source : 881d2b170dfbbd75848600a6b723e27bbc5e71e3
2011-08-16 13:57:58 -07:00
arno renevier
c0c2fd819c Bug 677880 - Rename nsIScriptableInterfaces and nsIScriptableInterfacesByID. r=mrbkap
--HG--
extra : rebase_source : 3d4f7062b9a1c9b07d51660751e121b141bb968c
2011-08-16 13:57:23 -07:00