Go to file
sgjesse@chromium.org 7311e10fdb Optimize instanceof further
If the instance of is performed against what is beliwed to be a constant global function inline the instance of check and have the call to the instanceof stub in deferred code. The inlined check will be patched by the instanceof stub when called from deferred code. This is indicated by the lithium instruction LInstanceOfKnownGlobal.

To help the patching the delta from the return address to the patch site is placed just below the return address in the edi slot of the pushad/popad ares. This is safe because the edi register (which is pushed last) is a temporary for the lithium instruction.

As the instanceof stub can call other JavaScript an additional marking for saving all double registers have been added.

Also tweaked the instanceof stub to produce true/false objects instead of 0/1 for the case with deferred code.
Review URL: http://codereview.chromium.org/5990005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6173 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-01-05 11:17:37 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
build Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
include Export external array data accessors. 2011-01-04 09:27:46 +00:00
preparser Use the file opened from argv[1] in preparser-process.cc 2010-12-08 10:47:59 +00:00
samples Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
src Optimize instanceof further 2011-01-05 11:17:37 +00:00
test Add exception for test-deoptimization/DeoptimizeBinaryOperationDIV 2011-01-05 09:34:45 +00:00
tools Add use_system_v8 option to gyp (off by default), 2011-01-04 12:14:10 +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.7. 2011-01-05 09:11:20 +00:00
LICENSE Remove Gay's dtoa from sources. 2010-11-22 14:42:07 +00:00
SConstruct 1. Added support for object printing for release mode using the 2010-12-20 10:38:19 +00:00