bf4d58f8cc7f728221884369a256f09aadbae20a: Smarter speculative demotion of numbers to integers and promotion of the trace seems to require actual doubles. If the number at entry looks like an int we make the slot an int and compile as such. If the loop-tail proves the slot to be a double, we recompile the trace. Currently such miss-speculation cannot be handled on secondary traces since we are currently unable to recompile the primary trace. Such secondary traces are blacklisted.
Andreas Gal <gal@mozilla.com> - Sun, 27 Jul 2008 02:15:17 -0700 - rev 17841
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Smarter speculative demotion of numbers to integers and promotion of the trace seems to require actual doubles. If the number at entry looks like an int we make the slot an int and compile as such. If the loop-tail proves the slot to be a double, we recompile the trace. Currently such miss-speculation cannot be handled on secondary traces since we are currently unable to recompile the primary trace. Such secondary traces are blacklisted.
543aa57c695af59042969387ba5eff50324c9f8d: Pass null instead of &val is no result is wanted by EvaluateString's caller.
Brendan Eich <brendan@mozilla.org> - Sun, 27 Jul 2008 00:17:12 +0100 - rev 17840
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Pass null instead of &val is no result is wanted by EvaluateString's caller.
1c4a4cad65bd0190b9cab4ea7ba75aa5faedce80: Add JSSF_NO_SCRIPT_RVAL script flag, and uint8 flags field for it.
Brendan Eich <brendan@mozilla.org> - Sun, 27 Jul 2008 00:12:01 +0100 - rev 17839
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Add JSSF_NO_SCRIPT_RVAL script flag, and uint8 flags field for it.
27dc0386e58d1035fc2b21026052f172a87ba3fc: Fix comment typo.
Brendan Eich <brendan@mozilla.org> - Sun, 27 Jul 2008 00:11:30 +0100 - rev 17838
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Fix comment typo.
f38fbde81ed186b3880bc39943cf9916c6958156: Don't try to demote slots on secondary traces (we have to recompile the primary trace as well for that, which we currently don't do.)
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 19:30:33 -0700 - rev 17837
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Don't try to demote slots on secondary traces (we have to recompile the primary trace as well for that, which we currently don't do.)
3bf4ab9ba121c4c876e851a91530728c55bc6305: Add a test case for trees.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 19:10:23 -0700 - rev 17836
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Add a test case for trees.
8841c613afe947a6330e7637540c83617443cad0: Merge.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 18:43:48 -0700 - rev 17835
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Merge.
b9075b61c5b5481af0fab849e4bf690d1d9939b9: Added sunspider tests to t/ for dvander.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 18:43:19 -0700 - rev 17834
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Added sunspider tests to t/ for dvander.
83fe12b7662dbd1e14a8c2d7595c0681253f3687: Fix and cleanup rp_adj and sp_adj calculation.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 18:28:09 -0700 - rev 17833
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Fix and cleanup rp_adj and sp_adj calculation.
12b6d6a31dc735ca1f17806fdf603c8be96e273c: Eliminate EntryRegs. Its not safe to keep a reference to the entry SP since we might extend the tree from a different outer stack frame. Instead just store the entryStackDepth.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 18:22:15 -0700 - rev 17832
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Eliminate EntryRegs. Its not safe to keep a reference to the entry SP since we might extend the tree from a different outer stack frame. Instead just store the entryStackDepth.
3002cb5fd642a43d98535519edf9ee75485b50cc: Print real recording point, not entryRegs and add an assert that makes sure the guard we come out of is associated with the tree we entered into.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 18:13:57 -0700 - rev 17831
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Print real recording point, not entryRegs and add an assert that makes sure the guard we come out of is associated with the tree we entered into.
72893c1ee4a4714172689fe781860d7b4f9ccc8c: Merge.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 16:54:14 -0700 - rev 17830
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Merge.
ff036e43274007e1bad6e9d2634b08368f74c831: The VP engineering broke JSOP_NAME! We have to check whether the slot is actually interned and otherwise abort.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 16:51:42 -0700 - rev 17829
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
The VP engineering broke JSOP_NAME! We have to check whether the slot is actually interned and otherwise abort.
c2f49e1a25942d9b9ae9fe54f7a344c5da466d8b: Avoid JSOP_POPV in global scripts from load(), etc.
Brendan Eich <brendan@mozilla.org> - Sat, 26 Jul 2008 01:23:12 +0200 - rev 17828
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Avoid JSOP_POPV in global scripts from load(), etc.
fd9cf3c556ee0d410dc934be71956a0d33271d2c: Fixed entry typemap having wrong allocation size.
David Anderson <danderson@mozilla.com> - Fri, 25 Jul 2008 13:30:52 -0700 - rev 17827
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Fixed entry typemap having wrong allocation size.
75805867814e6e819ba7508a20ffd01dc126b55e: Can't use lr->from. Seems to not get set in certain cases. Go figure. The nanojit tree code is really weird.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 02:29:36 -0700 - rev 17826
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Can't use lr->from. Seems to not get set in certain cases. Go figure. The nanojit tree code is really weird.
f5149a2b93091409dc28978c5c29cd00460188d3: Factor out AttemptToGrowTree.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 02:00:02 -0700 - rev 17825
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Factor out AttemptToGrowTree.
2666adaeb7527e7eeda8ce1c2db9cd1ed7ccc85d: Determine ahead of time whether a side exit is a loop-terminating side exit instead of re-determining this at every side exit.
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 01:44:40 -0700 - rev 17824
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Determine ahead of time whether a side exit is a loop-terminating side exit instead of re-determining this at every side exit.
650ff18ef51f6c436528cff2b72d721e30f41f18: Move trace activation code into js_ExecuteTree().
Andreas Gal <gal@mozilla.com> - Fri, 25 Jul 2008 01:20:40 -0700 - rev 17823
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Move trace activation code into js_ExecuteTree().
8809b9fffa2749035f47cbfeccaacc40b27e4168: Make demotion threshold optional (0=off, 32=default). Turn off to debug the type assert bug.
Andreas Gal <gal@mozilla.com> - Thu, 24 Jul 2008 17:33:34 -0700 - rev 17822
Push 1452 by shaver@mozilla.com at Fri, 22 Aug 2008 00:08:22 +0000
Make demotion threshold optional (0=off, 32=default). Turn off to debug the type assert bug.
(0) -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip