Commit Graph

43782 Commits

Author SHA1 Message Date
David Mandelin
cded156f8e Bug 569651: add test case that formerly asserted, but is now WFM 2010-06-16 18:14:37 -07:00
David Anderson
7ab3717436 [JAEGER] Added stub call profiling. 2010-06-16 17:53:35 -07:00
Sean Stangl
e38df23094 [JAEGER] Merge. 2010-06-16 15:33:21 -07:00
Sean Stangl
ce760eead5 [JAEGER] Define temporary FPRegisters.
Defines FPRegisters::First and FPRegisters::Second,
temporary FPRegisters that are always synced to memory.

This will hopefully eventually be obsoleted by having
a FPRegister allocator, once FrameState changes are done.
2010-06-16 15:32:30 -07:00
David Anderson
863fc7bfde [JAEGER] Split JSOP_CALL into more decisions, removed primitive-this check on returns. 2010-06-16 15:21:39 -07:00
David Mandelin
29432cfcd1 Bug 572285: remove spurious assert 2010-06-16 11:22:14 -07:00
Sean Stangl
aafbf3565f [JAEGER] Implement x86/x86_64 xorDouble(); (571743, r=dvander). 2010-06-16 10:47:42 -07:00
David Anderson
9e532246ad [JAEGER] Merge. 2010-06-16 01:16:17 -07:00
David Anderson
bc20a29586 [JAEGER] Inline scripted returns. 2010-06-16 01:16:07 -07:00
Sean Stangl
fb862c18e6 [JAEGER] Rename some functions to make namespace for FPRegisters; (572202, r=dvander). 2010-06-15 18:24:31 -07:00
David Anderson
5285f49ef5 [JAEGER] Fixed memory corruption bug found by Gary Kwong. 2010-06-15 18:23:16 -07:00
David Mandelin
cf66245838 Bug 572229: atomize strings passed to js_HasNamedProperty 2010-06-15 16:00:16 -07:00
David Mandelin
d352690926 Bug 572042: get tracing+fat values to build in the browser. As part of this I disabled the quickstub traceable natives. According to Andreas, we don't necessarily need them for good perf now that we can call the standard quickstub from trace. This build works on simple JS, but there are still bugs (e.g., Google Maps asserts). 2010-06-15 15:43:41 -07:00
Sean Stangl
a6ef9f95cc [JAEGER] Implement integer fast path for multiplication; (572081, r=dvander).
ARM multiplication always uses the slow path for now.
2010-06-15 10:46:01 -07:00
David Anderson
a552b1c8e7 [JAEGER] Added fast-path for JSOP_GETELEM. 2010-06-15 03:46:44 -07:00
Sean Stangl
3ad293a3f4 [JAEGER] Fast paths for integer addition, subtraction; (572081, r=dvander). 2010-06-15 03:16:30 -07:00
Sean Stangl
9e77669f47 [JAEGER] testDouble() should emit an unsigned comparison. 2010-06-15 02:46:56 -07:00
Sean Stangl
00de27cae9 [JAEGER] Fix BITOR, BITXOR. 2010-06-15 02:42:08 -07:00
David Anderson
003df04dec [JAEGER] Rewrite state reification for side exits. 2010-06-15 01:40:39 -07:00
David Anderson
a0047931d5 [JAEGER] Added fast-path for JSOP_SETELEM. 2010-06-15 01:40:36 -07:00
David Mandelin
f2f3967750 Bug 572029: fully specialize for unboxing most numbers 2010-06-14 17:26:59 -07:00
Luke Wagner
e54fb2ea80 Make UnboxDoubleHelper extern to match friend declaration 2010-06-14 14:46:31 -07:00
David Mandelin
94e6c8a2cc Bug 571625: bring back box-after-unbox optimization for tracing with fatvals 2010-06-14 14:24:30 -07:00
Andrew Drake
e0cf7c0a56 Merge. 2010-06-14 14:03:53 -07:00
David Anderson
e260a83f6c [JAEGER] Fixed build. 2010-06-14 13:44:06 -07:00
David Anderson
750be487c8 [JAEGER] Merge. 2010-06-14 13:36:20 -07:00
David Anderson
bc2301898a [JAEGER] Merge. 2010-06-14 13:36:05 -07:00
David Anderson
6ce58480af [JAEGER] Added monomorphic inline caches for SETGNAME. 2010-06-14 13:35:47 -07:00
Andrew Drake
53ecdbb058 [JAEGER] Fix --disable-methodjit build, rs=dmandelin 2010-06-14 13:33:19 -07:00
David Mandelin
e645d90105 Build fixes for opt browser 2010-06-14 13:11:59 -07:00
Sean Stangl
22449ee4d8 [JAEGER] Fix backwards comparison on masm.testDouble(). 2010-06-14 12:56:19 -07:00
David Anderson
56a7c58d38 [JAEGER] Merge. 2010-06-12 19:16:33 -07:00
Sean Stangl
2f941c5f22 [JAEGER] Rename FpReg to JSFrameReg; r=dvander. 2010-06-12 19:11:00 -07:00
David Anderson
297eb1af31 [JAEGER] Added monomorphic inline cache for reads of unbound globals. 2010-06-12 19:00:30 -07:00
David Anderson
82d98ad449 [JAEGER] Predict unbound names as being on the global object (bug 564949). 2010-06-12 19:00:27 -07:00
Sean Stangl
b616a53aee [JAEGER] Define FPRegisters struct; r=dvander. 2010-06-12 18:37:34 -07:00
Sean Stangl
2a5a91c2c0 [JAEGER] Rename alloc() to allocReg(); r=dvander.
This patch is in preparation for making a distinction between
registers and floating-point registers for double fastpaths.
2010-06-12 18:26:36 -07:00
Sean Stangl
8ff57facfa [JAEGER] Use frame.testInt32() instead of masm.testInt32(); r=dvander. 2010-06-11 22:07:10 -07:00
Sean Stangl
1662a83587 [JAEGER] Implement testDouble(); r=dvander. 2010-06-11 21:27:56 -07:00
Sean Stangl
3751e1ceaf [JAEGER] Permit FrameState::copyData() with copied FrameEntries; r=dvander. 2010-06-11 21:27:52 -07:00
Luke Wagner
e01cff89da Change NPAPI not to cast to from NPIdentifier and jsval. Fix silly JSObject::resizeDenseArrayElements bug introduced by earlier commit 2010-06-11 18:09:58 -07:00
Luke Wagner
2a2b97cc3f Merge 2010-06-11 14:19:15 -07:00
Luke Wagner
db5e1acb26 Avoid unnecessary initialization of js::Vector 2010-06-11 14:18:45 -07:00
David Anderson
7b6d3db650 [JAEGER] Merge. 2010-06-11 14:11:04 -07:00
David Anderson
b79115e765 [JAEGER] Optimize how atoms are passed to NAME, CALLNAME, and SETNAME. 2010-06-11 14:10:43 -07:00
David Mandelin
eec97abca4 Make sure dense_grow gets inlined into the tracer functions that call it 2010-06-11 11:29:04 -07:00
Andrew Drake
a25e9507f4 [JAEGER] Fix Win32 build. r=dvander 2010-06-11 11:24:39 -07:00
mozilla@buildmonkey-right.mv.mozilla.com
1da69179fa Write simpler code in JSObject::resizeDenseArrayElements so GCC does not do really really bad register allocation 2010-06-11 10:34:47 -07:00
David Anderson
971e66892c [JAEGER] Statically bind some global functions (bug 562729, r=brendan). 2010-06-10 23:43:14 -07:00
David Anderson
22bcf9d6e7 [JAEGER] Reset JIT properly. 2010-06-10 23:42:44 -07:00