Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index f6d0a4db2d2856dd22052c8f2ff3a7e5a18256e4..b1b6cb7eb42c7f9a29a2641b43bb4d252920f65f 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -469,6 +469,33 @@ void LoadGlobalICStub::GenerateAssembly(CodeStubAssembler* assembler) const { |
assembler->LoadGlobalIC(&p); |
} |
+void KeyedLoadICTrampolineTFStub::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* context = assembler->Parameter(Descriptor::kContext); |
+ Node* vector = assembler->LoadTypeFeedbackVectorForStub(); |
+ |
+ CodeStubAssembler::LoadICParameters p(context, receiver, name, slot, vector); |
+ assembler->KeyedLoadIC(&p); |
+} |
+ |
+void KeyedLoadICTFStub::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* context = assembler->Parameter(Descriptor::kContext); |
+ |
+ CodeStubAssembler::LoadICParameters p(context, receiver, name, slot, vector); |
+ assembler->KeyedLoadIC(&p); |
+} |
+ |
void AllocateHeapNumberStub::GenerateAssembly( |
CodeStubAssembler* assembler) const { |
typedef compiler::Node Node; |