| Index: runtime/vm/flow_graph_compiler_x64.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_x64.cc (revision 8552)
|
| +++ runtime/vm/flow_graph_compiler_x64.cc (working copy)
|
| @@ -928,8 +928,8 @@
|
| }
|
|
|
| // Generate stack overflow check.
|
| - __ movq(TMP, Immediate(Isolate::Current()->stack_limit_address()));
|
| - __ cmpq(RSP, Address(TMP, 0));
|
| + __ movq(RDI, Immediate(Isolate::Current()->stack_limit_address()));
|
| + __ cmpq(RSP, Address(RDI, 0));
|
| Label no_stack_overflow;
|
| __ j(ABOVE, &no_stack_overflow, Assembler::kNearJump);
|
| GenerateCallRuntime(AstNode::kNoId,
|
|
|