Index: src/hydrogen-instructions.h |
=================================================================== |
--- src/hydrogen-instructions.h (revision 10880) |
+++ src/hydrogen-instructions.h (working copy) |
@@ -174,7 +174,6 @@ |
V(ThisFunction) \ |
V(Throw) \ |
V(ToFastProperties) \ |
- V(ToInt32) \ |
V(TransitionElementsKind) \ |
V(Typeof) \ |
V(TypeofIsAndBranch) \ |
@@ -1243,34 +1242,6 @@ |
}; |
-class HToInt32: public HUnaryOperation { |
- public: |
- explicit HToInt32(HValue* value) |
- : HUnaryOperation(value) { |
- set_representation(Representation::Integer32()); |
- SetFlag(kUseGVN); |
- SetFlag(kTruncatingToInt32); |
- } |
- |
- virtual Representation RequiredInputRepresentation(int index) { |
- return Representation::None(); |
- } |
- |
- virtual HValue* Canonicalize() { |
- if (value()->representation().IsInteger32()) { |
- return value(); |
- } else { |
- return this; |
- } |
- } |
- |
- DECLARE_CONCRETE_INSTRUCTION(ToInt32) |
- |
- protected: |
- virtual bool DataEquals(HValue* other) { return true; } |
-}; |
- |
- |
class HSimulate: public HInstruction { |
public: |
HSimulate(int ast_id, int pop_count) |