Index: src/builtins/builtins-handler.cc |
diff --git a/src/builtins/builtins-handler.cc b/src/builtins/builtins-handler.cc |
index 8b3df7927f409f83b2aaf054279fe889efdb178e..63fdffdc636d19c909d5d0008c22239107f8d139 100644 |
--- a/src/builtins/builtins-handler.cc |
+++ b/src/builtins/builtins-handler.cc |
@@ -14,6 +14,21 @@ void Builtins::Generate_KeyedLoadIC_Megamorphic(MacroAssembler* masm) { |
KeyedLoadIC::GenerateMegamorphic(masm); |
} |
+void Builtins::Generate_KeyedLoadIC_Megamorphic_TF( |
+ CodeStubAssembler* assembler) { |
+ typedef compiler::Node Node; |
+ typedef LoadWithVectorDescriptor Descriptor; |
+ |
+ 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->KeyedLoadICGeneric(&p); |
+} |
+ |
void Builtins::Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { |
KeyedLoadIC::GenerateMiss(masm); |
} |