Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 3d0d5505aea05800177fdce62d85f9cafe7dcaef..316171712fc3b6b51745aabb47e8c28d1181cd6c 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5636,7 +5636,7 @@ void HOptimizedGraphBuilder::VisitVariableProxy(VariableProxy* expr) { |
if (type == kUseCell) { |
Handle<GlobalObject> global(current_info()->global_object()); |
- Handle<JSGlobalPropertyCell> cell(global->GetPropertyCell(&lookup)); |
+ Handle<PropertyCell> cell(global->GetPropertyCell(&lookup)); |
HLoadGlobalCell* instr = |
new(zone()) HLoadGlobalCell(cell, lookup.GetPropertyDetails()); |
return ast_context()->ReturnInstruction(instr, expr->id()); |
@@ -6567,7 +6567,7 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment( |
GlobalPropertyAccess type = LookupGlobalProperty(var, &lookup, true); |
if (type == kUseCell) { |
Handle<GlobalObject> global(current_info()->global_object()); |
- Handle<JSGlobalPropertyCell> cell(global->GetPropertyCell(&lookup)); |
+ Handle<PropertyCell> cell(global->GetPropertyCell(&lookup)); |
HInstruction* instr = |
new(zone()) HStoreGlobalCell(value, cell, lookup.GetPropertyDetails()); |
instr->set_position(position); |