Fixed TypeFeedbackOracle for unary operations: Record code for the corresponding

type recording IC.
Review URL: http://codereview.chromium.org/6973025

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7870 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
svenpanne@chromium.org 2011-05-12 08:54:13 +00:00
parent adfa56af54
commit db563ed204

View File

@ -441,6 +441,7 @@ void TypeFeedbackOracle::PopulateMap(Handle<Code> code) {
Code::Kind kind = target->kind();
if (kind == Code::TYPE_RECORDING_BINARY_OP_IC ||
kind == Code::TYPE_RECORDING_UNARY_OP_IC ||
kind == Code::COMPARE_IC) {
SetInfo(id, target);
} else if (state == MONOMORPHIC) {