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

Unified Diff: runtime/vm/compiler.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: 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/compiler.h
diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
index 48af3cb3032ea953abe6c3ead0bd2b84efbd8f3f..5eec0932842cd56217dcfb2e7bb70396bf4a8796 100644
--- a/runtime/vm/compiler.h
+++ b/runtime/vm/compiler.h
@@ -13,6 +13,7 @@ namespace dart {
// Forward declarations.
class Class;
+class FlowGraph;
class Function;
class Library;
class ParsedFunction;
@@ -55,6 +56,9 @@ class Compiler : public AllStatic {
// Returns Error::null() if there is no compilation error.
static RawError* CompileParsedFunction(ParsedFunction* parsed_function);
+ static RawError* CompileIrregexpFunction(ParsedFunction* parsed_function,
+ FlowGraph* flow_graph);
+
// Generates and executes code for a given code fragment, e.g. a
// compile time constant expression. Returns the result returned
// by the fragment.

Powered by Google App Engine
This is Rietveld 408576698