-
sgjesse@chromium.org authored
For objects which only have simple assignments of the form this.x = ...; a specialized constructor stub is now generated. This generated code allocates the object and fills in the initial properties directly. If this fails for some reason code continues in the generic constructor stub which in turn might pass control to the runtime system. Added counter to see how many objects are constructed using a specialized stub. The specialized stub is only implemented for ia32 architecture in this change. For x64 and ARM the generic construct stub is used. This is change is identical to http://codereview.chromium.org/174392 (committed in r2753 and reverted in r2754) except that a few parts have already been committed from http://codereview.chromium.org/173469 (committed in r2762). Review URL: http://codereview.chromium.org/173470 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
71739449
Name |
Last commit
|
Last update |
---|---|---|
benchmarks | ||
include | ||
samples | ||
src | ||
test | ||
tools | ||
.gitignore | ||
AUTHORS | ||
ChangeLog | ||
LICENSE | ||
SConstruct |