Commit Graph

10372 Commits

Author SHA1 Message Date
David Anderson
aec4251d05 [JAEGER] Removed jsops.cpp to merge from fatval. 2010-07-12 10:37:28 -07:00
Sean Stangl
714fefa9b1 [JAEGER] Fast-path boolean for JSOP_IFEQ, JSOP_IFNE; (577973, r=dvander). 2010-07-11 18:48:36 -07:00
Sean Stangl
2cc55ac57e [JAEGER] Reorder js_ValueToBoolean() based on measured frequencies; (575766, r=dvander). 2010-07-11 18:21:41 -07:00
Chris Leary
1834523ed5 Bug 577708: Remove Algol-like display optimization. (r=dvander) 2010-07-11 00:57:13 -07:00
Andrew Drake
7e02a39d0e [JAEGER] Fix crash when calling non-function object. r=dvander, b=577646 2010-07-10 21:19:32 -07:00
David Anderson
60bf1c38e0 [JAEGER] Fixed bug where DEFLOCALFUN didn't emit DEFUPVAR. 2010-07-10 12:26:27 -07:00
David Anderson
4efc453c83 [JAEGER] Added test case for bug 577580. 2010-07-10 12:25:56 -07:00
Brendan Eich
72e638d9ef arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Jason Orendorff
cdfa6b4210 Fix debug non-threadsafe builds. rs=brendan. 2010-07-23 11:32:50 -05:00
Jacek Caban
f55478a89b Bug 578340 - Sync jschar and PRUnichar on Windows r=jorendorff 2010-07-23 17:03:43 +02:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Igor Bukanov
8e449d33fb bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap 2010-07-22 22:59:59 +02:00
Andreas Gal
817e9fe04a Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
David Anderson
d71e2e99b0 [JAEGER] Fixed reference errors causing a crash in name ICs (bug 577580). 2010-07-08 17:42:22 -07:00
Luke Wagner
9fbd3ed3ef Bug 577155 - fix silly error in the fatvalification of Reify 2010-07-07 23:39:50 -07:00
David Anderson
f9aa2e7207 [JAEGER] Remove some stores from slow links. 2010-07-07 18:13:42 -07:00
David Anderson
99c8602803 [JAEGER] Remove unnecessary fast-path stores that are rooted by conservative GC. 2010-07-07 18:13:40 -07:00
Igor Bukanov
246300e968 bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Sean Stangl
68723725a7 [JAEGER] Implement boolean guard for JSOP_AND and JSOP_OR; (575766, r=dvander). 2010-07-06 01:10:18 -07:00
Alan Pierce
79e0a74022 [JAEGER] Fix build failure. 2010-07-06 00:57:55 -07:00
Alan Pierce
2772052dcb [JAEGER] Special-case parseInt(double) in num_parseInt. r=dvander b=576934 2010-07-06 00:38:13 -07:00
David Anderson
f61f0ac54c [JAEGER] Fixed mismatched calling convention causing silently bad codegen. 2010-07-06 00:43:05 -07:00
Luke Wagner
94d4737738 Tweak comment to trigger rebuild 2010-07-06 00:28:33 -07:00
David Anderson
3dbfde2a1d [JAEGER] Band-aid for computed this. 2010-07-06 00:01:10 -07:00
Luke Wagner
6c45614fba Merge 2010-07-05 21:53:13 -07:00
Luke Wagner
673d7fe560 Comment change to trigger another build 2010-07-05 21:51:44 -07:00
Leon Sha
c319972048 Bug 575205 - JM: Make JaegerMonkey work on Solaris x86/x64 with Sun Studio 12. r=dvander. 2010-07-06 12:14:58 +08:00
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
Jacek Caban
ea46c1e1f9 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02: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
Andreas Gal
56feb20e14 Merge for backout. 2010-07-12 23:18:54 -07:00
Andreas Gal
7e4c61ce49 Backed out changeset 864b37b4c91c. Missing bug# and review. 2010-07-12 23:18:18 -07:00
taustin@Thomas-Austins-Computer.local
1669cc32d4 merging changes 2010-07-12 22:44:32 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
taustin@host-6-61.mv.mozilla.com
2f0222e5ec Remove Narcissus's dependencies on features available only in special builds 2010-07-12 16:58:38 -07:00
Chris Jones
7204a29e23 Compile with -D__STDC_LIMIT_MACROS to avoid having to fight with system headers over which includes stdint.h first. irc-r=jimb,Waldo 2010-07-12 18:06:23 -05:00
Blake Kaplan
585582ee3a Bug 576351 - Make this assertion not fire if the caller has UniversalXPConnect. r=jorendorff 2010-07-12 14:11:14 -07:00
Ben Turner
46309e70df Bug 575517 - 'Optional jsvals that are not specified should be JSVAL_VOID, not JSVAL_NULL'. r=jst 2010-07-12 10:04:59 -04:00
Nicholas Nethercote
e8ffc335c1 Bug 577764 - TM: avoid a dead guard at the end of loop fragments. r=dvander. 2010-07-12 11:01:58 +10:00
Robert Sayre
951426beed Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
Chris Leary
94f23c0a06 Arena pool macros don't want to die. 2010-07-11 00:09:34 -07:00
Chris Leary
48398c7423 Bug 559408: Arena macros to methods. (r=galish) 2010-07-10 23:19:14 -07:00
Eli Friedman
13ea715e27 Bug 576359 - Remove unused function from jstracer.cpp (which breaks building with clang) r=brendan 2010-07-12 11:57:11 +02:00
Raul Porcel
be36109c38 Bug 577319 - Fixed OS_TEST case for ARM r=khuey 2010-07-12 11:56:09 +02:00
Igor Bukanov
fe84ed0d56 bug 572494 - removal of JSObjectOps::defaultValue, r=jorendorff 2010-07-07 09:53:47 +02:00
Robert Sayre
2a902f1084 Merge. 2010-07-08 18:18:36 -07:00
Robert Sayre
34b4182b78 Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Andreas Gal
9f011207b0 re-seed PRNG when clearing the scope (577512, r=bz). 2010-07-08 16:00:54 -07:00
Jeff Walden
1cb8edcb96 Bug 577375 - Make CPOWs handle all-properties enumeration correctly. r=gal 2010-07-07 15:11:17 -07:00
Andreas Gal
b890c190fb Make sure proxy objects always have a parent (576714, r=jorendorff). 2010-07-07 12:32:36 -07:00
Robert Sayre
1ae649adc3 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Jason Orendorff
52ec4ddc8d Bug 576755 - JS_Assert on Windows produces a stack MSVS 2010 debugger can't decipher. r=dmandelin. 2010-07-06 04:29:45 -05:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Mark Banner
f83652490d Bustage fix follow up to changeset d92fd4a1ddf5 (part of bug 568691) - remove unnecessary semi-colons that are causing bustage on non-libxul Linux builds 2010-07-05 08:36:36 +01:00
Sean Stangl
2cab35aba7 [JAEGER] Implement double (inline) + int (ool) fast-paths for JSOP_NEG.
The results of this patch are currently dubious:
3d-morph gets significant improvement (1.22x), but most other tests
are slowed. In total, there is a 2ms improvement locally for SunSpider.

