Revision: 9786
Author:   [email protected]
Date:     Wed Oct 26 02:30:04 2011
Log:      MIPS: port Moved random generator state to global context.

Port r9753 (28cd67f8)

BUG=
TEST=

Review URL: http://codereview.chromium.org/8390032
http://code.google.com/p/v8/source/detail?r=9786

Modified:
 /branches/bleeding_edge/src/mips/full-codegen-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Oct 26 01:43:33 2011 +++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Oct 26 02:30:04 2011
@@ -2866,7 +2866,7 @@
   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);


@@ -2885,7 +2885,7 @@
     __ 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);
   }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to