Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 2ed4cd611c207f07e8f8fb951ea96c9c421ae64a..568ef87b1bf36173a47cfbc8e071f73ef85dad43 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -82,6 +82,7 @@ class LCodeGen; |
V(CmpConstantEqAndBranch) \ |
V(ConstantD) \ |
V(ConstantI) \ |
+ V(ConstantS) \ |
V(ConstantT) \ |
V(Context) \ |
V(DebugBreak) \ |
@@ -1152,6 +1153,15 @@ class LConstantI: public LTemplateInstruction<1, 0, 0> { |
}; |
+class LConstantS: public LTemplateInstruction<1, 0, 0> { |
+ public: |
+ DECLARE_CONCRETE_INSTRUCTION(ConstantS, "constant-s") |
+ DECLARE_HYDROGEN_ACCESSOR(Constant) |
+ |
+ Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } |
+}; |
+ |
+ |
class LConstantD: public LTemplateInstruction<1, 0, 1> { |
public: |
explicit LConstantD(LOperand* temp) { |