Introduce extra IC state to record additional feedback from IC-s.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 18 Jan 2011 16:54:48 +0000 (16:54 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 18 Jan 2011 16:54:48 +0000 (16:54 +0000)
commit11a4cb5718b5dc7f75ae7fa1254fd793ab8dbebd
tree27b0bb31d3d179ac6b4923f7a57fefa43889dfc9
parentb4c88d5de44ca127e0f5a778577ff49e54c7c637
Introduce extra IC state to record additional feedback from IC-s.

Extra IC state is only two bits and only supported for call IC-s for
now. To change its extra state an IC stub jumps to a new miss stub
that goes to runtime as usual but then instead of going megamorphic
generates a monomorphic stub with the updated state.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6370 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
14 files changed:
src/arm/ic-arm.cc
src/arm/stub-cache-arm.cc
src/ia32/ic-ia32.cc
src/ia32/stub-cache-ia32.cc
src/ic.cc
src/ic.h
src/objects-inl.h
src/objects.h
src/stub-cache.cc
src/stub-cache.h
src/type-info.cc
src/type-info.h
src/x64/ic-x64.cc
src/x64/stub-cache-x64.cc