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

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: Port remaining V8 regexp tests and fix exposed bugs. Created 6 years, 3 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 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 {

Powered by Google App Engine
This is Rietveld 408576698