| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index e7734c19296f2143f45ac2a83352a4d1e7e49928..76c2ca779abfaae3179af89637586bd0c4beb60d 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -766,6 +766,10 @@ void LCodeGen::LoadContextFromDeferred(LOperand* context) {
|
| __ Move(cp, ToRegister(context));
|
| } else if (context->IsStackSlot()) {
|
| __ ldr(cp, ToMemOperand(context));
|
| + } else if (context->IsConstantOperand()) {
|
| + HConstant* constant =
|
| + chunk_->LookupConstant(LConstantOperand::cast(context));
|
| + __ LoadObject(cp, Handle<Object>::cast(constant->handle(isolate())));
|
| } else {
|
| UNREACHABLE();
|
| }
|
|
|