Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 0dac7d2e0b0bcec68e53eb19192e54fb88793a4e..b1eae719247486b8fcda1e26d0b4f4bb7cbe7278 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -445,13 +445,7 @@ void FullCodeGenerator::CallLoadIC(ContextualMode contextual_mode, |
void FullCodeGenerator::CallGlobalLoadIC(Handle<String> name) { |
- if (masm()->serializer_enabled() || FLAG_vector_ics) { |
- // Vector-ICs don't work with LoadGlobalIC. |
- return CallLoadIC(CONTEXTUAL); |
- } |
- Handle<Code> ic = CodeFactory::LoadGlobalIC( |
- isolate(), isolate()->global_object(), name).code(); |
- CallIC(ic, TypeFeedbackId::None()); |
+ return CallLoadIC(CONTEXTUAL); |
} |