| Index: src/ia32/lithium-codegen-ia32.h
|
| diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h
|
| index 59d6b4555d84525e3c204896314326381b7a6272..dce225c3cd234d149c941cce80c4d1af3403ca0b 100644
|
| --- a/src/ia32/lithium-codegen-ia32.h
|
| +++ b/src/ia32/lithium-codegen-ia32.h
|
| @@ -115,6 +115,9 @@ class LCodeGen BASE_EMBEDDED {
|
| Immediate ToInteger32Immediate(LOperand* op) const {
|
| return Immediate(ToInteger32(LConstantOperand::cast(op)));
|
| }
|
| + Immediate ToSmiImmediate(LOperand* op) const {
|
| + return Immediate(Smi::FromInt(ToInteger32(LConstantOperand::cast(op))));
|
| + }
|
|
|
| // Support for non-sse2 (x87) floating point stack handling.
|
| // These functions maintain the depth of the stack (either 0 or 1)
|
|
|