Index: src/ic.cc |
=================================================================== |
--- src/ic.cc (revision 2303) |
+++ src/ic.cc (working copy) |
@@ -637,7 +637,8 @@ |
if (lookup->holder() != *global) return; |
JSGlobalPropertyCell* cell = |
JSGlobalPropertyCell::cast(global->GetPropertyCell(lookup)); |
- code = StubCache::ComputeLoadGlobal(*name, *global, cell); |
+ code = StubCache::ComputeLoadGlobal(*name, *global, |
+ cell, lookup->IsDontDelete()); |
} else { |
// There is only one shared stub for loading normalized |
// properties. It does not traverse the prototype chain, so the |