Commit Graph

10223 Commits

Author SHA1 Message Date
David Anderson
0ddb5ebacc [JAEGER] Unbroke build, merge merge merge. 2010-07-05 20:14:42 -07:00
Luke Wagner
8c317f0f93 Stick jsops.cpp into jsinterp.cpp, where it belongs 2010-07-05 18:28:41 -07:00
Luke Wagner
29555a0cb9 Turn quick-stubbed traceable natives back on 2010-07-05 18:28:15 -07:00
David Anderson
64fd3377e9 [JAEGER] Merge from fatval & TM. 2010-07-05 18:07:39 -07:00
Luke Wagner
6a7978aebd Merge from TM 2010-07-05 14:08:20 -07:00
Luke Wagner
4859d6f3af Fix build bust. Remove upper/lower case diagnostic in xpconnect 2010-07-05 14:02:41 -07:00
David Anderson
c9b2aacfe3 [JAEGER] PIC for writes to escaped call objects. 2010-07-05 13:56:56 -07:00
Luke Wagner
e501d7e0b5 Remove lowercase/uppercase name check 2010-07-05 13:56:20 -07:00
Luke Wagner
97d36215fd Change asX to toX, asXRef to getXRef, XTag to XValue 2010-07-05 13:44:59 -07:00
David Anderson
14c9baf4e0 [JAEGER] Added PIC for reads from an escaped call object. 2010-07-05 13:44:01 -07:00
Wes Garland
c0cab6c84e Bug 575379 jsapi-test for JSClass::getProperty. r=jorendorff 2010-07-05 12:27:04 -04:00
Luke Wagner
a8bbd6e292 Change the type of jsid in release builds so that it is always different than jsval 2010-07-05 04:22:37 -07:00
Luke Wagner
86eab7cd9a For some wacky reason, jsuint gets assigned different types in TabParent.cpp on MSVC and this gives a linker error 2010-07-05 04:11:33 -07:00
Luke Wagner
549c391960 Fix bug involving JSVAL_IS_GCTHING's inclusion of null 2010-07-05 02:33:34 -07:00
Luke Wagner
d71c690795 Change default-constructor of Value to initialize to 0. This avoids some warnings when using Value in a HashTable and a few other cases and seems to have no measurable effect. 2010-07-05 01:59:49 -07:00
Luke Wagner
477aedc0ff Tweak jsapi.h/jspubtd.h/jsdbgapi.h 2010-07-05 01:50:08 -07:00
Luke Wagner
b6c66a4c30 Forgot to teach conservative GC about jsid type 2010-07-05 01:41:42 -07:00
Luke Wagner
4dc169abc2 Set argv[-1] to null instead of 0x0 (double) to satisfy the argv[-1] assertion in LeaveTree 2010-07-05 01:14:39 -07:00
David Anderson
fa56975c91 [JAEGER] PIC for JSOP_BINDNAME. 2010-07-05 01:12:18 -07:00
Luke Wagner
d95c06a050 Disable quickstub generation in a different way so as to not fail tests horribly 2010-07-05 00:52:38 -07:00
Luke Wagner
ae4ce7e082 Merge from TM 2010-07-04 23:17:03 -07:00
Nicholas Nethercote
ecd4996a85 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig (TM-specific part). r=gal. 2010-07-04 20:00:33 -07:00
Luke Wagner
78ef13ef62 Avoid crazy JS_STATIC_ASSERT decl conflict on OS X by removing C linkage from jsscript.h 2010-07-04 19:55:05 -07:00
Nicholas Nethercote
a267ea146c Update nanojit-import-rev stamp. 2010-07-04 19:52:07 -07:00
Luke Wagner
b77253dee8 Fix browser bustage from merge 2010-07-04 19:48:36 -07:00
Nicholas Nethercote
588cb18fca Fix ARM bustage for bug 553962. r=me.
--HG--
extra : convert_revision : bb74ad1990fc0299c107c6d44a04c3682e8cb9fe
2010-07-04 19:45:53 -07:00
Nicholas Nethercote
a901c621f3 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig. r=edwsmith.
--HG--
extra : convert_revision : cfbed237877f0939423d9c1ac591c0a7edb5b0c0
2010-07-04 19:39:09 -07:00
Eli Friedman
c7b36cb9f6 Bug 576363 - Qualify accesses to dependent base in js. r=nnethercote.
--HG--
extra : convert_revision : 5c5cacef53d6a42f6226636c0fa71c13e428b52f
2010-07-04 19:12:15 -07:00
Luke Wagner
1cec9d28d0 Fix compilation errors in merge. Trace-tests works 2010-07-04 15:13:23 -07:00
Luke Wagner
d119486317 Merge from TM
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
2010-07-04 14:49:39 -07:00
Luke Wagner
ea3315ad19 Use more casts so confounding conversion rules do produce the wrong bitmask in GetWrapper 2010-07-04 13:56:33 -07:00
David Anderson
2892d7e043 [JAEGER] PIC for not-escaped call objects (bug 576733). 2010-07-04 13:18:55 -07:00
Luke Wagner
1bbdcb442c Remove bogus tag-testing in conservative GC; fix warning; define js_GetterOnlyPropertyStub appropriately 2010-07-04 12:55:13 -07:00
Luke Wagner
a190b35d3a Browser build fixes (stuff still broken) 2010-07-04 12:35:21 -07:00
Luke Wagner
d52a11e637 Get merge building js shell and passing trace/ref tests. Still need to fix up browser 2010-07-04 00:12:06 -07:00
David Anderson
bd89a0cfdf [JAEGER] Added fast-path for JSOP_OBJTOSTR. 2010-07-03 13:21:23 -07:00
David Anderson
3487c67a9d [JAEGER] Fixed bug in JSOP_POS. 2010-07-03 13:13:20 -07:00
Jason Orendorff
c46ef62c01 Merge fix for bug 575208. 2010-07-03 08:10:46 -05:00
Chris Leary
4d381b0e29 One more changeset to back out. (r=red) 2010-07-03 02:06:14 -07:00
Chris Leary
1101ca3628 Back out Yarr until I can unbreak ARM build. (r=red) 2010-07-03 01:54:21 -07:00
Chris Leary
3df5948663 Push-and-pray to try to fix ARM build breaks. (r=red). 2010-07-02 23:57:51 -07:00
Chris Leary
4ec22b4904 Bug 564953: Port of Yarr regexp engine and Nitro macroassembler. No PPC support. (r=gal,lw) 2010-07-02 22:25:37 -07:00
Sean Stangl
bcde0f1fc6 [JAEGER] Merge with fatval. 2010-07-02 21:52:25 -07:00
Andreas Gal
b352f081cf Only check for proxy handler if we are sure its a proxy (fallout bug 574924, r=orange). 2010-07-02 18:53:00 -07:00
Robert Sayre
fd390f1273 Fix ObjectWrapperChild bustage 2010-07-02 18:17:06 -07:00
David Anderson
e8807ea6da [JAEGER] Implement JSOP_POS. 2010-07-02 18:09:12 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
David Anderson
bbc39f5459 [JAEGER] Implement JSOP_DEFLOCALFUN_FC. 2010-07-02 17:18:05 -07:00
David Anderson
b1196df5af [JAEGER] Implement JSOP_ARGSUB. 2010-07-02 17:11:30 -07:00
David Anderson
a08f6aa8cd [JAEGER] Fixed |this| not being set correctly in SlowNew (bug 576398). 2010-07-02 16:57:39 -07:00
Andreas Gal
1f9000189f Move wrappers directory in a desperate attempt to make our build system build bug 574924.
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
rename : js/src/xpconnect/src/wrappers/AccessCheck.h => js/src/xpconnect/wrappers/AccessCheck.h
rename : js/src/xpconnect/src/wrappers/CrossOriginWrapper.cpp => js/src/xpconnect/wrappers/CrossOriginWrapper.cpp
rename : js/src/xpconnect/src/wrappers/CrossOriginWrapper.h => js/src/xpconnect/wrappers/CrossOriginWrapper.h
rename : js/src/xpconnect/src/wrappers/FilteringWrapper.cpp => js/src/xpconnect/wrappers/FilteringWrapper.cpp
rename : js/src/xpconnect/src/wrappers/FilteringWrapper.h => js/src/xpconnect/wrappers/FilteringWrapper.h
rename : js/src/xpconnect/src/wrappers/Makefile.in => js/src/xpconnect/wrappers/Makefile.in
rename : js/src/xpconnect/src/wrappers/WrapperFactory.cpp => js/src/xpconnect/wrappers/WrapperFactory.cpp
rename : js/src/xpconnect/src/wrappers/WrapperFactory.h => js/src/xpconnect/wrappers/WrapperFactory.h
rename : js/src/xpconnect/src/wrappers/XrayWrapper.cpp => js/src/xpconnect/wrappers/XrayWrapper.cpp
rename : js/src/xpconnect/src/wrappers/XrayWrapper.h => js/src/xpconnect/wrappers/XrayWrapper.h
2010-07-02 15:26:27 -07:00
Jason Orendorff
bc777c6d16 Bug 575208 - Crash [@ js::ExecuteFrameGuard::~ExecuteFrameGuard] or "Assertion failure: origin != destination". r=gal. 2010-07-02 16:51:42 -05:00
Andreas Gal
43c2871713 Makefile fix for bug 574924. 2010-07-02 14:45:52 -07:00
David Anderson
2f47f6789e [JAEGER] Added test case for bug573433. 2010-07-02 14:19:58 -07:00
David Anderson
67e8dc98c4 [JAEGER] Properly sync for calls that will always be slow (bug 573433). 2010-07-02 14:19:13 -07:00
David Anderson
84de2ed77d [JAEGER] Don't pass a function when compiling from Execute. 2010-07-02 14:19:11 -07:00
Andreas Gal
eb1fce2bf5 Missing files for bug 574924. 2010-07-02 14:09:48 -07:00
Andreas Gal
38966949eb Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Chris Leary
aa4f41d836 Bug 576148: Factor out js::UpvarCookie. (r=mrbkap, dvander) 2010-07-02 13:37:39 -07:00
Sean Stangl
abc94e7ce7 [JAEGER] Rename copyConstantIntoReg() as copyInt32ConstantIntoReg(). 2010-07-02 12:20:48 -07:00
Sean Stangl
779d2a3dd0 [JAEGER] Reimplement tempRegForConstant() as copyConstantIntoReg(); (576417, r=dvander). 2010-07-02 11:56:34 -07:00
Jason Orendorff
d5b786b24f Bug 576295 - Fix tests.py to work on Windows. r=dmandelin. Re-landing. 2010-07-02 12:08:46 -05:00
timeless@mozdev.org
2445345373 Bug 576386 - AddPropertyHelper builtin would crash under JS_UNLOCK_SCOPE if js_GetMutableScope fails. r=jorendorff. 2010-07-02 09:57:19 -05:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Vladimir Vukicevic
3a3fe786d8 sync up js/src/build/autoconf/make-makefile 2010-07-02 12:09:37 -07:00
Benjamin Smedberg
76af4cae87 Fix --disable-libxul from bug 568691. r=Mossop 2010-07-02 14:23:41 -04:00
Jacob Bramley
a72a022883 [JAEGER] Integrate the ARM back-end into the fatval branch. [Bug 572633] [r=dvander] 2010-07-02 11:34:56 +01:00
Jacob Bramley
12086ce4d6 [JAEGER] Remove a reference to js::Vector's 'at' method (which no longer exists). [Bug 572633] [r=dvander] 2010-07-02 11:34:56 +01:00
Jacob Bramley
f6d9fe3559 [JAEGER] Tweak formatting to (partially) fix build on ARM. Notably, trailing commas are removed from enumerations. [Bug 572633] [r=dvander] 2010-07-02 11:34:56 +01:00
Jacob Bramley
6b591368a4 [JAEGER] Fix a minor #if mistake so the ARM implementation of cacheFlush works again in GCC. [Bug 572633] [r=dvander] 2010-07-02 11:34:56 +01:00
Luke Wagner
15a253d499 Merge 2010-07-01 23:10:37 -07:00
Luke Wagner
5ba7a6228b Fix jsval_layout for 32-bit big-endian 2010-07-01 13:06:36 -07:00
Peter Van der Beken
177ce7eab7 Fix dtrace (thanks to peterv) 2010-07-01 12:52:47 -07:00
Luke Wagner
6336e14550 Big fat explanatory comment about values in jsvalue.h 2010-07-01 12:28:30 -07:00
Sean Stangl
6d913a5c1f [JAEGER] Visually identify OOL path in JaegerSpew asm; (576122, r=dvander). 2010-07-01 12:21:30 -07:00
Luke Wagner
6230b01e41 Move more definitions out of jsval.h and into jsvalue.h (public header to private header) 2010-07-01 11:43:30 -07:00
Jason Orendorff
f757f0f424 Bug 576295 - Fix jstests.py on Windows (preexec_fn). r=dmandelin. 2010-07-01 13:22:46 -05:00
David Anderson
3d36343449 [JAEGER] Convert FrameState to use types, not tags. 2010-07-01 01:17:42 -07:00
Luke Wagner
42890c79a8 Double browser max heap size. Change shell heap size so it matches. 2010-06-30 20:02:00 -07:00
Andreas Gal
05809b456b When reifying an iterator into a new compartment, close the original iterator (575486, r=mrbkap). 2010-06-30 19:47:34 -07:00
Nicholas Nethercote
6578bf69e6 Update nanojit-import-rev stamp. 2010-06-30 19:09:46 -07:00
Nicholas Nethercote
dac3291064 Bug 513514 - nanojit: make hint() faster. r=edwsmith.
--HG--
extra : convert_revision : f95a1857f8fec03f4fa24c84cbb6222c4820c5a7
2010-06-30 18:32:06 -07:00
Luke Wagner
abc0ed6b6d Fix build bustage 2010-06-30 18:23:30 -07:00
Luke Wagner
d1c1fdd62b Fix build bustage on MSVC 2010-06-30 18:05:19 -07:00
Luke Wagner
8c46bea4d0 Forgot to add jsval.h and jsvalue.h 2010-06-30 17:52:02 -07:00
Luke Wagner
68403a872a Get narcissus compiling 2010-06-30 16:32:44 -07:00
Luke Wagner
71da5b9aa9 Split extract*Type functions and add comments explaining usage 2010-06-30 15:45:54 -07:00
Luke Wagner
c2f68a0182 Pull jsval impl details into jsvalimpl.h (included by jspubtd.h) and pull js::Value into jsvalue.h (engine-private) 2010-06-30 15:25:47 -07:00
David Anderson
88a1f5a480 [JAEGER] Merge. 2010-06-30 12:00:36 -07:00
David Anderson
9c55bbcdbc [JAEGER] Merge from fatval. 2010-06-30 11:46:07 -07:00
Luke Wagner
f82e2f8002 Take the "Raw" out of MarkRaw and MarkGCThingRaw. It offends Andreas, and it might be a bad name 2010-06-29 23:02:23 -07:00
Luke Wagner
19f7cefc18 Drop the distinction in js::Value of funobj vs. nonfunobj. Instead, values can just have JSVAL_TYPE_OBJECT. The trace-jit still uses funobj/nonfunobj and translates as necessary. 2010-06-29 22:33:52 -07:00
Leon Sha
6efb8225c3 Bug 575205 - JM: Make JaegerMonkey work on Solaris x86/x64 with Sun Studio 12. r=dvander 2010-06-29 21:02:49 -07:00
David Mandelin
d54cab52c5 Bug 575847: use new global ops only in compile-and-go mode 2010-06-29 17:22:02 -07:00
David Mandelin
59f147f7db Bug 575828 stopgap: disable JS_THIS from compiling in C. 2010-06-29 16:28:17 -07:00
David Mandelin
a9158f2ebf Stopgap fix for startup crash, filed as bug 575800 2010-06-29 15:30:53 -07:00
David Anderson
2bba20657d [JAEGER] Merge. 2010-06-29 13:30:18 -07:00
David Anderson
2b78519a45 [JAEGER] Fixed JSOP_NEG fast-path trying to load constant type tags. 2010-06-29 13:29:54 -07:00
David Anderson
2edc12b5ce [JAEGER] Fixed debug build. 2010-06-29 13:29:39 -07:00
David Mandelin
af236effc8 MSVC build fix: MSVC requires unsigned-suffix to precede long-suffix 2010-06-29 13:08:33 -07:00
David Anderson
9d91d7d5a9 [JAEGER] Merge from fatval. 2010-06-29 11:54:42 -07:00
Luke Wagner
6986d7f53e Change runtime size to 128MB from 64MB. It seems like we are running up to this limit with v8-splay and so we spend a lot more time GC'ing. Need to see if we should do this for the browser as well. 2010-06-29 02:35:39 -07:00
Luke Wagner
b8a731853a Put JSContext argument back at the end of SameValue (apparently that means something) 2010-06-29 02:08:07 -07:00
Luke Wagner
ae0f7e12b6 Change js::DumpX back to js_DumpX 2010-06-29 01:49:55 -07:00
Luke Wagner
86f4b4504b Use the same tag/payload trick in js_UnboxInt32 as js_UnboxDouble 2010-06-29 01:42:28 -07:00
Luke Wagner
313b355d22 Rearrange JSStackFrame... for 2% on both SS and V8 2010-06-29 01:07:12 -07:00
Chris Leary
21e4248a17 JM: Bug 574697, eagerly calculate |this|. (r=dvander) 2010-06-28 22:24:21 -07:00
Sean Stangl
3b19bc0aaa [JAEGER] Fix strict aliasing violation; r=dvander. 2010-06-28 20:15:05 -07:00
David Anderson
d07863b3f3 [JAEGER] Removed unused "weak" parameter on RegState. 2010-06-28 18:43:32 -07:00
David Anderson
cb375458bd [JAEGER] Merge from fatval. 2010-06-28 18:31:39 -07:00
David Anderson
b9fd0759f7 [JAEGER] Merge from fatval. 2010-06-28 18:16:12 -07:00
Luke Wagner
10745fb373 Merge 2010-06-28 18:10:50 -07:00
Luke Wagner
ab3a0d3ffa Add 64-bit tracing support 2010-06-28 18:08:28 -07:00
David Anderson
3935029d4a [JAEGER] Fixed windows build. 2010-06-28 16:20:06 -07:00
David Anderson
b8b42cf3b3 [JAEGER] Merge from fatval. 2010-06-28 15:53:37 -07:00
David Anderson
7c08affa73 [JAEGER] Make x64 tinderboxes happy. 2010-06-28 15:53:07 -07:00
David Anderson
da423a57a7 Fixed Linux 64-bit opt build. 2010-06-28 15:51:50 -07:00
David Anderson
5b04a102b2 [JAEGER] Let x64 tinderboxes actually build. 2010-06-28 15:38:46 -07:00
David Anderson
bd2dbde8d3 [JAEGER] Merge from fatval. 2010-06-28 15:22:45 -07:00
David Anderson
7231645a01 [JAEGER] Merge. 2010-06-28 13:02:24 -07:00
David Anderson
e0c1266630 [JAEGER] Use PICs for SETNAME. 2010-06-28 13:02:01 -07:00
Sean Stangl
c0dd563e9c [JAEGER] Output better code in jsop_not(); (575227, r=dvander). 2010-06-28 11:58:40 -07:00
David Anderson
4ce6828361 [JAEGER] Update FORLOCAL fast-path for jsid iteration. 2010-06-28 11:49:37 -07:00
David Mandelin
452e333382 Bug 573578 followup: restore JS_IdToValue API to original functionality 2010-06-28 11:40:33 -07:00
Jacob Bramley
61d3b0e262 Add some soft-float lirasm tests and automate testing of alternate configurations for ARM. [Bug 573998] [r=stejohns]
--HG--
extra : convert_revision : 491cac5771d8051c50ed3a5b304500400d9d8f0b
2010-06-28 09:37:41 +01:00
Sean Stangl
f6ffd74069 [JAEGER] Clean up jsop_neg(). (575192, r=dvander) 2010-06-28 01:14:48 -07:00
Sean Stangl
c196c4cb42 [JAEGER] Implement fast-paths for integer, double division. 2010-06-27 18:35:44 -07:00
Sean Stangl
70fffbcd5a [JAEGER] Implement JSC::MacroAssembler::moveDouble(). 2010-06-26 16:10:13 -07:00
Igor Bukanov
d7aedab4b6 bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap 2010-06-26 22:31:54 +02:00
Luke Wagner
fdd5b33385 Bug 579140 - Address review comments in xdr and xpconnect (r=igor,mrbkap) 2010-07-15 18:19:50 -07:00
Andreas Gal
4e11d941dd Disentangle cycle collector and JS GC (549806, r=peterv/igor). 2010-07-15 17:58:36 -07:00
Andreas Gal
f8afdf22b4 Backed out bug 549806. Very frustrating. 2010-07-15 15:39:06 -07:00
Dimitris Vardoulakis
e246dfb71d Extension to the narcissus parser to handle Mozilla-specific extensions to JS (572014, r=pwalton). 2010-07-02 10:29:24 -07:00
Andreas Gal
483a33d003 Backed out bug 573060. 2010-07-15 14:14:26 -07:00
Luke Wagner
549bdba685 fatval tweaks: bump XDR version, remove spurious comment and #defines, realign JSStackFrame 2010-07-15 13:18:12 -07:00
Jeff Walden
eb0c1f7fb0 Fix DEBUG_jwalden code for fatvals. r+sr+ui-r+a=mconnor per firebot2 (an evil doppelgänger?) 2010-07-15 14:28:56 -05:00
Andreas Gal
124d968d35 Move the cycle collector our of the GC callback (573060, r=peterv). 2010-07-15 10:30:37 -07:00
Andreas Gal
a148529929 Disentangle cycle collector and JS GC (549806, r=peterv, igor). 2010-07-15 10:21:34 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Tom Austin
977f814b83 Enable __call__ to work without special extensions (bug=578518, r=gal) 2010-07-14 19:06:09 -07:00
Tom Austin
79dbdce42d Eliminate use of __applyConstructor__ (bug=573792, r=gal) 2010-07-14 18:24:42 -07:00
Andreas Gal<gal@uci.edu>
2da4da2ed6 Make narcissus use ES5 defineProperty (bug 546532, r=dherman) 2010-07-14 16:23:21 -07:00
Tom Austin
92fae79774 Merge 2010-07-14 15:17:34 -07:00
Tom Austin
1dda2b0b6a Create shell for Narcissus JS (bug 572879, r=gal) 2010-07-14 15:02:51 -07:00
Jeff Walden
cc3ad09ad3 Fix orange from bug 509733 changes. r=lumpy 2010-07-14 15:04:02 -05:00
Dave Herman
45865473ec dherman bug 578590, r=brendan : extraneous dereference in JSAtomList::rawLookup 2010-07-14 10:37:42 -07:00
Nicholas Nethercote
931c4fdc17 Update nanojit-import-rev stamp. 2010-07-13 18:20:11 -07:00
Nicholas Nethercote
d49c159b29 Bug 578290 - nanojit: fold constant 64-bit integer expressions. r=stejohns.
--HG--
extra : convert_revision : 94aa179ec87c6a6c0949f1a6b2b6134074eef29b
2010-07-13 18:10:42 -07:00
Nicholas Nethercote
67fb75fb9e Bug 578292 - TM: remove constant equality comparisons occurring for JSOP_ARGUMENTS on 64-bit. r=gal. 2010-07-13 18:03:59 -07:00
Andreas Gal
885c8c4cd0 Compartments can get GCed while we allocate the first object inside of them (576722, r=mrbkap). 2010-07-13 16:22:45 -07:00