| Index: src/a64/stub-cache-a64.cc
|
| diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc
|
| index 6554542d9374895a9b66825e4a372ecf5d7e3917..291db280565a3a9796fb676de6e6e46e3c96743c 100644
|
| --- a/src/a64/stub-cache-a64.cc
|
| +++ b/src/a64/stub-cache-a64.cc
|
| @@ -3080,10 +3080,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.
|
| __ Mov(x3, Operand(cell));
|
| @@ -3103,7 +3100,7 @@ Handle<Code> LoadStubCompiler::CompileLoadGlobal(
|
| __ Ret();
|
|
|
| // Return the generated code.
|
| - return GetICCode(kind(), Code::NORMAL, name);
|
| + return GetCode(kind(), Code::NORMAL, name);
|
| }
|
|
|
|
|
|
|