Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 095b61498623e01b0c6d48c1f0bc8ee6e7343733..ac5cff7014d721cc507fb16b77858f2417cdaf76 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -686,7 +686,7 @@ Handle<Code> CallICBase::ComputeMonomorphicStub(LookupResult* lookup, |
if (holder->IsGlobalObject()) { |
Handle<GlobalObject> global = Handle<GlobalObject>::cast(holder); |
- Handle<JSGlobalPropertyCell> cell( |
+ Handle<PropertyCell> cell( |
global->GetPropertyCell(lookup), isolate()); |
if (!cell->value()->IsJSFunction()) return Handle<Code>::null(); |
Handle<JSFunction> function(JSFunction::cast(cell->value())); |
@@ -1257,7 +1257,7 @@ Handle<Code> LoadIC::ComputeLoadHandler(LookupResult* lookup, |
case NORMAL: |
if (holder->IsGlobalObject()) { |
Handle<GlobalObject> global = Handle<GlobalObject>::cast(holder); |
- Handle<JSGlobalPropertyCell> cell( |
+ Handle<PropertyCell> cell( |
global->GetPropertyCell(lookup), isolate()); |
return isolate()->stub_cache()->ComputeLoadGlobal( |
name, receiver, global, cell, lookup->IsDontDelete()); |
@@ -1684,7 +1684,7 @@ Handle<Code> StoreIC::ComputeStoreMonomorphic(LookupResult* lookup, |
// from the property cell. So the property must be directly on the |
// global object. |
Handle<GlobalObject> global = Handle<GlobalObject>::cast(receiver); |
- Handle<JSGlobalPropertyCell> cell( |
+ Handle<PropertyCell> cell( |
global->GetPropertyCell(lookup), isolate()); |
return isolate()->stub_cache()->ComputeStoreGlobal( |
name, global, cell, strict_mode); |