Encapsulating Type information in the CompareICStub
authorolivf@chromium.org <olivf@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 16 May 2013 10:59:17 +0000 (10:59 +0000)
committerolivf@chromium.org <olivf@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 16 May 2013 10:59:17 +0000 (10:59 +0000)
commitc3dde4bd9d1cd1873aece5700274c07bd139cbef
tree5adad04c934404866c141fda474fb9c4126364f3
parentb3eff8cb37eac15dd96fb5b88930979de77be948
Encapsulating Type information in the CompareICStub

Encapsulate type information in a convenient wrapper instead of storing it in a naked bitfield. This especially facilitates transitioning to a new state and converting from/to the extraICState representation. Additionally cleaning up ToBooleanICStub::Types for consistency.

BUG=
R=svenpanne@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14704 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
14 files changed:
src/code-stubs.cc
src/code-stubs.h
src/hydrogen.cc
src/ic.cc
src/ic.h
src/objects.cc
src/objects.h
src/string-stream.h
src/stub-cache.cc
src/stub-cache.h
src/type-info.cc
src/utils.h
test/cctest/cctest.gyp
test/cctest/test-compare-nil-ic-stub.cc [new file with mode: 0644]