Remove unused function form hydrogen instructions.

Review URL: http://codereview.chromium.org/7044045

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8223 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2dc734c1
...@@ -727,10 +727,6 @@ class HInstruction: public HValue { ...@@ -727,10 +727,6 @@ class HInstruction: public HValue {
virtual void Verify(); virtual void Verify();
#endif #endif
// Returns whether this is some kind of deoptimizing check
// instruction.
virtual bool IsCheckInstruction() const { return false; }
virtual bool IsCall() { return false; } virtual bool IsCall() { return false; }
DECLARE_ABSTRACT_INSTRUCTION(Instruction) DECLARE_ABSTRACT_INSTRUCTION(Instruction)
...@@ -1856,8 +1852,6 @@ class HCheckMap: public HUnaryOperation { ...@@ -1856,8 +1852,6 @@ class HCheckMap: public HUnaryOperation {
SetFlag(kDependsOnMaps); SetFlag(kDependsOnMaps);
} }
virtual bool IsCheckInstruction() const { return true; }
virtual Representation RequiredInputRepresentation(int index) const { virtual Representation RequiredInputRepresentation(int index) const {
return Representation::Tagged(); return Representation::Tagged();
} }
...@@ -1891,8 +1885,6 @@ class HCheckFunction: public HUnaryOperation { ...@@ -1891,8 +1885,6 @@ class HCheckFunction: public HUnaryOperation {
SetFlag(kUseGVN); SetFlag(kUseGVN);
} }
virtual bool IsCheckInstruction() const { return true; }
virtual Representation RequiredInputRepresentation(int index) const { virtual Representation RequiredInputRepresentation(int index) const {
return Representation::Tagged(); return Representation::Tagged();
} }
...@@ -1933,8 +1925,6 @@ class HCheckInstanceType: public HUnaryOperation { ...@@ -1933,8 +1925,6 @@ class HCheckInstanceType: public HUnaryOperation {
return new HCheckInstanceType(value, IS_SYMBOL); return new HCheckInstanceType(value, IS_SYMBOL);
} }
virtual bool IsCheckInstruction() const { return true; }
virtual Representation RequiredInputRepresentation(int index) const { virtual Representation RequiredInputRepresentation(int index) const {
return Representation::Tagged(); return Representation::Tagged();
} }
...@@ -1993,8 +1983,6 @@ class HCheckNonSmi: public HUnaryOperation { ...@@ -1993,8 +1983,6 @@ class HCheckNonSmi: public HUnaryOperation {
SetFlag(kUseGVN); SetFlag(kUseGVN);
} }
virtual bool IsCheckInstruction() const { return true; }
virtual Representation RequiredInputRepresentation(int index) const { virtual Representation RequiredInputRepresentation(int index) const {
return Representation::Tagged(); return Representation::Tagged();
} }
...@@ -2032,8 +2020,6 @@ class HCheckPrototypeMaps: public HTemplateInstruction<0> { ...@@ -2032,8 +2020,6 @@ class HCheckPrototypeMaps: public HTemplateInstruction<0> {
SetFlag(kDependsOnMaps); SetFlag(kDependsOnMaps);
} }
virtual bool IsCheckInstruction() const { return true; }
#ifdef DEBUG #ifdef DEBUG
virtual void Verify(); virtual void Verify();
#endif #endif
...@@ -2074,8 +2060,6 @@ class HCheckSmi: public HUnaryOperation { ...@@ -2074,8 +2060,6 @@ class HCheckSmi: public HUnaryOperation {
SetFlag(kUseGVN); SetFlag(kUseGVN);
} }
virtual bool IsCheckInstruction() const { return true; }
virtual Representation RequiredInputRepresentation(int index) const { virtual Representation RequiredInputRepresentation(int index) const {
return Representation::Tagged(); return Representation::Tagged();
} }
...@@ -2422,8 +2406,6 @@ class HBoundsCheck: public HBinaryOperation { ...@@ -2422,8 +2406,6 @@ class HBoundsCheck: public HBinaryOperation {
SetFlag(kUseGVN); SetFlag(kUseGVN);
} }
virtual bool IsCheckInstruction() const { return true; }
virtual Representation RequiredInputRepresentation(int index) const { virtual Representation RequiredInputRepresentation(int index) const {
return Representation::Integer32(); return Representation::Integer32();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment