Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 4a0e6c8102820eb035bdf2262e1c1d1e73b2353f..651eb2cac61ac24f93d232e1ecded9c892383bf6 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -951,6 +951,9 @@ Handle<Code> LoadIC::initialize_stub(Isolate* isolate, |
Handle<Code> LoadIC::load_global(Isolate* isolate, Handle<GlobalObject> global, |
Handle<String> name) { |
+ // This special IC doesn't work with vector ics. |
+ DCHECK(!FLAG_vector_ics); |
+ |
Handle<ScriptContextTable> script_contexts( |
global->native_context()->script_context_table()); |