Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index ed03b91811a691dd92ec64857b65dfa61965c7f3..f755307820770357cbb7904769f32b288cc0433b 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -9,6 +9,7 @@ |
#include "src/api-arguments.h" |
#include "src/arguments.h" |
#include "src/base/bits.h" |
+#include "src/code-factory.h" |
#include "src/codegen.h" |
#include "src/conversions.h" |
#include "src/execution.h" |
@@ -1721,8 +1722,7 @@ Handle<Code> StoreIC::CompileHandler(LookupIterator* lookup, |
case LookupIterator::INTERCEPTOR: { |
DCHECK(!holder->GetNamedInterceptor()->setter()->IsUndefined()); |
- NamedStoreHandlerCompiler compiler(isolate(), receiver_map(), holder); |
- return compiler.CompileStoreInterceptor(lookup->name()); |
+ return CodeFactory::StoreInterceptor(isolate()).code(); |
} |
case LookupIterator::ACCESSOR: { |