Propagate the information that a monomorphic prototype failure has
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 18 Sep 2008 06:55:14 +0000 (06:55 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 18 Sep 2008 06:55:14 +0000 (06:55 +0000)
commit950ad34a94bb868aea34b1f5a5f5aa18c2c7980a
tree7e56974e5160391756cef67e765451a5b0e00149
parent08e6b7c31fbef705d7cdb3a7cfe48c37e93c8d8e
Propagate the information that a monomorphic prototype failure has
occured.  After a monomorphic prototype failure has been detected,
other monomorphic inline caches for the same type will have a code
object in the map's code cache which is not the current target.  We
recognize this case and use the code object that is in the cache
instead of going megamorphic.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@331 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ic.cc
src/ic.h
src/objects-inl.h
src/objects.cc
src/objects.h