Add extra flag for load-ic stubs in code cache.
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 4 Apr 2013 08:29:25 +0000 (08:29 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 4 Apr 2013 08:29:25 +0000 (08:29 +0000)
commiteee5884f8d33731ebc512d324cee1621b06a206e
tree5aa9c43158b1e650a7895fe5ccc6ccc2b83da9a9
parentee5b15dbf2264ca6a9720f6d6ac80d0257fc18a9
Add extra flag for load-ic stubs in code cache.

This allows to distinguish between stubs compiled for the current object from
stubs compiled for objects that have the current object as a prototype.

BUG=v8:2593
R=verwaest@chromium.org

Review URL: https://chromiumcodereview.appspot.com/13552003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14132 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects.h
src/stub-cache.cc
src/stub-cache.h
test/mjsunit/regress/regress-2593.js [new file with mode: 0644]