| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index 7ae87a08c8dd72c377475eb2d50332f18699b90b..aa929354b6ee6aaca841a3b9c9d15abe983e4a5f 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -183,6 +183,7 @@ class LCodeGen;
|
| V(Typeof) \
|
| V(TypeofIsAndBranch) \
|
| V(Uint32ToDouble) \
|
| + V(Uint32ToSmi) \
|
| V(UnknownOSRValue) \
|
| V(ValueOf) \
|
| V(WrapReceiver)
|
| @@ -2050,6 +2051,19 @@ class LUint32ToDouble: public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| +class LUint32ToSmi: public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + explicit LUint32ToSmi(LOperand* value) {
|
| + inputs_[0] = value;
|
| + }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(Uint32ToSmi, "uint32-to-smi")
|
| + DECLARE_HYDROGEN_ACCESSOR(Change)
|
| +};
|
| +
|
| +
|
| class LNumberTagI: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LNumberTagI(LOperand* value) {
|
|
|