Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 9ca434293ae57a117b0fe6a41c7cd5ed0eface25..006f3ef3913dd51d6ae4f9bd26e1c8b35e78a1be 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -389,8 +389,11 @@ void NamedLoadHandlerCompiler::GenerateLoadPostInterceptor( |
UNREACHABLE(); |
case LookupIterator::DATA: { |
DCHECK_EQ(DATA, it->property_details().type()); |
- __ Move(receiver(), reg); |
- LoadFieldStub stub(isolate(), it->GetFieldIndex()); |
+ __ Move(LoadFieldDescriptor::ReceiverRegister(), reg); |
+ Handle<Object> smi_handler = |
+ LoadIC::SimpleFieldLoad(isolate(), it->GetFieldIndex()); |
+ __ Move(LoadFieldDescriptor::SmiHandlerRegister(), smi_handler); |
+ LoadFieldStub stub(isolate()); |
GenerateTailCall(masm(), stub.GetCode()); |
break; |
} |