| Index: runtime/vm/flow_graph_compiler_x64.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
|
| index 7ffc8a14050f4feabe3dcea4ab9b0b3698865f57..d5f4f922407f783869e0169e2fd445e6d0e971d5 100644
|
| --- a/runtime/vm/flow_graph_compiler_x64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_x64.cc
|
| @@ -61,6 +61,21 @@ void FlowGraphCompiler::VisitConstant(ConstantVal* val) {
|
| }
|
|
|
|
|
| +void FlowGraphCompiler::VisitCopyTemp(CopyTempComp* comp) {
|
| + // Index is a stack index. Semantics is to produce a duplicate of the
|
| + // temp at index.
|
| + __ movq(RAX, Address(RSP, comp->index() * (-kWordSize)));
|
| +}
|
| +
|
| +
|
| +void FlowGraphCompiler::VisitSetTemp(SetTempComp* comp) {
|
| + // Index is a stack index. Semantics is to store a (copy of) the TOS in
|
| + // the temp at index.
|
| + __ movq(RAX, Address(RSP, 0));
|
| + __ movq(Address(RSP, comp->index() * (-kWordSize)), RAX);
|
| +}
|
| +
|
| +
|
| void FlowGraphCompiler::VisitAssertAssignable(AssertAssignableComp* comp) {
|
| Bailout("AssertAssignableComp");
|
| }
|
|
|