Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1340)

Unified Diff: runtime/vm/flow_graph.h

Issue 683433003: Integrate the Irregexp Regular Expression Engine. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 8d85b4e00021356768bb5f8e021d7205d5fab397..1417a4fa72be6c1e0baa256b49f01b453888f3b0 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -110,6 +110,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 {

Powered by Google App Engine
This is Rietveld 408576698