Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 4fae8db55c869dfc3f18ec154e2e124635d4f441..c295e3478dccacc8a5f83d2cecd086a0a4e4c62a 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -76,7 +76,6 @@ class LCodeGen; |
V(CheckNonSmi) \ |
V(CheckPrototypeMaps) \ |
V(CheckSmi) \ |
- V(CheckSmiAndReturn) \ |
V(ClampDToUint8) \ |
V(ClampIToUint8) \ |
V(ClampTToUint8) \ |
@@ -2291,7 +2290,7 @@ class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { |
}; |
-class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
+class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LCheckSmi(LOperand* value) { |
inputs_[0] = value; |
@@ -2303,18 +2302,6 @@ class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
}; |
-class LCheckSmiAndReturn: public LTemplateInstruction<1, 1, 0> { |
- public: |
- explicit LCheckSmiAndReturn(LOperand* value) { |
- inputs_[0] = value; |
- } |
- |
- LOperand* value() { return inputs_[0]; } |
- |
- DECLARE_CONCRETE_INSTRUCTION(CheckSmiAndReturn, "check-smi-and-return") |
-}; |
- |
- |
class LClampDToUint8: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LClampDToUint8(LOperand* unclamped) { |