Index: runtime/vm/flow_graph.h |
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h |
index 45d64a7f8e41b1be53e2418c4eb6ddca97780b8f..34afb3f071ae46bbb2307d83f6eb59632130cedd 100644 |
--- a/runtime/vm/flow_graph.h |
+++ b/runtime/vm/flow_graph.h |
@@ -109,6 +109,9 @@ class FlowGraph : public ZoneAllocated { |
intptr_t num_non_copied_params() const { |
return num_non_copied_params_; |
} |
+ bool IsIrregexpFunction() const { |
+ return parsed_function().function().IsIrregexpFunction(); |
+ } |
// Flow graph orders. |
const GrowableArray<BlockEntryInstr*>& preorder() const { |