Andreas Gal
|
d6b834b98a
|
Move builtin[] table in jsbuiltin.cpp
|
2008-07-08 23:48:06 -07:00 |
|
Andreas Gal
|
5ee8b4abd7
|
Housekeeping. Remove a few warnings during BUILT_OPT and spelling in comments.
|
2008-07-08 22:40:07 -07:00 |
|
Andreas Gal
|
216f33a0bb
|
sp_adj is now maintained in bytes, not words, so +8 is now the magic value to point to the top of the stack. All stores above that watermark are eliminated by StackFilter in nanojit.
|
2008-07-08 21:03:30 -07:00 |
|
Andreas Gal
|
c9ee018202
|
Merge.
|
2008-07-08 20:20:24 -07:00 |
|
shaver@mozilla.org
|
815f787a8a
|
merge
|
2008-07-08 23:14:47 -04:00 |
|
Andreas Gal
|
ade00cfeb0
|
Removed bogus debug printfs.
|
2008-07-08 20:09:15 -07:00 |
|
Andreas Gal
|
795edf3334
|
Fixed frame walking FORALL_PENDING_FRAME_SLOTS and add 4 to sp in getTop (hotfix, not the right way to do it.)
|
2008-07-08 20:06:54 -07:00 |
|
shaver@mozilla.org
|
4fcad3cb1e
|
rval tracking and JSOP_POPV
|
2008-07-08 22:21:25 -04:00 |
|
Andreas Gal
|
4d84965bb8
|
Merge.
|
2008-07-08 19:17:15 -07:00 |
|
Andreas Gal
|
8e439abde3
|
Use more efficient address mode for LIR_load if possible and removed bogus printf.
|
2008-07-08 19:16:56 -07:00 |
|
shaver@mozilla.org
|
ff2b728cfd
|
protect printf with DEBUG
|
2008-07-08 21:22:46 -04:00 |
|
Brendan Eich
|
6a2a47ede9
|
Merge.
|
2008-07-08 18:14:14 -07:00 |
|
Brendan Eich
|
654d46135f
|
Single-ended interval tests, plus space patrol.
|
2008-07-08 18:12:22 -07:00 |
|
shaver@mozilla.org
|
46bdd14d57
|
Implement JSOP_SETNAME for globals.
|
2008-07-08 21:07:27 -04:00 |
|
David Anderson
|
daa8ef943b
|
Merge.
|
2008-07-08 17:20:11 -07:00 |
|
David Anderson
|
fcf8410125
|
Builds against latest nanojit; merged VMSideExitInfo into SideExit
|
2008-07-08 17:16:51 -07:00 |
|
Andreas Gal
|
444ffb8230
|
Fixed argv[n] and vars[n], should be [0] of course.
|
2008-07-08 17:14:01 -07:00 |
|
David Anderson
|
202828fb20
|
Merged with tamarin-tracing (Moved SideExit and GuardRecord out of nanojit, improved labelling)
|
2008-07-08 17:09:53 -07:00 |
|
Andreas Gal
|
27628a1abf
|
Add dummy vpname/vpnum parameters when not compiling in DEBUG mode.
|
2008-07-08 16:46:54 -07:00 |
|
Andreas Gal
|
9670ada6a1
|
Merge.
|
2008-07-08 16:29:43 -07:00 |
|
Andreas Gal
|
4550dd77f0
|
Introduce a generic stack frame walking macro. This eliminates the 6 (hg pull) redundant blocks of code that all walked the stack in 6 different ways, each with their individuals quirks.
|
2008-07-08 16:29:23 -07:00 |
|
shaver@mozilla.org
|
28fa12337c
|
root converted argv[0]
|
2008-07-08 17:10:59 -04:00 |
|
shaver@mozilla.org
|
ae64a20e56
|
Add disfile() helper to debug shell, to make it easier to see disassembly of top-level scripts.
|
2008-07-08 14:33:56 -04:00 |
|
Andreas Gal
|
9a4e0a6467
|
Don't check the types for invalid global slots in checkType. Proper gvar lookup in boxing path. We have to unify the stack frame traversal and enumeration code. I fixed this bug before, just in a different place. 11x speedup for gvar.js
|
2008-07-08 01:30:29 -07:00 |
|
Andreas Gal
|
c1491b01c2
|
Properly display the 'any' type in the side exit map printout.
|
2008-07-08 01:14:02 -07:00 |
|
Andreas Gal
|
0afa601949
|
Cleanup definition of tracker (don't use LInsp, use T, its a template now).
|
2008-07-08 00:46:53 -07:00 |
|
Andreas Gal
|
ac0b138197
|
Hack: demotable stores have to be flagged as int in the exit typemap. This needs cleanup.
|
2008-07-07 22:41:58 -07:00 |
|
Andreas Gal
|
64bf4baa1c
|
Don't expect args and vars in a top-level frame that is mapped to the native frame.
|
2008-07-07 22:20:27 -07:00 |
|
Andreas Gal
|
1e0a9a8363
|
Merge.
|
2008-07-07 22:00:25 -07:00 |
|
Andreas Gal
|
a6d30ed7c2
|
Fixed native frame offset calculation for globals.
|
2008-07-07 22:00:07 -07:00 |
|
shaver@mozilla.org
|
8fa1b5215f
|
fix type checking of gvars
|
2008-07-08 00:19:20 -04:00 |
|
shaver@mozilla.org
|
4b276d07c9
|
reduce loop count in trace-test for faster interp runs
|
2008-07-08 00:18:10 -04:00 |
|
shaver@mozilla.org
|
3f51971710
|
more detailed type-instability diagnostics
|
2008-07-07 23:51:56 -04:00 |
|
Andreas Gal
|
205ab22204
|
We urgently need shaver's magic native stack/typeframe iterator. Fixed exit map builder to skip argv/vars for global scope.
|
2008-07-07 19:29:54 -07:00 |
|
Andreas Gal
|
2f939b51d1
|
Fixed increment for DECGVAR.
|
2008-07-07 19:27:36 -07:00 |
|
Andreas Gal
|
a0c960adee
|
Bugfixes to the native stack and typemap handling code.
|
2008-07-07 19:20:40 -07:00 |
|
Andreas Gal
|
56397d3c0e
|
Attempt at cleaning up the typemap/stack frame iteration code.
|
2008-07-07 18:35:38 -07:00 |
|
Andreas Gal
|
6aaa63a172
|
ngvars and the slot index are not related, so don't rely on ngvars < JS_INITIAL_NSLOTS to decide whether dslots exists
|
2008-07-07 18:08:28 -07:00 |
|
Andreas Gal
|
0fe5682c00
|
Make gvar ops use the global varobj values we unbox onto the native stack. The stack offset handling needs more work.
|
2008-07-07 17:21:54 -07:00 |
|
Andreas Gal
|
a4f454ae32
|
We shouldn't read globals onto the stack if the global object is used by another context so we just refuse to execute the trace in this case.
|
2008-07-07 15:23:48 -07:00 |
|
Andreas Gal
|
1d36b97516
|
Unbox global variables onto the native stack and re-box them. This has certain synchronization implications but will make top-level scripts quite a bit faster.
|
2008-07-07 15:15:56 -07:00 |
|
Andreas Gal
|
4da1b65be4
|
Don't try to demote a slot we already decided we can't demote. Also, make sure we only demote additions with constants where the constant fits into an int.
|
2008-07-07 12:58:28 -07:00 |
|
Andreas Gal
|
f764b4bb28
|
Merge.
|
2008-07-07 02:59:41 -07:00 |
|
Andreas Gal
|
399a49e73a
|
Removed an unused variable from the avmplus glue code.
|
2008-07-07 02:59:20 -07:00 |
|
Brendan Eich
|
affcda00d2
|
Merge.
|
2008-07-07 02:56:52 -07:00 |
|
Brendan Eich
|
175ce14f5b
|
Indentation and comment wrapping (at 79, 99 looks too long and most comments still avoid going past 80+/-).
|
2008-07-07 02:55:03 -07:00 |
|
Andreas Gal
|
ef4a0f7533
|
Merge.
|
2008-07-07 02:51:36 -07:00 |
|
Andreas Gal
|
e4f8fa2f97
|
Sync nanojit with tamarin-tracing tip.
|
2008-07-07 02:47:40 -07:00 |
|
Brendan Eich
|
6d65efee60
|
Use jsopcode.tbl for tracer JSOP_* method decls; trim trailing whitespace.
|
2008-07-07 02:21:04 -07:00 |
|
Andreas Gal
|
e15355bc04
|
Cleanup the native frame -> interpreter frame boxing code. We sometimes end up with numbers on our stack in double format that are really ints. We have to detect those and properly store them as in on the interpreter stack.
|
2008-07-07 01:37:40 -07:00 |
|