| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index fbe33510c16967df7c703be55d57dd3b2d1d192d..fcc06fada7fa2886125a5db80bdb1d1d5cfee12a 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -1113,7 +1113,7 @@ void BaseLoadStubCompiler::NonexistentHandlerFrontend(
|
| Handle<GlobalObject> global) {
|
| Label miss;
|
|
|
| - Register reg = HandlerFrontendHeader(object, receiver(), last, name, &miss);
|
| + HandlerFrontendHeader(object, receiver(), last, name, &miss);
|
|
|
| // If the last object in the prototype chain is a global object,
|
| // check that the global property cell is empty.
|
| @@ -1121,13 +1121,6 @@ void BaseLoadStubCompiler::NonexistentHandlerFrontend(
|
| GenerateCheckPropertyCell(masm(), global, name, scratch2(), &miss);
|
| }
|
|
|
| - if (!last->HasFastProperties()) {
|
| - __ mov(scratch2(), FieldOperand(reg, HeapObject::kMapOffset));
|
| - __ mov(scratch2(), FieldOperand(scratch2(), Map::kPrototypeOffset));
|
| - __ cmp(scratch2(), isolate()->factory()->null_value());
|
| - __ j(not_equal, &miss);
|
| - }
|
| -
|
| HandlerFrontendFooter(success, &miss);
|
| }
|
|
|
|
|