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

Unified Diff: runtime/vm/compiler.h

Issue 10375017: Remove old x64 code generator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « runtime/vm/code_generator_x64.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.h
===================================================================
--- runtime/vm/compiler.h (revision 7349)
+++ runtime/vm/compiler.h (working copy)
@@ -15,6 +15,7 @@
class Class;
class Function;
class Library;
+class ParsedFunction;
class RawInstance;
class Script;
class SequenceNode;
@@ -39,6 +40,12 @@
// Returns Error::null() if there is no compilation error.
static RawError* CompileOptimizedFunction(const Function& function);
+ // Generates code for given parsed function (without parsing it again) and
+ // sets its code field.
+ //
+ // Returns Error::null() if there is no compilation error.
+ static RawError* CompileParsedFunction(const ParsedFunction& parsed_function);
+
// Generates and executes code for a given code fragment, e.g. a
// compile time constant expression. Returns the result returned
// by the fragment.
« no previous file with comments | « runtime/vm/code_generator_x64.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698