| Index: src/mips/stub-cache-mips.cc
|
| diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc
|
| index 68e207489fe6e978050c61551314b4d37042f1f0..27be2d45147836c34c4ad0b2d96fe89665d6f8dc 100644
|
| --- a/src/mips/stub-cache-mips.cc
|
| +++ b/src/mips/stub-cache-mips.cc
|
| @@ -3032,10 +3032,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal(
|
| bool is_dont_delete) {
|
| Label success, miss;
|
|
|
| - __ CheckMap(
|
| - receiver(), scratch1(), Handle<Map>(object->map()), &miss, DO_SMI_CHECK);
|
| - HandlerFrontendHeader(
|
| - object, receiver(), Handle<JSObject>::cast(global), name, &miss);
|
| + HandlerFrontendHeader(object, receiver(), global, name, &miss);
|
|
|
| // Get the value from the cell.
|
| __ li(a3, Operand(cell));
|
| @@ -3056,7 +3053,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal(
|
| __ mov(v0, t0);
|
|
|
| // Return the generated code.
|
| - return GetICCode(kind(), Code::NORMAL, name);
|
| + return GetCode(kind(), Code::NORMAL, name);
|
| }
|
|
|
|
|
|
|