Index: src/builtins/builtins-handler.cc |
diff --git a/src/builtins/builtins-handler.cc b/src/builtins/builtins-handler.cc |
index 2da5a176da77528f01c8c0aec7d25356907ac4d7..1e6948dda0725fd3edce41fa6dce0849149170f1 100644 |
--- a/src/builtins/builtins-handler.cc |
+++ b/src/builtins/builtins-handler.cc |
@@ -4,6 +4,7 @@ |
#include "src/builtins/builtins-utils.h" |
#include "src/builtins/builtins.h" |
+#include "src/ic/accessor-assembler.h" |
#include "src/ic/handler-compiler.h" |
#include "src/ic/ic.h" |
#include "src/ic/keyed-store-generic.h" |
@@ -13,18 +14,7 @@ namespace internal { |
void Builtins::Generate_KeyedLoadIC_Megamorphic_TF( |
compiler::CodeAssemblerState* state) { |
- typedef compiler::Node Node; |
- typedef LoadWithVectorDescriptor Descriptor; |
- CodeStubAssembler assembler(state); |
- |
- 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); |
+ AccessorAssembler::GenerateKeyedLoadICMegamorphic(state); |
} |
void Builtins::Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { |