Chromium Code Reviews| Index: src/arm/lithium-codegen-arm.cc |
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
| index 057ac241c599653b53ff2ba5036fc4d032f32976..4a30d7cbb7be1553cc89789d5397dc2ca140c648 100644 |
| --- a/src/arm/lithium-codegen-arm.cc |
| +++ b/src/arm/lithium-codegen-arm.cc |
| @@ -3888,7 +3888,9 @@ void LCodeGen::DoDeoptimize(LDeoptimize* instr) { |
| void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) { |
| Register object = ToRegister(instr->object()); |
| Register key = ToRegister(instr->key()); |
| - __ Push(object, key); |
| + Register strict = scratch0(); |
| + __ mov(strict, Operand(Smi::FromInt(strict_mode_flag()))); |
| + __ Push(object, key, strict); |
|
Martin Maly
2011/02/14 05:15:22
Not sure 100% about the use of scratch0() but saw
Mads Ager (chromium)
2011/02/14 10:27:24
This is fine. scratch0() is always free to use in
|
| ASSERT(instr->HasPointerMap() && instr->HasDeoptimizationEnvironment()); |
| LPointerMap* pointers = instr->pointer_map(); |
| LEnvironment* env = instr->deoptimization_environment(); |