| Index: src/ia32/lithium-codegen-ia32.h
|
| diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h
|
| index 647dd0e4c0cc4d18716792c1063fd746371c5e6c..b9ea76cda5bdb8e8accdfe9727f0320a0ef0a743 100644
|
| --- a/src/ia32/lithium-codegen-ia32.h
|
| +++ b/src/ia32/lithium-codegen-ia32.h
|
| @@ -112,11 +112,8 @@ class LCodeGen BASE_EMBEDDED {
|
|
|
| bool IsInteger32(LConstantOperand* op) const;
|
| bool IsSmi(LConstantOperand* op) const;
|
| - Immediate ToInteger32Immediate(LOperand* op) const {
|
| - return Immediate(ToInteger32(LConstantOperand::cast(op)));
|
| - }
|
| - Immediate ToSmiImmediate(LOperand* op) const {
|
| - return Immediate(Smi::FromInt(ToInteger32(LConstantOperand::cast(op))));
|
| + Immediate ToImmediate(LOperand* op, const Representation& r) const {
|
| + return Immediate(ToRepresentation(LConstantOperand::cast(op), r));
|
| }
|
|
|
| // Support for non-sse2 (x87) floating point stack handling.
|
| @@ -299,6 +296,7 @@ class LCodeGen BASE_EMBEDDED {
|
|
|
| Register ToRegister(int index) const;
|
| XMMRegister ToDoubleRegister(int index) const;
|
| + int ToRepresentation(LConstantOperand* op, const Representation& r) const;
|
| int ToInteger32(LConstantOperand* op) const;
|
|
|
| double ToDouble(LConstantOperand* op) const;
|
|
|