Andreas Gal
|
9ae4f39d64
|
Don't demote dmod to imod since there is no case that is guaranteed to produce valid integer results for all inputs (456540, r=danderson).
|
2008-09-23 12:21:15 -07:00 |
|
Brendan Eich
|
ef1a9b029a
|
JS_snprintf for portability, not snprintf (bustage fix).
|
2008-09-23 00:59:59 -07:00 |
|
Andreas Gal
|
b967b5aec8
|
Use JS_snprintf instead of snprintf which Windows doesn't seem to know about (fix build breakage).
|
2008-09-23 00:58:11 -07:00 |
|
Andreas Gal
|
5054e0003b
|
Don't emit constant guards for switch and ifop (455605, r=danderson).
|
2008-09-22 17:58:25 -07:00 |
|
Andreas Gal
|
d85fc31e85
|
Both sides of a modulo have to be demotable before we can optimize using imod (456477, r=danderson).
|
2008-09-22 17:02:33 -07:00 |
|
David Anderson
|
d1bc6dc0d8
|
Fixed jstracer.cpp no longer building in the browser because of -pedantic.
|
2008-09-22 11:23:22 -07:00 |
|
Boris Zbarsky
|
f1b69640dd
|
Backed out changeset c0364f5e0a84
|
2008-09-21 09:02:09 -04:00 |
|
Boris Zbarsky
|
f068ba4b22
|
Adding missing file
|
2008-09-21 08:59:52 -04:00 |
|
Brendan Eich
|
782b633703
|
Fix bug 455763 (r=me).
|
2008-09-21 01:38:39 -07:00 |
|
Brian Crowder
|
d87b65397b
|
Add a JIT stats object in the shell
|
2008-09-19 22:47:58 -04:00 |
|
Boris Zbarsky
|
4b972f730f
|
Adding test for bug 451605
|
2008-09-19 21:58:00 -04:00 |
|
Andreas Gal
|
da5081c842
|
Properly calculate tree exit/call guards (bug 453397, r=danderson).
|
2008-09-19 18:45:57 -07:00 |
|
Andreas Gal
|
b20918f930
|
Dynamic reconstruction of arbitrary native frames (454402, r=danderson).
|
2008-09-19 16:09:18 -07:00 |
|
Andreas Gal
|
16fbc92e91
|
Backed out changeset 5e4ec981e9ea
|
2008-09-19 12:07:46 -07:00 |
|
Andreas Gal
|
f06affb8ed
|
Allow tree to grow around unbox operations when the type of the value changes (452514, r=danderson).
|
2008-09-18 17:40:46 -07:00 |
|
Andreas Gal
|
9d7afa336a
|
Add support for fast native that return jsval and wire up push/pop (453734, r=mrbkap).
|
2008-09-18 16:53:09 -07:00 |
|
Andreas Gal
|
9908bc1345
|
Merge.
|
2008-09-18 16:08:52 -07:00 |
|
Andreas Gal
|
2c406fe617
|
Add support for JSOP_NOT on strings (451787, r=danderson).
|
2008-09-18 16:04:54 -07:00 |
|
David Anderson
|
b895f26605
|
Fixed trying to record arguments past the formal arg count in JSOP_ARGSUB and JSOP_CALL (bug 455757, r=gal).
|
2008-09-18 15:23:22 -07:00 |
|
David Anderson
|
40d94b8bed
|
Fixed -0 being treated as a promotable unsigned integer (bug 455758, r=gal).
|
2008-09-18 14:19:17 -07:00 |
|
Andreas Gal
|
708f08ca9c
|
Properly handle side exits in scripted constructors (originally mrbkap, r=brendan, 453462).
|
2008-09-18 14:13:37 -07:00 |
|
Andreas Gal
|
f074cc7a9f
|
Cleanup and unify comparison code (455811, r=danderson).
|
2008-09-18 13:31:26 -07:00 |
|
Andreas Gal
|
dab25898eb
|
Don't export operator new/delete except if really needed (452721, r=danderson).
|
2008-09-16 13:57:59 -07:00 |
|
Andreas Gal
|
6de13bab44
|
Merge.
|
2008-09-16 13:24:57 -07:00 |
|
Andreas Gal
|
8ef12c41b5
|
Removed bogus assert (argv is NULL if callee is NULL, assert segfaults, 452495, r=danderson).
|
2008-09-16 13:24:34 -07:00 |
|
David Anderson
|
6dcdb6aeb9
|
Fixed pointer arithmetic bug during trace recording on 64-bit platforms (bug 454981, r=m_kato).
|
2008-09-16 10:48:54 -07:00 |
|
Andreas Gal
|
4f38e736a7
|
Backed out changeset 66a76c8c7346
|
2008-09-16 06:51:33 -07:00 |
|
brendan
|
18c4ef65df
|
Don't forget to set RHS as result in SETPROP in case we don't call either SetPropHit or SetPropMiss (455408, r=gal).
|
2008-09-16 06:26:57 -07:00 |
|
Andreas Gal
|
61aeda1e95
|
Detect modulo by constant that is not zero and demote to integer modulo (451788, r=brendan).
|
2008-09-16 06:20:54 -07:00 |
|
Andreas Gal
|
70d28c8730
|
Backed out changeset 61b9209c186f
|
2008-09-15 19:59:06 -07:00 |
|
brendan
|
663c6aeb04
|
test_property_cache_direct_slot forgot to insist on a direct slot for get ops (453249, r=gal).
|
2008-09-15 19:40:43 -07:00 |
|
Andreas Gal
|
2e60c6889f
|
Merge.
|
2008-09-15 17:09:45 -07:00 |
|
Andreas Gal
|
13cc3eaad6
|
Backed out changeset 87fe68f51647
|
2008-09-15 17:09:25 -07:00 |
|
Andreas Gal
|
950247bb9d
|
Fix JSOP_NOT (455380, r=brendan).
|
2008-09-15 17:08:15 -07:00 |
|
Andreas Gal
|
0764f9fccb
|
Demote modulo operation with a constant non-zero right hand side (451788).
|
2008-09-15 15:59:25 -07:00 |
|
Andreas Gal
|
a580bcd185
|
Implement comparison of numbers against null (455293, r=brendan,danderson).
|
2008-09-15 15:30:06 -07:00 |
|
Andreas Gal
|
f369f7dcfb
|
Whitespace nit-pick (453261, r=brendan).
|
2008-09-15 15:26:16 -07:00 |
|
Andreas Gal
|
cdb4ed8fae
|
Merge.
|
2008-09-15 15:01:44 -07:00 |
|
Andreas Gal
|
95068bdc26
|
Properly handle floating point array indexes (453261, r=brendan).
|
2008-09-15 15:00:40 -07:00 |
|
Vladimir Vukicevic
|
47e9d3a21b
|
b=454530; misc trace abort fixes (trace String.concat); r=brendan
|
2008-09-15 17:30:05 -04:00 |
|
Andreas Gal
|
be1b44bf0e
|
Trace slow array get/set of indexed props (453261, r=brendan).
|
2008-09-15 00:54:28 -07:00 |
|
Brendan Eich
|
a834957775
|
TraceRecorder::record_SetPropMiss mis-layered on top of record_SetPropHit (454689, r=mrbkap).
|
2008-09-11 15:53:00 -07:00 |
|
Brendan Eich
|
e0626f7799
|
Bug 453563 - TM: assertion when running unit tests with the JIT on (r=danderson).
|
2008-09-11 00:07:50 -07:00 |
|
Brendan Eich
|
ef47fcf4f8
|
Bug 454744 - TM: "Assertion failure: PCVAL_IS_SPROP(entry->vword)" with getter.
|
2008-09-11 00:00:37 -07:00 |
|
Benjamin Smedberg
|
b7c5804c10
|
Merge backout of the old patch for bug 453388 - we can statically allocate Oracle again, now that we're linking using the C++ linker magic, r=crowder
|
2008-09-10 15:38:28 -04:00 |
|
Benjamin Smedberg
|
bfeb170706
|
Merge backouts of bug 453388 - using g++ to link libjs.so means we can have static classes
|
2008-09-10 15:27:17 -04:00 |
|
Benjamin Smedberg
|
52e1ae86c7
|
Backed out changeset fc4a8cc07c9f - bustage fix from the first patch for bug 453388 which is also being backed out
|
2008-09-10 15:21:30 -04:00 |
|
Benjamin Smedberg
|
e780e5e3ea
|
Backed out changeset e2614011f194 - Bug 453388 - the better solution is to allow static objects and link libjs.so with g++ so that _init and _fini run static constructors/destructors correctly backout r=crowder
|
2008-09-10 15:20:01 -04:00 |
|
Blake Kaplan
|
88856d9ef1
|
Merge tracemonkey -> mozilla-central
|
2008-09-09 23:38:21 -07:00 |
|
Brendan Eich
|
ce15bc7cd3
|
Bug 454039 - TM: don't abort TraceRecorder::record_JSOP_SETPROP on cache miss (r=mrbkap).
|
2008-09-09 22:22:52 -07:00 |
|
Brendan Eich
|
7d5c49516c
|
Back out patch for bug 454039.
|
2008-09-09 16:55:07 -07:00 |
|
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 |
|
Brendan Eich
|
94b10f6170
|
Avoid needless prototype-shape purges (454035, r=igor).
|
2008-09-09 11:24:03 -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 |
|
Brendan Eich
|
5b35846387
|
Fix bug 454266 - js_FillPropertyCache uses the wrong scope's shape sometimes (r=mrbkap).
|
2008-09-08 15:52:35 -07: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
|
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 |
|
Igor Bukanov
|
27d83904e5
|
bug 453133 - merging JSOP_DEFUN and JSOP_CLOSURE. r=brendan
|
2008-09-08 13:58:17 +02:00 |
|
Igor Bukanov
|
1694ed5ded
|
bug 454163 - fixing build problem with 64-bit debug builds.
|
2008-09-08 12:37:41 +02: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 |
|
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 |
|
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
|
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 |
|
Blake Kaplan
|
b4d3674f58
|
Bug 453747 - Replace any holes on the stack with undefined. r=gal
|
2008-09-04 22:14:27 -07:00 |
|
Brendan Eich
|
ce684a0a6e
|
Bug 453747 - Avoid overuse of the fun_getProperty class getter to optimize getting and setting random properties on functions. r=mrbkap
|
2008-09-04 21:56:37 -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 |
|
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 |
|
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
|
ede63892f9
|
Disabled building AMD64 JIT in shell until regressions are tracked down. Fixed some compiling errors while I'm poking around here (bug 453674).
|
2008-09-04 10:58:35 -07:00 |
|
David Anderson
|
afe91e2757
|
Merge.
|
2008-09-03 23:28:27 -07:00 |
|
David Anderson
|
b791826dc5
|
Fixed JSOP_NEG with 0 being tracked as a promotable int, and added an equals-zero guard for the same opcode (bug 453049, r=gal).
|
2008-09-03 23:27:58 -07:00 |
|
Brendan Eich
|
9657023ef6
|
Missing guard for CallGetter builtin (453580, r=gal).
|
2008-09-03 22:32:13 -07:00 |
|
Blake Kaplan
|
d9be63b689
|
Handle an interpreted constructor returning an object. r=brendan
|
2008-09-03 18:21:15 -07:00 |
|
Andreas Gal
|
1d44de3cb6
|
Merge.
|
2008-09-03 01:22:07 -07:00 |
|
Andreas Gal
|
483b7fd5a1
|
Removed a bogus assert. Inner loops can exit on a goto in case we hit a break (453051).
|
2008-09-03 01:21:21 -07:00 |
|
Brendan Eich
|
4fa7c5195d
|
Put the trace-recording/executing flag in the trace monitor to handle many contexts per thread (451666, r=gal).
|
2008-09-03 00:38:24 -07:00 |
|
Andreas Gal
|
c466258c18
|
Limit tree growth to 16 traces per tree to avoid code explosion due to tail duplication (452869, r=danderson).
|
2008-09-02 23:52:11 -07:00 |
|
Brendan Eich
|
3cd36a3b5f
|
Fix JS_THREADSAFE build, pick extern nit.
|
2008-09-02 23:00:23 -07:00 |
|
Vladimir Vukicevic
|
dfd7f72c0a
|
Fix up some ifdefs and debug printfs
|
2008-09-02 22:42:25 -07:00 |
|
Vladimir Vukicevic
|
a4ec50d569
|
Add VFP for floating point ops to nanojit ARM backend.
|
2008-09-02 22:29:23 -07:00 |
|
Vladimir Vukicevic
|
420e72ed85
|
b=449526, TM: fix up ARM code generation / softfloat
|
2008-09-02 22:29:23 -07:00 |
|
Brendan Eich
|
e3916b316d
|
Teach js_IsLoopExit about JSOP_AND, JSOP_OR, etc. and separate extended jump cases so they can get the extended offsets.
|
2008-09-02 22:29:06 -07:00 |
|
Blake Kaplan
|
3d517dff43
|
Remove outdated comment. r=gal
|
2008-09-02 22:18:57 -07:00 |
|
Andreas Gal
|
f91071f139
|
Allocate the oracle dynamically instead of making it a global object to avoid atexit C compatibility issues (453388, r=danderson).
|
2008-09-02 21:56:22 -07:00 |
|
Blake Kaplan
|
8f80eec070
|
Don't flush anything if we're not even enabled. r=gal
|
2008-09-02 14:02:13 -07:00 |
|
Ginn Chen
|
76f8dc0daf
|
On x86 compilers without fastcall, simulate it when invoking traces and un-simulate it when invoking builtins (bug 452390, r=dvander).
|
2008-09-02 11:43:55 -07:00 |
|