Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 45c481299b5ebd410fcd9a55a2ad35ccc27165ea..68e207489fe6e978050c61551314b4d37042f1f0 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -405,11 +405,11 @@ void StubCompiler::GenerateLoadFunctionPrototype(MacroAssembler* masm, |
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()); |
__ li(scratch, Operand(cell)); |
__ lw(scratch, FieldMemOperand(scratch, Cell::kValueOffset)); |
@@ -426,7 +426,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()); |
@@ -1150,9 +1150,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); |
@@ -2928,7 +2928,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); |