Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index aad506bc22b0846d19cd3a1777d7a39d86c5e10d..bcc0253c30609907e421c5af8dcc9e449593d06e 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -118,7 +118,7 @@ void FullCodeGenerator::Generate() { |
__ j(not_equal, &ok, Label::kNear); |
__ mov(ecx, GlobalObjectOperand()); |
- __ mov(ecx, FieldOperand(ecx, GlobalObject::kGlobalProxyOffset)); |
+ __ mov(ecx, FieldOperand(ecx, JSGlobalObject::kGlobalProxyOffset)); |
__ mov(Operand(esp, receiver_offset), ecx); |
@@ -2178,7 +2178,7 @@ void FullCodeGenerator::EmitCreateIteratorResult(bool done) { |
__ bind(&done_allocate); |
__ mov(ebx, GlobalObjectOperand()); |
- __ mov(ebx, FieldOperand(ebx, GlobalObject::kNativeContextOffset)); |
+ __ mov(ebx, FieldOperand(ebx, JSGlobalObject::kNativeContextOffset)); |
__ mov(ebx, ContextOperand(ebx, Context::ITERATOR_RESULT_MAP_INDEX)); |
__ mov(FieldOperand(eax, HeapObject::kMapOffset), ebx); |
__ mov(FieldOperand(eax, JSObject::kPropertiesOffset), |
@@ -4175,7 +4175,7 @@ void FullCodeGenerator::EmitCreateIterResultObject(CallRuntime* expr) { |
__ Allocate(JSIteratorResult::kSize, eax, ecx, edx, &runtime, TAG_OBJECT); |
__ mov(ebx, GlobalObjectOperand()); |
- __ mov(ebx, FieldOperand(ebx, GlobalObject::kNativeContextOffset)); |
+ __ mov(ebx, FieldOperand(ebx, JSGlobalObject::kNativeContextOffset)); |
__ mov(ebx, ContextOperand(ebx, Context::ITERATOR_RESULT_MAP_INDEX)); |
__ mov(FieldOperand(eax, HeapObject::kMapOffset), ebx); |
__ mov(FieldOperand(eax, JSObject::kPropertiesOffset), |
@@ -4200,7 +4200,7 @@ void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { |
__ push(Immediate(isolate()->factory()->undefined_value())); |
__ mov(eax, GlobalObjectOperand()); |
- __ mov(eax, FieldOperand(eax, GlobalObject::kNativeContextOffset)); |
+ __ mov(eax, FieldOperand(eax, JSGlobalObject::kNativeContextOffset)); |
__ mov(eax, ContextOperand(eax, expr->context_index())); |
} |