Commit Graph

10223 Commits

Author SHA1 Message Date
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
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
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
David Anderson
7628f2af0f [JAEGER] Merge. 2010-06-24 14:17:29 -07:00
David Anderson
0a0f76d454 [JAEGER] Update JM2 for fatval merge. 2010-06-24 14:17:08 -07:00
David Mandelin
c6783f6875 Removing failure note from test that passes 2010-06-24 14:04:26 -07:00
David Mandelin
aa5846ef98 MacOS build fix 2010-06-24 11:33:45 -07:00
Luke Wagner
558aa8414b Avoid unnnecessary extra LIR in unbox_value 2010-06-24 11:21:20 -07:00
David Anderson
a3709f170d [JAEGER] Merge from fatval branch. 2010-06-24 11:18:01 -07:00
David Mandelin
b3a7fc6846 Adding volatile qualifiers to try to fix Linux build 2010-06-24 11:08:23 -07:00
Jacob Bramley
3af66d7d8e Trivial tweak to the Vim modeline in LIRopcode.tbl. [No bug] [r=me]
--HG--
extra : convert_revision : 104c02bf846011a7e6e9792ecc5e5cb6e92f09fd
2010-06-24 13:18:04 +01:00
Andrew Drake
73b4caf315 [JAEGER] Facilitate iteration over all JSStackFrames in the current stack. r=dvander 2010-06-23 21:59:23 -07:00
David Anderson
ab63b0c9ce [JAEGER] Use PICs for PROPINC and friends. 2010-06-23 23:40:38 -07:00
David Anderson
038d8d654e [JAEGER] Merge. 2010-06-23 23:21:56 -07:00
David Anderson
76bce82fed Backed out changeset 283566427469 2010-06-23 23:21:46 -07:00
David Anderson
516af02b02 [JAEGER] Merge. 2010-06-23 23:19:21 -07:00
David Anderson
a7b1a1cae4 [JAEGER] Completely inline JSOP_INSTANCEOF. 2010-06-23 23:18:54 -07:00
Andrew Drake
8619e4fd69 [JAEGER] Facilitate iteration over all JSStackFrames in the current stack. r=luke 2010-06-23 21:59:23 -07:00
David Mandelin
0800a12fa5 Windows browser build fixes for js/src 2010-06-23 19:01:50 -07:00
David Mandelin
882030f513 Add extra stack space needed for callprop in methodjit 2010-06-23 18:58:17 -07:00
David Mandelin
33c408ba97 Fix PIC for MSVC. enums are apparently signed in MSVC, which caused 'overflow' in the 2-bit kind field 2010-06-23 18:06:51 -07:00
Luke Wagner
561b9386c9 Have box_value callers pass the AccSet to use 2010-06-23 17:50:53 -07:00
Luke Wagner
d474e4bd4a Tweak names/comments to account for JS_NEITHER change 2010-06-23 17:23:57 -07:00
Luke Wagner
42622db476 Merge 2010-06-23 17:13:46 -07:00
David Mandelin
bb7c22a9ba Bug 571623: restore support for traceable natives. With much help from peterv. 2010-06-23 17:11:06 -07:00
David Anderson
a17cb9cbbe [JAEGER] CALLPROP PIC for primitive string methods. 2010-06-23 17:10:58 -07:00
Luke Wagner
eba2e1f102 Merge and fix 2010-06-23 17:06:18 -07:00
Luke Wagner
ed28dae403 64-bit builds and passes trace tests on OS X with --disable-tracejit. reftests has failures, but these also show up on tm and should be fixed by a rebase 2010-06-23 16:58:32 -07:00
David Anderson
82ba121204 [JAEGER] Ported Dave Mandelin's PIC for CALLPROP, objects only (bug 572310). 2010-06-23 16:18:48 -07:00
David Anderson
2669c5fe3a [JAEGER] Turned off accidental debug flag. 2010-06-23 13:51:20 -07:00
David Anderson
992d8e6cde [JAEGER] Fixed build. 2010-06-23 10:50:34 -07:00
David Anderson
ff64349d0b [JAEGER] Use PIC for callprop when compile-and-go and LHS is a primitive string. 2010-06-22 23:22:46 -07:00
David Anderson
b3c8e672cf [JAEGER] Merge. 2010-06-22 23:21:23 -07:00
David Anderson
481fa06044 Backed out changeset 99ce8bcb547c 2010-06-22 23:21:09 -07:00
David Anderson
264aaca0a9 [JAEGER] Infer that an addition with a string will result in a string. 2010-06-22 23:18:53 -07:00
David Anderson
b56e39093f imported patch callpropic_str 2010-06-22 22:55:31 -07:00
Chris Leary
0aca3bfb30 JSOP_ENDINIT fast path, obsoletes stub call. (r=dvander) 2010-06-22 22:40:55 -07:00
Andrew Drake
30a3cc58b6 [JAEGER] Fix build on pedantic compilers, fix win32 shell. r=dvander 2010-06-22 19:11:50 -07:00
David Anderson
79bd5716a1 [JAEGER] Use GETPROP PIC for calls when the LHS is known to be an object. 2010-06-22 17:54:05 -07:00
David Anderson
82f5e8e60e [JAEGER] Fix GETPROP bug with dense arrays. 2010-06-22 16:53:35 -07:00
David Anderson
4e21a7e40e [JAEGER] Use PIC for instanceof's obj.prototype fetch. 2010-06-22 16:21:21 -07:00
David Mandelin
5635d6ffb5 Adding a space to push to cedar 2010-06-22 15:46:26 -07:00
David Mandelin
a2628ff847 Windows C build fix 2010-06-22 15:26:36 -07:00
David Anderson
408c243f13 [JAEGER] Fixed nits from branding fix. 2010-06-22 15:09:07 -07:00
David Anderson
f4a612c01c [JAEGER] Cache atom in PIC directly, instead of index, for simplicity. 2010-06-22 15:07:10 -07:00
David Anderson
7965d753a3 [JAEGER] Tighten method barrier test in SETPROP pic. 2010-06-22 14:50:22 -07:00
David Anderson
d31caee286 [JAEGER] Fixed SETPROP PIC not maintaining branding invariants. 2010-06-22 14:45:16 -07:00
David Anderson
56bdd8b4f7 [JAEGER] Allow patching of the inline path after generating stubs. 2010-06-22 13:32:55 -07:00
Luke Wagner
50d922350a Fix bustage compiling jsapi.h as Objective-C++ 2010-06-22 11:54:27 -07:00
Luke Wagner
bae4687e65 Reuse existing JS_ValueToId instead of introducing new JSVAL_TO_JSID 2010-06-22 11:51:46 -07:00
Luke Wagner
9cdf8a36e7 Fix bug in TraceRecorder::storeHole introduced earlier 2010-06-22 10:47:54 -07:00
Luke Wagner
c872ea6cb5 Fix bugs introduced by overzealous application of setNumber in cset 5c5bb620d2c8 2010-06-22 10:14:11 -07:00