Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index c1d11bbb90678b646f8904673d61e3874f0bb872..b77cb7d681c93b96e1da744913dd1e90cdbb1d09 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -190,7 +190,7 @@ static bool TryRemoveInvalidPrototypeDependentStub(Code* target, |
// The stub was generated for JSObject but called for non-JSObject. |
// IC::GetCodeCacheHolder is not applicable. |
return false; |
- } else if (cache_holder == DELEGATE_MAP && |
+ } else if (cache_holder == PROTOTYPE_MAP && |
receiver->GetPrototype(isolate)->IsNull()) { |
// IC::GetCodeCacheHolder is not applicable. |
return false; |