'. '

Bck2Brwsr 0.9

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
[[TBD]]: Nothing yet.
+
* Eliminated useless stack assignments. Instead of doing
 +
 
 +
<source lang="javascript">
 +
var stI0 = lcI0;
 +
var stI1 = lcI1;
 +
var stI0 = stI0 + stI1;
 +
return stI0;
 +
</source>
 +
 
 +
the now generated code is
 +
 
 +
<source lang="javascript">
 +
return lcI0 + lcI1;
 +
</source>
 +
 
 +
which is shorter and more human readable. However I doubt the [[V8]] virtual machine sees any benefits - I think the final native code remains the same.

Revision as of 08:38, 20 February 2014

  • Eliminated useless stack assignments. Instead of doing
var stI0 = lcI0;
var stI1 = lcI1;
var stI0 = stI0 + stI1;
return stI0;

the now generated code is

return lcI0 + lcI1;

which is shorter and more human readable. However I doubt the V8 virtual machine sees any benefits - I think the final native code remains the same.

Personal tools
buy