Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index 80d3434c97fe40b37eb22baa41ec459902a71a5c..217c31d3e582f797036465c80552a25b21a654c2 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -321,14 +321,14 @@ static TypeInfo TypeFromCompareType(CompareIC::State state) { |
return TypeInfo::Uninitialized(); |
case CompareIC::SMI: |
return TypeInfo::Smi(); |
- case CompareIC::HEAP_NUMBER: |
+ case CompareIC::NUMBER: |
return TypeInfo::Number(); |
case CompareIC::SYMBOL: |
return TypeInfo::Symbol(); |
case CompareIC::STRING: |
return TypeInfo::String(); |
case CompareIC::OBJECT: |
- case CompareIC::KNOWN_OBJECTS: |
+ case CompareIC::KNOWN_OBJECT: |
// TODO(kasperl): We really need a type for JS objects here. |
return TypeInfo::NonPrimitive(); |
case CompareIC::GENERIC: |
@@ -370,7 +370,7 @@ Handle<Map> TypeFeedbackOracle::GetCompareMap(CompareOperation* expr) { |
Handle<Code> code = Handle<Code>::cast(object); |
if (!code->is_compare_ic_stub()) return Handle<Map>::null(); |
CompareIC::State state = ICCompareStub::CompareState(code->stub_info()); |
- if (state != CompareIC::KNOWN_OBJECTS) { |
+ if (state != CompareIC::KNOWN_OBJECT) { |
return Handle<Map>::null(); |
} |
Map* first_map = code->FindFirstMap(); |