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

Unified Diff: runtime/vm/flow_graph.h

Issue 539153002: Port and integrate the irregexp engine from V8 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Explicitly null IC-Data, whitespace fixes in tests. 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 134cc5ac48b1ab20e2880f644afc5983284420e8..7db7dfcbc920fedb72d761bc2de46485504dbc0b 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -120,6 +120,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