Go to file
fschneider@chromium.org b16df72475 Improve our type feedback by recogizining never-executed IC calls for binary operations.
In the case of inlined smi code in non-optimzied code we could not 
distinguish between the smi-only case and the case that the operation was
never executed.

With this change the first execution of a binary operation always jumps
to the stub which in turn patches the smi-check into the correct
conditional branch, so that we benefit from inlined smi code after the
first invocation.

A nop instruction after the call to the BinaryOpIC indicates that no
smi code was inlined. A "test eax" instruction says that there was smi
code inlined and encodes the delta to the patch site and the condition
code of the branch at the patch site to restore the original jump.

Review URL: http://codereview.chromium.org/5714001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5970 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-12-10 14:33:20 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
include Changed interface to preparser to not require pushback support. 2010-12-08 10:06:40 +00:00
preparser Use the file opened from argv[1] in preparser-process.cc 2010-12-08 10:47:59 +00:00
samples Remove a unused function form the sample shell 2010-12-08 10:42:32 +00:00
src Improve our type feedback by recogizining never-executed IC calls for binary operations. 2010-12-10 14:33:20 +00:00
test Fix issue 962. 2010-12-10 14:25:10 +00:00
tools Add gyp target to build preparser as stand-alone library. 2010-12-10 12:58:18 +00:00
.gitignore Add '.cpplint-cache' to ignore lists for SVN and Git. This change also sets 'ignore' property on '.', although this change isn't visible in Rietveld. 2009-12-11 09:01:38 +00:00
AUTHORS nGW build 2010-12-02 15:37:45 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.0.1. 2010-12-07 12:26:36 +00:00
LICENSE Remove Gay's dtoa from sources. 2010-11-22 14:42:07 +00:00
SConstruct Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00