Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index afb65a050703c7c747bced9485036391d44fccf4..923011fe089930c6a05981a49c98d45e8377fb9b 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -415,11 +415,11 @@ void StubCompiler::GenerateLoadFunctionPrototype(MacroAssembler* masm, |
// the property cell at compilation time if no cell exists for the |
// property. |
void StubCompiler::GenerateCheckPropertyCell(MacroAssembler* masm, |
- Handle<GlobalObject> global, |
+ Handle<JSGlobalObject> global, |
Handle<Name> name, |
Register scratch, |
Label* miss) { |
- Handle<Cell> cell = GlobalObject::EnsurePropertyCell(global, name); |
+ Handle<Cell> cell = JSGlobalObject::EnsurePropertyCell(global, name); |
ASSERT(cell->value()->IsTheHole()); |
__ mov(scratch, Operand(cell)); |
__ ldr(scratch, FieldMemOperand(scratch, Cell::kValueOffset)); |
@@ -437,7 +437,7 @@ void StoreStubCompiler::GenerateNegativeHolderLookup( |
Label* miss) { |
if (holder->IsJSGlobalObject()) { |
GenerateCheckPropertyCell( |
- masm, Handle<GlobalObject>::cast(holder), name, scratch1(), miss); |
+ masm, Handle<JSGlobalObject>::cast(holder), name, scratch1(), miss); |
} else if (!holder->HasFastProperties() && !holder->IsJSGlobalProxy()) { |
GenerateDictionaryNegativeLookup( |
masm, miss, holder_reg, name, scratch1(), scratch2()); |
@@ -1160,9 +1160,9 @@ void StubCompiler::GenerateCheckPropertyCells(MacroAssembler* masm, |
Label* miss) { |
Handle<JSObject> current = object; |
while (!current.is_identical_to(holder)) { |
- if (current->IsGlobalObject()) { |
+ if (current->IsJSGlobalObject()) { |
GenerateCheckPropertyCell(masm, |
- Handle<GlobalObject>::cast(current), |
+ Handle<JSGlobalObject>::cast(current), |
name, |
scratch, |
miss); |
@@ -2913,7 +2913,7 @@ Handle<Code> LoadStubCompiler::CompileLoadNonexistent( |
Handle<JSObject> object, |
Handle<JSObject> last, |
Handle<Name> name, |
- Handle<GlobalObject> global) { |
+ Handle<JSGlobalObject> global) { |
Label success; |
NonexistentHandlerFrontend(object, last, name, &success, global); |