| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 0f0257822658186cafcc7cbc201cd2f0e0376e0e..9f43cf581e34efb646555c0d89d8f584901e19a1 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -2441,7 +2441,7 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) {
|
| // the cached map.
|
| Handle<Cell> cell = factory()->NewCell(factory()->the_hole_value());
|
| __ li(at, Operand(Handle<Object>(cell)));
|
| - __ lw(at, FieldMemOperand(at, JSGlobalPropertyCell::kValueOffset));
|
| + __ lw(at, FieldMemOperand(at, PropertyCell::kValueOffset));
|
| __ Branch(&cache_miss, ne, map, Operand(at));
|
| // We use Factory::the_hole_value() on purpose instead of loading from the
|
| // root array to force relocation to be able to later patch
|
| @@ -5017,7 +5017,7 @@ void LCodeGen::DoCheckFunction(LCheckFunction* instr) {
|
| AllowDeferredHandleDereference smi_check;
|
| if (isolate()->heap()->InNewSpace(*target)) {
|
| Register reg = ToRegister(instr->value());
|
| - Handle<Cell> cell = isolate()->factory()->NewJSGlobalPropertyCell(target);
|
| + Handle<Cell> cell = isolate()->factory()->NewPropertyCell(target);
|
| __ li(at, Operand(Handle<Object>(cell)));
|
| __ lw(at, FieldMemOperand(at, Cell::kValueOffset));
|
| DeoptimizeIf(ne, instr->environment(), reg,
|
|
|