Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index e39911e951cf2f6b59497aefebb2549f6927b88d..aadb1564e879b6076d8e102c13b2b2e7bf777b92 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2851,7 +2851,7 @@ void FullCodeGenerator::EmitRandomHeapNumber(ZoneList<Expression*>* args) { |
if (CpuFeatures::IsSupported(FPU)) { |
__ PrepareCallCFunction(1, a0); |
__ lw(a0, ContextOperand(cp, Context::GLOBAL_INDEX)); |
- __ lw(a0, FieldOperand(a0, GlobalObject::kGlobalContextOffset)); |
+ __ lw(a0, FieldMemOperand(a0, GlobalObject::kGlobalContextOffset)); |
__ CallCFunction(ExternalReference::random_uint32_function(isolate()), 1); |
@@ -2870,7 +2870,7 @@ void FullCodeGenerator::EmitRandomHeapNumber(ZoneList<Expression*>* args) { |
__ PrepareCallCFunction(2, a0); |
__ mov(a0, s0); |
__ lw(a1, ContextOperand(cp, Context::GLOBAL_INDEX)); |
- __ lw(a1, FieldOperand(a1, GlobalObject::kGlobalContextOffset)); |
+ __ lw(a1, FieldMemOperand(a1, GlobalObject::kGlobalContextOffset)); |
__ CallCFunction( |
ExternalReference::fill_heap_number_with_random_function(isolate()), 2); |
} |