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

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: byte-order assert & context-var Created 6 years, 1 month 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 c3194124e018539c28350d3ac47f6844aa9cf0c9..a03eeef6ee89295090e0d8c28105161222a91d20 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();
+ }
LocalVariable* CurrentContextVar() const {
return parsed_function().current_context_var();

Powered by Google App Engine
This is Rietveld 408576698