Commit Graph

18844 Commits

Author SHA1 Message Date
Brendan Eich
c7b40d9f99 Bug 454039 - TM: don't abort TraceRecorder::record_JSOP_SETPROP on cache miss (r=mrbkap). 2008-09-09 16:05:04 -07:00
Brendan Eich
ad49bd309d Bug 453918 - TM: eliminate silly map_is_native guards on globalObj (r=shaver). 2008-09-09 16:01:01 -07:00
David Anderson
cd9032e6fe Fixed Linux build, extra qualification on member function. 2008-09-09 13:20:44 -07:00
Brendan Eich
34a2d3c518 Fix build bustage: parent or proto might be not JSObject* when setting to null. r=brendan, patch by bz. 2008-09-09 12:33:28 -07:00
Brendan Eich
40cf4096c7 Avoid needless prototype-shape purges (454035, r=igor). 2008-09-09 09:57:10 -07:00
Andreas Gal
3c8d2430dd Merge. 2008-09-09 17:21:32 +02:00
Andreas Gal
85b1749c8c Capture the typemap of the outgoing stack frame during a function call and store a pointer to it on the native call stack. 2008-09-09 15:16:21 +02:00
Andreas Gal
6a76d26107 Extract the snapshot code for a single slot into determineSlotType() und use that method in snapshot(). 2008-09-09 15:06:23 +02:00
Blake Kaplan
4203e79309 Trace Math.max. r=brendan 2008-09-08 20:06:58 -07:00
Robert Sayre
871c6608b7 Add date tests to correctness checks 2008-09-08 22:36:30 -04:00
Robert Sayre
c6b73406b6 Add controlflow-recursive to correctness checks 2008-09-08 21:15:46 -04:00
Robert Sayre
b381016d68 Add some basic correctness tests for benchmarks 2008-09-08 21:02:57 -04:00
Brendan Eich
cd3284e96a Fix bug 454266 - js_FillPropertyCache uses the wrong scope's shape sometimes (r=mrbkap). 2008-09-08 15:51:47 -07:00
Andreas Gal
32f22d2e1e Don't try to record recursion until we support it properly (454277). 2008-09-08 22:49:17 +02:00
Boris Zbarsky
6e51375684 Removing shark think which landed by accident 2008-09-08 08:57:52 -04:00
Boris Zbarsky
c57647d6f4 Bug 451605. Make sure to properly restore the thisp for the innermost frame when taking a nested side exit with a callDepth > 0. r=brendan,gal 2008-09-08 08:55:20 -04:00
Brendan Eich
082cb07c53 Make return at callDepth 0 terminate the loop, like break (454027, r=gal). 2008-09-08 00:31:18 -07:00
Brendan Eich
e697e5113d Bug 454044 - TM: JSOP_NOT needs isPromoteInt/::demote help. 2008-09-07 01:40:24 -07:00
David Anderson
5018287de0 Trace through parseInt(double), bug 454037 r=gal+brendan. 2008-09-07 02:41:10 -05:00
Vladimir Vukicevic
7c80853b9f Enable tracemonkey/nanojit for ARM. 2008-09-06 01:19:29 -07:00
Brendan Eich
a8474f5a5b Merge. 2008-09-05 20:31:05 -07:00
Brendan Eich
ba17412f5e Easy fixes to avoid aborting on V8/raytrace.js: MAX_CALLDEPTH doubled to 10; JSOP_NOT handles int and undefined. 2008-09-05 18:57:32 -07:00
Brendan Eich
623433f549 Merge. 2008-09-05 18:34:16 -07:00
Brendan Eich
fc936fa1da Checkpoint arguments tour-de-force (453730). 2008-09-05 18:29:08 -07:00
Vladimir Vukicevic
4a51b1989f [arm] Use preindexed STR instruction instead of separate STR and SUB in asm_pusharg 2008-09-05 18:24:58 -07:00
Vladimir Vukicevic
de76f2638d [arm] Have asm_quad copy direct from const to destination, if there's no register allocated for the const -- don't load into fp reg just to store it. 2008-09-05 17:24:54 -07:00
Vladimir Vukicevic
66c6f5db3a [arm] use arm_ADDi and let it take care of LD32 if necessary. 2008-09-05 17:23:36 -07:00
Vladimir Vukicevic
0b61a36a81 [arm] Don't load arg into a register in asm_pusharg if it's not in one already. 2008-09-05 17:19:31 -07:00
Vladimir Vukicevic
5c53ce04cc [arm] Don't use STMIA + ADD to move a fp call result into memory; use two STRs. Also use Scratch + tmp reg for asm_mmq, instead of just tmp. 2008-09-05 17:18:33 -07:00
Vladimir Vukicevic
7f39cd73d0 [arm] speed up store64 with constant value; also use xor for imm0 loads into a gp reg 2008-09-05 17:17:25 -07:00
Vladimir Vukicevic
02b2a31dc8 [arm] make asm_quad stick its constants into the instruction stream, with a branch over, to ensure that the data is close enough for a PC-relative FLDD 2008-09-05 17:15:23 -07:00
Vladimir Vukicevic
6ef2cd20aa [arm] Make ADDi into a function, since it's doing a lot of work 2008-09-05 17:14:05 -07:00
Ginn Chen
2763e5d63e Make TraceMonkey build on Solaris x86 with Sun Studio 12 (bug 452588, r=danderson). 2008-09-05 16:56:03 -07:00
David Anderson
85d4033733 Fixed a verbosity mode memory leak in LirNameMap::addName (bug 453895, r=sayrer). 2008-09-05 16:05:13 -07:00
Ginn Chen
a3f5be56ad Added new macro AVMPLUS_UNIX to reduce redundancy and add Solaris support to the TM browser build (bug 452589, r=dvander). 2008-09-05 15:15:00 -07:00
David Anderson
9937dc1262 Trace through Math.log as a known native (bug 453868, r=brendan). 2008-09-05 14:25:01 -07:00
David Anderson
ba87213e86 Abort tracing if a callee encounters a primitive |this| and doesn't support it (bug 453701, r=brendan). 2008-09-05 13:55:03 -07:00
Brendan Eich
ff7bea2566 Use js_NaN global that we exported from jsnum.cpp, instead of cx->runtime->jsNaN. 2008-09-04 22:30:04 -07:00
Blake Kaplan
b4d3674f58 Bug 453747 - Replace any holes on the stack with undefined. r=gal 2008-09-04 22:14:27 -07:00
David Anderson
3e31bc7fb2 Another fix for the patch to bug 452884 -- when ignoring switch guards, don't update the tracker stack. 2008-09-04 20:11:58 -07:00
David Anderson
8c610797f3 Merge. 2008-09-04 19:43:58 -07:00
David Anderson
05991c905d Better fix for bug 452884 (changeset badf4c84665f regressed) - don't emit guards rather than bailing out of comparisons (r=gal). 2008-09-04 19:43:07 -07:00
David Anderson
f7e43913ab Fixed verbose printing typo on AMD64. 2008-09-04 19:39:18 -07:00
Brendan Eich
ae2a22c019 Bug 453747 - Avoid overuse of the fun_getProperty class getter to optimize getting and setting random properties on functions. r=mrbkap 2008-09-04 19:30:58 -07:00
Brendan Eich
b35babfe1d House style bracing for multiline then clause. 2008-09-04 18:53:31 -07:00
Brendan Eich
b1ff34380c Merge again. 2008-09-04 18:46:36 -07:00
David Anderson
1fef1cf8ac Make sure 32-bit loads into 64-bit registers are sign-extended. 2008-09-04 18:32:00 -07:00
David Anderson
09123ebd63 Don't guard on constant decisions, which will always have the same path (bug 452884, r=gal). 2008-09-04 14:44:59 -07:00
David Anderson
b15e1fe4d3 Re-enabled the shell JIT as trace-tests and SunSpider pass again. 2008-09-04 11:59:06 -07:00
David Anderson
073cbf54c2 Improved AMD64 allocation for float ops that get stored back into memory. 2008-09-04 11:56:54 -07:00