Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 3eca181c6fac57f9da076bb9f4e35a4bf5a53d0b..27db2b0841e596b1deb14d5d15bde37948868e12 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -3631,26 +3631,6 @@ HType HValue::CalculateInferredType() { |
} |
-HType HCheckMaps::CalculateInferredType() { |
- return value()->type(); |
-} |
- |
- |
-HType HCheckFunction::CalculateInferredType() { |
- return value()->type(); |
-} |
- |
- |
-HType HCheckHeapObject::CalculateInferredType() { |
- return HType::NonPrimitive(); |
-} |
- |
- |
-HType HCheckSmi::CalculateInferredType() { |
- return HType::Smi(); |
-} |
- |
- |
HType HPhi::CalculateInferredType() { |
if (OperandCount() == 0) return HType::Tagged(); |
HType result = OperandAt(0)->type(); |
@@ -3662,52 +3642,12 @@ HType HPhi::CalculateInferredType() { |
} |
-HType HCompareGeneric::CalculateInferredType() { |
- return HType::Boolean(); |
-} |
- |
- |
-HType HInstanceOf::CalculateInferredType() { |
- return HType::Boolean(); |
-} |
- |
- |
-HType HInstanceOfKnownGlobal::CalculateInferredType() { |
- return HType::Boolean(); |
-} |
- |
- |
HType HChange::CalculateInferredType() { |
if (from().IsDouble() && to().IsTagged()) return HType::HeapNumber(); |
return type(); |
} |
-HType HBitwiseBinaryOperation::CalculateInferredType() { |
- return HType::TaggedNumber(); |
-} |
- |
- |
-HType HArithmeticBinaryOperation::CalculateInferredType() { |
- return HType::TaggedNumber(); |
-} |
- |
- |
-HType HAdd::CalculateInferredType() { |
- return HType::Tagged(); |
-} |
- |
- |
-HType HBitNot::CalculateInferredType() { |
- return HType::TaggedNumber(); |
-} |
- |
- |
-HType HUnaryMathOperation::CalculateInferredType() { |
- return HType::TaggedNumber(); |
-} |
- |
- |
Representation HUnaryMathOperation::RepresentationFromInputs() { |
Representation rep = representation(); |
// If any of the actual input representation is more general than what we |
@@ -3805,16 +3745,6 @@ void HAllocate::PrintDataTo(StringStream* stream) { |
} |
-HType HRegExpLiteral::CalculateInferredType() { |
- return HType::JSObject(); |
-} |
- |
- |
-HType HFunctionLiteral::CalculateInferredType() { |
- return HType::JSObject(); |
-} |
- |
- |
HValue* HUnaryMathOperation::EnsureAndPropagateNotMinusZero( |
BitVector* visited) { |
visited->Add(id()); |