| Index: runtime/vm/flow_graph_compiler_x64.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_x64.cc (revision 6205)
|
| +++ runtime/vm/flow_graph_compiler_x64.cc (working copy)
|
| @@ -813,6 +813,18 @@
|
| }
|
|
|
|
|
| +void FlowGraphCompiler::VisitCloneContext(CloneContextComp* comp) {
|
| + __ popq(RAX); // Get context value from stack.
|
| + __ PushObject(Object::ZoneHandle()); // Make room for the result.
|
| + __ pushq(RAX);
|
| + GenerateCallRuntime(comp->node_id(),
|
| + comp->token_index(),
|
| + kCloneContextRuntimeEntry);
|
| + __ popq(RAX); // Remove argument.
|
| + __ popq(RAX); // Get result (cloned context).
|
| +}
|
| +
|
| +
|
| void FlowGraphCompiler::VisitBlocks() {
|
| for (intptr_t i = 0; i < block_order_.length(); ++i) {
|
| // Compile the block entry.
|
|
|