Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index fda9c205c4c11d8ae9cc08651e8dcf2126fd9000..0648833dc7569fb8d407ef6c5924b25e03a0e818 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -789,12 +789,12 @@ void StoreStubCompiler::GenerateRestoreName(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<PropertyCell> cell = |
- GlobalObject::EnsurePropertyCell(global, name); |
+ JSGlobalObject::EnsurePropertyCell(global, name); |
ASSERT(cell->value()->IsTheHole()); |
Handle<Oddball> the_hole = masm->isolate()->factory()->the_hole_value(); |
if (Serializer::enabled()) { |
@@ -816,7 +816,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()); |
@@ -1126,9 +1126,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); |
@@ -3023,7 +3023,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); |