Index: runtime/vm/flow_graph_compiler_arm64.cc |
diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc |
index 76da1808b299bcec12649b6f4babd157e4ffaf1c..86167ac39db743933dcea68162a96e1bc1d6b512 100644 |
--- a/runtime/vm/flow_graph_compiler_arm64.cc |
+++ b/runtime/vm/flow_graph_compiler_arm64.cc |
@@ -1022,7 +1022,10 @@ void FlowGraphCompiler::EmitFrameEntry() { |
void FlowGraphCompiler::CompileGraph() { |
InitCompiler(); |
- TryIntrinsify(); |
+ if (TryIntrinsify()) { |
+ // Skip regular code generation. |
+ return; |
+ } |
EmitFrameEntry(); |
ASSERT(assembler()->constant_pool_allowed()); |