Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index aee5ca72a165084c4e1a03eb3b41448b3b894140..40e8c1d9a69aa6a22aeec5bb665603dad2176df0 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -4,6 +4,7 @@ |
#include "src/v8.h" |
+#include "src/code-factory.h" |
#include "src/codegen.h" |
#include "src/compiler.h" |
#include "src/debug.h" |
@@ -408,14 +409,13 @@ void FullCodeGenerator::PrepareForBailout(Expression* node, State state) { |
void FullCodeGenerator::CallLoadIC(ContextualMode contextual_mode, |
TypeFeedbackId id) { |
- ExtraICState extra_state = LoadIC::ComputeExtraICState(contextual_mode); |
- Handle<Code> ic = LoadIC::initialize_stub(isolate(), extra_state); |
+ Handle<Code> ic = CodeFactory::LoadIC(isolate(), contextual_mode).code(); |
CallIC(ic, id); |
} |
void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) { |
- Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode()); |
+ Handle<Code> ic = CodeFactory::StoreIC(isolate(), strict_mode()).code(); |
CallIC(ic, id); |
} |