Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 1431727f819eafea49791da6ecea8789398024e8..cd4427090f44fdd4049177d041c0f401117e7495 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -3065,9 +3065,8 @@ HType HCheckFunction::CalculateInferredType() { |
} |
-HType HCheckNonSmi::CalculateInferredType() { |
- // TODO(kasperl): Is there any way to signal that this isn't a smi? |
- return HType::Tagged(); |
+HType HCheckHeapObject::CalculateInferredType() { |
+ return HType::NonPrimitive(); |
} |
@@ -3736,7 +3735,7 @@ void HSimulate::Verify() { |
} |
-void HCheckNonSmi::Verify() { |
+void HCheckHeapObject::Verify() { |
HInstruction::Verify(); |
ASSERT(HasNoUses()); |
} |