| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 0e4497fcc8d5196b8c5e785f74e459910972b62e..b5e4284e30546e8ddf8f8d5dedc078dfba429883 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -2510,6 +2510,7 @@ void LCodeGen::LoadPrototype(Register result,
|
| Handle<JSGlobalPropertyCell> cell =
|
| Factory::NewJSGlobalPropertyCell(prototype);
|
| __ mov(result, Operand(cell));
|
| + __ ldr(result, FieldMemOperand(result, JSGlobalPropertyCell::kValueOffset));
|
| } else {
|
| __ mov(result, Operand(prototype));
|
| }
|
| @@ -2521,8 +2522,7 @@ void LCodeGen::DoCheckPrototypeMaps(LCheckPrototypeMaps* instr) {
|
| Register temp2 = ToRegister(instr->temp2());
|
|
|
| Handle<JSObject> holder = instr->holder();
|
| - Handle<Map> receiver_map = instr->receiver_map();
|
| - Handle<JSObject> current_prototype(JSObject::cast(receiver_map->prototype()));
|
| + Handle<JSObject> current_prototype = instr->prototype();
|
|
|
| // Load prototype object.
|
| LoadPrototype(temp1, current_prototype);
|
|
|