Commit Graph

16339 Commits

Author SHA1 Message Date
Andreas Gal
a8b127d5af Adjust ip/sp/rp in the interpreter recovery code, not on the trace. 2008-07-18 15:35:59 -07:00
Andreas Gal
1c9c67b6a1 Write all the debug output to stdout (we can't easily make everything go to stderr, so this way at least it all goes into the same place.) 2008-07-18 14:13:31 -07:00
Andreas Gal
89b50ed124 Rework some of David's changes. Make sure we don't modify the tree until we are ready to attach the new fragment. Share lirbufs between tree branches. 2008-07-18 14:11:01 -07:00
David Anderson
4770d4b3e0 Got side exits seemingly working, added if.js to trace-test.js 2008-07-18 10:33:17 -07:00
shaver@mozilla.org
61d58bad87 Handle more operand types in ifop(). 2008-07-18 08:01:51 -07:00
shaver@mozilla.org
983e9cdb83 Better diagnostic info for trace abort. 2008-07-18 07:59:37 -07:00
shaver@mozilla.org
3eaeae50b5 lookup/find, but do not fill prop cache from recorder 2008-07-18 00:46:18 -07:00
shaver@mozilla.org
7078a99d21 When PROPERTY_CACHE_TEST misses, fall back to doing our own lookup via js_GetPropertyHelper. 2008-07-17 23:57:56 -07:00
Andreas Gal
a947ae3ef3 Merge. 2008-07-17 21:32:23 -07:00
Andreas Gal
f309cf6b64 Try to clean up the memory allocation/deallocation through the avmplus glue code. 2008-07-17 21:31:50 -07:00
Brendan Eich
84c0998916 Warning elimination. 2008-07-17 18:30:54 -07:00
Andreas Gal
f94180fbe2 Make sure we compile again if we reject a trace by decrementing hits. 2008-07-17 18:15:55 -07:00
Andreas Gal
f58160134a Fix hot loop triggering. 2008-07-17 18:10:47 -07:00
shaver@mozilla.org
859ec6fbb6 can't easily find real names for globals, so just number them 2008-07-17 17:33:18 -07:00
Andreas Gal
dded69f2a3 Merge. 2008-07-17 17:13:41 -07:00
Andreas Gal
19ed222624 Disable trees for the time being. 2008-07-17 17:12:28 -07:00
Andreas Gal
43fbfbfe1e Add if.js example for trees. 2008-07-17 16:38:09 -07:00
Andreas Gal
dbf2dc54bd Add the beginning of support for trees. 2008-07-17 16:20:13 -07:00
shaver@mozilla.org
3db81baa04 Label globals and locals with their source-names in trace.
Show line number on abort.
2008-07-17 15:09:48 -07:00
Brendan Eich
08930f369e Use the property cache for JSOP_NAMEINC, etc. 2008-07-17 16:54:01 -07:00
Brendan Eich
04a56fbab2 Fix property cache fill to use the right shape. 2008-07-17 16:51:27 -07:00
Brendan Eich
0400c0250e Merge. 2008-07-17 16:50:09 -07:00
Andreas Gal
591262852c Don't allocate FpRegs if sse2 is enabled. 2008-07-17 15:00:22 -07:00
Andreas Gal
f91ca871ac Add js_IsLoopExit that indicates whether a side exit is likely to continue the loop or not. 2008-07-17 14:58:09 -07:00
Brendan Eich
78677269db Always select gvar ops for declared global vars, instead of only if loopy/enough-used. 2008-07-17 14:37:25 -07:00
Andreas Gal
3df09fb85c Cleanup recorder activation, use a single hot loop threshold (10). 2008-07-17 13:42:58 -07:00
Andreas Gal
d12de2bcc6 Merge. 2008-07-17 10:30:00 -07:00
Andreas Gal
954c5830e1 Added statistics and a js_DestroyJIT hook. Also use debug_only and not verbose_only as #ifdef DEBUG shortcut. 2008-07-17 10:22:40 -07:00
shaver@mozilla.org
78a73004ca remove pointless untracedCall test 2008-07-17 08:43:55 -07:00
Andreas Gal
bfb3e457f1 Fix signature of insCall in the FuncFilter and remove f2i(i2f) elimination since we shouldn't really ever hit it. 2008-07-17 03:24:17 -07:00
Andreas Gal
d158a8b778 Merge. 2008-07-17 02:03:56 -07:00
Andreas Gal
e12047397c Move up addName to make sure it gets inline in non-debug mode. 2008-07-17 02:02:48 -07:00
shaver
87eacb1139 Add setprop and tests for setprop and cleanup labling code for debug mode (m=gal). 2008-07-17 02:00:23 -07:00
shaver@mozilla.org
d55f1d7153 merge, woo 2008-07-17 01:59:58 -07:00
shaver@mozilla.org
9929228e46 summarize test results 2008-07-17 01:58:34 -07:00
Andreas Gal
9d6fa41738 Cleanup trace abort handling. 2008-07-17 01:29:41 -07:00
Andreas Gal
3fa6978605 Merge. 2008-07-17 00:48:30 -07:00
Andreas Gal
3cd2b84ec4 Fixed ASSERT JS_DOUBLE != JS_VOID issue. If the root fragment fails to compile, trash the type-map and re-capture it when we try to re-compile. 2008-07-17 00:48:10 -07:00
shaver@mozilla.org
acde4fceb0 JSOP_LENGTH 2008-07-16 23:53:14 -07:00
Andreas Gal
6496a9a34f Merge. 2008-07-16 23:48:42 -07:00
Andreas Gal
6cfd498b7c Increase code cache size. 2008-07-16 23:47:57 -07:00
shaver@mozilla.org
5c32a234df 4.2, dammit 2008-07-16 23:44:25 -07:00
Andreas Gal
ad6b349616 Merge. 2008-07-16 23:39:12 -07:00
Andreas Gal
e2a0438e22 Fix f2i(i2f) filter (broken since the last TT sync, argument order changed from right to left to left to right). 2008-07-16 23:38:39 -07:00
Brendan Eich
13d6469f9b Prefer getarg;length, etc. to getargprop. 2008-07-16 23:33:04 -07:00
shaver@mozilla.org
9182a834c4 copy capacity when becoming another list 2008-07-16 23:11:17 -07:00
Andreas Gal
83ac88d4c7 Don't clear out arguments, clear out variables at method entry. 2008-07-16 23:04:50 -07:00
Andreas Gal
b243a8350a Better naming of the after_JSOP_CALL event (EnterFrame). 2008-07-16 23:00:59 -07:00
Andreas Gal
2442099090 Notify the recorder when a new frame was created by JSOP_CALL. 2008-07-16 22:58:06 -07:00
Andreas Gal
2379d6dcde Initialize arguments to void and write JSVAL_HOLE's value onto the native stack, not its boxed representation. 2008-07-16 22:25:56 -07:00