Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 11d9f6f8346c6d82c5882e5680df7d8367bb9572..61128a639f8eb2fa3bd9ecc34f556402261c80e3 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -92,7 +92,6 @@ class LChunkBuilder; |
V(CheckMaps) \ |
V(CheckNonSmi) \ |
V(CheckPrototypeMaps) \ |
- V(CheckSmi) \ |
V(ClampToUint8) \ |
V(ClassOfTestAndBranch) \ |
V(CompareIDAndBranch) \ |
@@ -1714,7 +1713,8 @@ class HChange: public HUnaryOperation { |
bool is_truncating, |
bool deoptimize_on_undefined) |
: HUnaryOperation(value) { |
- ASSERT(!value->representation().IsNone() && !to.IsNone()); |
+ ASSERT(!value->representation().IsNone()); |
+ ASSERT(!to.IsNone()); |
ASSERT(!value->representation().Equals(to)); |
set_representation(to); |
SetFlag(kUseGVN); |
@@ -2928,29 +2928,6 @@ class HCheckPrototypeMaps: public HTemplateInstruction<0> { |
}; |
-class HCheckSmi: public HUnaryOperation { |
- public: |
- explicit HCheckSmi(HValue* value) : HUnaryOperation(value) { |
- set_representation(Representation::Tagged()); |
- SetFlag(kUseGVN); |
- } |
- |
- virtual Representation RequiredInputRepresentation(int index) { |
- return Representation::Tagged(); |
- } |
- virtual HType CalculateInferredType(); |
- |
-#ifdef DEBUG |
- virtual void Verify(); |
-#endif |
- |
- DECLARE_CONCRETE_INSTRUCTION(CheckSmi) |
- |
- protected: |
- virtual bool DataEquals(HValue* other) { return true; } |
-}; |
- |
- |
class HPhi: public HValue { |
public: |
HPhi(int merged_index, Zone* zone) |