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 a6350bf8646350495db7b41a5389a83a1a3966cb..4247722048a0b300d2e0a7c43092521d504ed1f0 100644 |
--- a/runtime/vm/flow_graph_compiler_x64.cc |
+++ b/runtime/vm/flow_graph_compiler_x64.cc |
@@ -1030,7 +1030,10 @@ void FlowGraphCompiler::EmitFrameEntry() { |
void FlowGraphCompiler::CompileGraph() { |
InitCompiler(); |
- TryIntrinsify(); |
+ if (TryIntrinsify()) { |
+ // Skip regular code generation. |
+ return; |
+ } |
EmitFrameEntry(); |
ASSERT(assembler()->constant_pool_allowed()); |