Chromium Code Reviews| Index: src/scopeinfo.cc |
| diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
| index 02b4323980f30218e51059a5ebc287fd64c72b09..44d8f64c56ae50fa7fae1942ce9b6b63aabd25a6 100644 |
| --- a/src/scopeinfo.cc |
| +++ b/src/scopeinfo.cc |
| @@ -321,6 +321,7 @@ int ScopeInfo::ContextSlotIndex(String* name, |
| return result; |
| } |
| } |
| + // Cache as not found. Mode and init flag don't matter. |
| context_slot_cache->Update(this, name, INTERNAL, kNeedsInitialization, -1); |
| } |
| return -1; |