| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index e4016c4bd1150724b1574a5876dc2438cf64f8cf..6ae65e8096b89554d4cae2b67bb9f1bd3c09f2dd 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -87,6 +87,7 @@ class LCodeGen;
|
| V(CmpT) \
|
| V(ConstantD) \
|
| V(ConstantI) \
|
| + V(ConstantS) \
|
| V(ConstantT) \
|
| V(Context) \
|
| V(DebugBreak) \
|
| @@ -1206,6 +1207,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, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d")
|
|
|