Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 291901e537e334256481a26b9d354566be30f408..350ff6f4d79079d02aba812a64eb5afe5e0e175d 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2962,6 +2962,7 @@ void LCodeGen::DoRandom(LRandom* instr) { |
__ movq(global_object, |
FieldOperand(global_object, GlobalObject::kGlobalContextOffset)); |
__ CallCFunction(ExternalReference::random_uint32_function(isolate()), 1); |
+ __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
// Convert 32 random bits in rax to 0.(32 random bits) in a double |
// by computing: |