| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index e3ada264f84f4fe759731136e93c52881270c45c..01dd6c2438247ede4897620495f33a016a3ba994 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -87,6 +87,7 @@ class LCodeGen;
|
| V(CmpT) \
|
| V(ConstantD) \
|
| V(ConstantI) \
|
| + V(ConstantS) \
|
| V(ConstantT) \
|
| V(Context) \
|
| V(DebugBreak) \
|
| @@ -1153,6 +1154,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")
|
|
|