A type vector with multiple IC types needs metadata.
authormvstanton@chromium.org <mvstanton@chromium.org>
Mon, 27 Oct 2014 16:34:28 +0000 (16:34 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org>
Mon, 27 Oct 2014 16:34:39 +0000 (16:34 +0000)
commit15c5c9d530af58a32ed1cf4557164a04a33a1dfc
treef4ec9001fd5352a8336f9ac90818002294433c21
parent0755160e28411dccd97604e1463799653e68dce2
A type vector with multiple IC types needs metadata.

This CL adds a bitset to describe the type of IC in each IC slot.
This is necessary for clearing ICs of different types.

With FLAG_vector_ics off (the current state), it's not required because
CALL_IC is the only type of IC in the vector.

R=ishell@chromium.org

Review URL: https://codereview.chromium.org/679073002

Cr-Commit-Position: refs/heads/master@{#24911}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24911 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects-inl.h
src/objects.h
src/type-feedback-vector-inl.h
src/type-feedback-vector.cc
src/type-feedback-vector.h
src/utils.h
test/cctest/test-feedback-vector.cc
test/cctest/test-utils.cc