Commit Graph

11419 Commits

Author SHA1 Message Date
Andreas Gal
fdce9ce73c Abort trace is STOP is leaving the recording context. 2008-07-18 19:15:49 -07:00
Andreas Gal
2422eabd22 Make entryFrame/entryRegs relative to the tree entry since we only adjust ip/sp/rp when exiting from the tree, not in between fragments. 2008-07-18 16:21:22 -07:00
Andreas Gal
7eea6badf4 Adjust ip/sp/rp in the interpreter recovery code, not on the trace. 2008-07-18 15:35:59 -07:00
Andreas Gal
13a006aee6 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
9af8ba0394 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
854288fbb0 Got side exits seemingly working, added if.js to trace-test.js 2008-07-18 10:33:17 -07:00
shaver@mozilla.org
43bff554d7 Handle more operand types in ifop(). 2008-07-18 08:01:51 -07:00
shaver@mozilla.org
0f5b220b76 Better diagnostic info for trace abort. 2008-07-18 07:59:37 -07:00
shaver@mozilla.org
3048327072 lookup/find, but do not fill prop cache from recorder 2008-07-18 00:46:18 -07:00
shaver@mozilla.org
51a8a7e736 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
b1cd6900dc Merge. 2008-07-17 21:32:23 -07:00
Andreas Gal
3bcedb1095 Try to clean up the memory allocation/deallocation through the avmplus glue code. 2008-07-17 21:31:50 -07:00
Brendan Eich
20608de4bf Warning elimination. 2008-07-17 18:30:54 -07:00
Andreas Gal
b85a05ff26 Make sure we compile again if we reject a trace by decrementing hits. 2008-07-17 18:15:55 -07:00
Andreas Gal
ec2639cd39 Fix hot loop triggering. 2008-07-17 18:10:47 -07:00
shaver@mozilla.org
c3b817fc24 can't easily find real names for globals, so just number them 2008-07-17 17:33:18 -07:00
Andreas Gal
e0d138cd5c Merge. 2008-07-17 17:13:41 -07:00
Andreas Gal
c2f37ab89c Disable trees for the time being. 2008-07-17 17:12:28 -07:00
Andreas Gal
93c1fd0a24 Add if.js example for trees. 2008-07-17 16:38:09 -07:00
Andreas Gal
abaf140791 Add the beginning of support for trees. 2008-07-17 16:20:13 -07:00
shaver@mozilla.org
f91a0cdef3 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
b333ac3111 Use the property cache for JSOP_NAMEINC, etc. 2008-07-17 16:54:01 -07:00
Brendan Eich
891c98121c Fix property cache fill to use the right shape. 2008-07-17 16:51:27 -07:00
Brendan Eich
094c419af4 Merge. 2008-07-17 16:50:09 -07:00
Andreas Gal
877cd419c5 Don't allocate FpRegs if sse2 is enabled. 2008-07-17 15:00:22 -07:00
Andreas Gal
8802c2daa2 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
421f1ba794 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
d2e031b38d Cleanup recorder activation, use a single hot loop threshold (10). 2008-07-17 13:42:58 -07:00
Andreas Gal
e70830b8ca Merge. 2008-07-17 10:30:00 -07:00
Andreas Gal
353383c65c 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
1a7596120c remove pointless untracedCall test 2008-07-17 08:43:55 -07:00
Andreas Gal
2b72c2eac9 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
acf999080a Merge. 2008-07-17 02:03:56 -07:00
Andreas Gal
8f9536a2a7 Move up addName to make sure it gets inline in non-debug mode. 2008-07-17 02:02:48 -07:00
shaver
f3c23074e0 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
3a154456b3 merge, woo 2008-07-17 01:59:58 -07:00
shaver@mozilla.org
ffdbf9b5cd summarize test results 2008-07-17 01:58:34 -07:00
Andreas Gal
8fef5d28f2 Cleanup trace abort handling. 2008-07-17 01:29:41 -07:00
Andreas Gal
08b285515b Merge. 2008-07-17 00:48:30 -07:00
Andreas Gal
805904b536 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
cb4192d17a JSOP_LENGTH 2008-07-16 23:53:14 -07:00
Andreas Gal
351af4b843 Merge. 2008-07-16 23:48:42 -07:00
Andreas Gal
f52dc6d698 Increase code cache size. 2008-07-16 23:47:57 -07:00
shaver@mozilla.org
ef3bd8335b 4.2, dammit 2008-07-16 23:44:25 -07:00
Andreas Gal
e8f62f1305 Merge. 2008-07-16 23:39:12 -07:00
Andreas Gal
7b15717303 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
f9a54cfd0a Prefer getarg;length, etc. to getargprop. 2008-07-16 23:33:04 -07:00
shaver@mozilla.org
fc685e043d copy capacity when becoming another list 2008-07-16 23:11:17 -07:00
Andreas Gal
b9519a90b1 Don't clear out arguments, clear out variables at method entry. 2008-07-16 23:04:50 -07:00
Andreas Gal
99721bcb09 Better naming of the after_JSOP_CALL event (EnterFrame). 2008-07-16 23:00:59 -07:00