Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index f04c3cb32f982b2e7365e7aacf5d2f5b6e3548f3..225359656134e36d60300b117224af625b086016 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2701,7 +2701,7 @@ void FullCodeGenerator::EmitRandomHeapNumber(ZoneList<Expression*>* args) { |
// Return a random uint32 number in rax. |
// The fresh HeapNumber is in rbx, which is callee-save on both x64 ABIs. |
__ PrepareCallCFunction(0); |
- __ CallCFunction(ExternalReference::random_uint32_function(), 0); |
+ __ CallCFunction(ExternalReference::random_uint32_function(isolate()), 0); |
// Convert 32 random bits in rax to 0.(32 random bits) in a double |
// by computing: |