| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index c57baea75ec3032f096d86e62981563f75b62272..04661d326b5d18ff2babf2e64fbc344b091816da 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -5224,6 +5224,13 @@ void LCodeGen::DoDoubleToSmi(LDoubleToSmi* instr) {
|
| }
|
|
|
|
|
| +void LCodeGen::DoCheckSmiAndReturn(LCheckSmiAndReturn* instr) {
|
| + LOperand* input = instr->value();
|
| + __ SmiTst(ToRegister(input));
|
| + DeoptimizeIf(ne, instr->environment());
|
| +}
|
| +
|
| +
|
| void LCodeGen::DoCheckSmi(LCheckSmi* instr) {
|
| LOperand* input = instr->value();
|
| __ SmiTst(ToRegister(input));
|
|
|