Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index d63453676f4cbbb81b69a3b1176bc4ab7eff64c2..2ee5ece8da6368f49b7e73073e8d5231b6e08de5 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -455,6 +455,21 @@ void LoadICStub::GenerateAssembly(CodeStubAssembler* assembler) const { |
assembler->LoadIC(&p); |
} |
+void LoadICProtoArrayStub::GenerateAssembly( |
+ CodeStubAssembler* assembler) const { |
+ typedef compiler::Node Node; |
+ |
+ Node* receiver = assembler->Parameter(Descriptor::kReceiver); |
+ Node* name = assembler->Parameter(Descriptor::kName); |
+ Node* slot = assembler->Parameter(Descriptor::kSlot); |
+ Node* vector = assembler->Parameter(Descriptor::kVector); |
+ Node* handler = assembler->Parameter(Descriptor::kHandler); |
+ Node* context = assembler->Parameter(Descriptor::kContext); |
+ |
+ CodeStubAssembler::LoadICParameters p(context, receiver, name, slot, vector); |
+ assembler->LoadICProtoArray(&p, handler); |
+} |
+ |
void LoadGlobalICTrampolineStub::GenerateAssembly( |
CodeStubAssembler* assembler) const { |
typedef compiler::Node Node; |