Index: src/ic/accessor-assembler.cc |
diff --git a/src/ic/accessor-assembler.cc b/src/ic/accessor-assembler.cc |
index fda39f21b2adce5a4b938bb859157bbc667fde07..6a6e35786f13393b0affd910922cad14ae70d4f2 100644 |
--- a/src/ic/accessor-assembler.cc |
+++ b/src/ic/accessor-assembler.cc |
@@ -1654,6 +1654,20 @@ void AccessorAssemblerImpl::GenerateLoadICProtoArray( |
LoadICProtoArray(&p, handler, throw_reference_error_if_nonexistent); |
} |
+void AccessorAssemblerImpl::GenerateLoadField() { |
+ typedef LoadFieldStub::Descriptor Descriptor; |
+ |
+ Node* receiver = Parameter(Descriptor::kReceiver); |
+ Node* name = nullptr; |
+ Node* slot = nullptr; |
+ Node* vector = nullptr; |
+ Node* context = Parameter(Descriptor::kContext); |
+ LoadICParameters p(context, receiver, name, slot, vector); |
+ |
+ HandleLoadICSmiHandlerCase(&p, receiver, Parameter(Descriptor::kSmiHandler), |
+ nullptr, kOnlyProperties); |
+} |
+ |
void AccessorAssemblerImpl::GenerateLoadGlobalIC(TypeofMode typeof_mode) { |
typedef LoadGlobalICStub::Descriptor Descriptor; |