• fschneider@chromium.org's avatar
    Introduce number type information in the virtual frame. · dbe99e40
    fschneider@chromium.org authored
    Each frame element gets a new attribute with number type information. A frame element can be: 
    
    - smi 
    - heap number 
    - number (i.e. either of the above) 
    - or something else. 
    
    The type information is propagated along with all virtual frame operations. 
    Results popped from the frame carry the number information with them.
    
    Two optimizations in the code generator make use of the new 
    information: 
    - GenericBinaryOpSyub omits map checks if input operands are numbers. 
    - Boolean conversion for numbers: Emit inline code for converting a number (smi or heap number) to boolean. Do not emit call to ToBoolean stub in this case.
    
    
    Review URL: http://codereview.chromium.org/545007
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3861 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    dbe99e40
Name
Last commit
Last update
..
gyp Loading commit data...
oprofile Loading commit data...
v8.xcodeproj Loading commit data...
visual_studio Loading commit data...
codemap.js Loading commit data...
consarray.js Loading commit data...
csvparser.js Loading commit data...
js2c.py Loading commit data...
jsmin.py Loading commit data...
linux-tick-processor Loading commit data...
linux-tick-processor.py Loading commit data...
logreader.js Loading commit data...
mac-nm Loading commit data...
mac-tick-processor Loading commit data...
presubmit.py Loading commit data...
process-heap-prof.py Loading commit data...
profile.js Loading commit data...
profile_view.js Loading commit data...
run-valgrind.py Loading commit data...
splaytree.js Loading commit data...
splaytree.py Loading commit data...
stats-viewer.py Loading commit data...
test.py Loading commit data...
tickprocessor-driver.js Loading commit data...
tickprocessor.js Loading commit data...
tickprocessor.py Loading commit data...
utils.py Loading commit data...
windows-tick-processor.bat Loading commit data...
windows-tick-processor.py Loading commit data...