However, jsop_neg() is much simpler code than jsop_binary(),
so it is useful to exist during the FrameState tweaking.
Comments have been left to be helpful during this process.
2010-06-26 06:50:21 -07:00
Sean Stangl
be22cf687e [JAEGER] Fix build if debugging is disabled; apply clown shoes. 2010-06-26 04:06:56 -07:00
Sean Stangl
6d9e513d93 [JAEGER] Fix inconsequential off-by-one error in a debugging function. 2010-06-26 03:50:54 -07:00
Sean Stangl
b2fab58494 [JAEGER] Nit: fix previous patch to pretend that a macro is safe. 2010-06-26 03:45:20 -07:00
Sean Stangl
44713aea6d [JAEGER] Print JaegerSpew offsets as hex to match GDB; fix inconsistencies.
JaegerSpew is useful for determining the order in which instructions are generated.
GDB is useful for determining the order in which instructions are executed.
This brings JaegerSpew to have the same readable format as GDB's output.
2010-06-26 03:42:22 -07:00
Sean Stangl
3a756c8153 [JAEGER] Implement JaegerSpew for SSE2 instructions. 2010-06-26 03:10:02 -07:00
Sean Stangl
3eb7920074 [JAEGER] Implement int+double arithmetic fast-paths. 2010-06-25 18:23:35 -07:00
Sean Stangl
5c22a54a9e [JAEGER] Update StubCompiler, FrameState, and Compiler for double arithmetic paths. 2010-06-25 18:21:36 -07:00
David Mandelin
67eb767a51 Bug 574874: relax assertion as needed 2010-06-25 17:47:48 -07:00
David Mandelin
113fdd40ed Bug 574518: Better solution: recur until error so that test autotunes for memory usage 2010-06-25 16:47:30 -07:00
David Anderson
714f19d3e3 [JAEGER] Peephole optimize stores away for localinc. 2010-06-25 16:45:21 -07:00
David Mandelin
ffa14c0ca4 Check for void jsid returned from JS_NextProperty in ctypes 2010-06-25 16:42:57 -07:00
David Mandelin
08b4c31ff3 Clean up unneeded initializers from previous patch 2010-06-25 14:58:34 -07:00
David Mandelin
53570dcb31 Bug 574745: fix com ptr usage causing leak on fatval buildbots 2010-06-25 14:22:02 -07:00
David Anderson
fe3c83d266 [JAEGER] Kill redundant stores of type tags to synced memory on fast-paths. 2010-06-25 11:42:47 -07:00
Jacek Caban
2655d7d62e Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Jacek Caban
618928dd9b Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Ginn Chen
1e8dd96599 Bug 580549 NativeSparc.cpp failed to compile r=leon.sha 2010-07-22 15:07:07 +08:00
Luke Wagner
d232049628 Fix jshashtable.h bustage 2010-07-21 19:47:02 -07:00
Luke Wagner
3dfee16b90 Bug 580633 - Do less copying when adding elements to HashMap (r=bz) 2010-07-21 19:01:33 -07:00
Sean Stangl
71a64382fa Bug 580745 - Add JSValueShiftedTag (r=lw) 2010-07-21 18:57:01 -07:00
Jacek Caban
f6ed6f676b Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Luke Wagner
d6d1d9681f Merge 2010-07-26 22:20:09 -07:00
Luke Wagner
4d78015a11 Backed out changeset 89dc3a238da0 2010-07-26 22:19:04 -07:00
Luke Wagner
05a3a958d0 Move jsprvtd.h above jshashtable.h include in jscntxt.h to hopefully fix msvc bustage 2010-07-26 21:52:00 -07:00
Luke Wagner
d5094d4883 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-26 21:09:23 -07:00
Luke Wagner
3d018beb23 Bug 581784 - Update this in the tracker (r=gal) 2010-07-26 20:55:15 -07:00
Luke Wagner
aa7965a17e Bug 581769 - fix JS_ValueToId on xml object. remove spurious iterator assert (r=waldo)
--HG--
extra : rebase_source : e3485c5d7b586303a35d169cd2e51413f85c33c5
2010-07-26 17:05:17 -07:00
Jeff Walden
8dd21fe50e Bug 562448 - Function.prototype.apply should accept any arraylike arguments. r=brendan
--HG--
extra : rebase_source : 1c6fc72b2b6a30d18e15c30ff84fa529e70709b0
2010-07-16 14:53:37 -05:00
Jeff Walden
173c4d1adf Bug 531675 - Ignore the second argument of eval, except to warn once per JSScript (per function, or per global script for uses not in functions) that it's not supported. (Again.) r=mrbkap
--HG--
extra : rebase_source : 2a0b9670e7c2c90ab0c41d37e3ab99c3bbc4c819
2010-07-23 11:27:07 -05:00
Jason Orendorff
b1284554d5 Bug 566637 - TM: "this.a" reads from stale global object slots after global variable "a" changes value. r=gal.
--HG--
extra : rebase_source : 7f6cce244ea8cdf429e9467eef4f3feb31978d27
2010-07-26 18:19:23 -05:00
Andreas Gal
56d9d112e9 Use LIR_qasd for 64-bit unbox code (582076, r=luke). 2010-07-26 14:41:44 -07:00
Jason Orendorff
66e365186f Bug 581356 - Silence another MSVC warning. (dmandelin just checked in half of the patch in the bug.) r=Waldo. 2010-07-26 13:46:13 -05:00
David Mandelin
3125a566c7 No bug, fix MSVC warnings, no_r=me 2010-07-26 12:04:53 -07:00
Igor Bukanov
5a2d54d6b1 bug 552266 - followup to fix jslock.cpp to use cx->thread->requestContext, not cx->requestDepth, when claiming titles. 2010-07-26 21:02:10 +02:00
Igor Bukanov
248a67333b bug 579100 - various GC cleanups. r=anygregor 2010-07-26 20:44:04 +02:00
Sean Stangl
3c47327224 [JAEGER] Hack: manually increase depth for JSOP_PROPINC,DEC; r=dvander. 2010-06-25 01:21:52 -07:00
Luke Wagner
b6ba48936a Merge 2010-06-24 22:09:56 -07:00
Luke Wagner
e80b60a250 Fix bug where vp_ins was being passed uninitialized to SetPropertyByName 2010-06-24 22:09:03 -07:00
David Mandelin
fb83e7796d Fix jsreftest js1_5/Regress/regress-159334.js 2010-06-24 17:39:01 -07:00
David Mandelin
001939737c Bug 574518: adjust test case to account for greater stack memory usage in Interpret
--HG--
extra : rebase_source : d8cee395b898d809020b503b83a402de8cb88eee
2010-06-24 17:14:06 -07:00
David Anderson
d3b42d0841 [JAEGER] Fixed memory bug in call path. 2010-06-24 16:32:15 -07:00
Luke Wagner
2365632b1c Merge 2010-06-24 16:29:36 -07:00
Luke Wagner
d59fc36dbf Add back the js_UnboxDouble check in TraceRecorder::box_value, simplify code that skips the js_UnboxDouble 2010-06-24 16:28:08 -07:00
David Anderson
330812bfd3 [JAEGER] Removed debug profiling. 2010-06-24 16:21:45 -07:00
David Anderson
cc3ce07f82 [JAEGER] More fast-paths for NOT. 2010-06-24 15:28:30 -07:00
Jeff Walden
c626757f95 Bug 574474 - Eliminate a gratuitous property-name copy from the implementation of Object.keys. r=gal 2010-06-24 15:03:54 -07:00
Jeff Walden
b13001e602 Bug 509733 - ES5: arguments.toString() === "[object Arguments]". r=brendan 2010-07-13 16:39:03 -05:00