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

Unified Diff: runtime/vm/precompiler.h

Issue 1359963002: Let the embedder provide entry points to Dart_Precompile. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/precompiler.h
diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h
index 1d98aeb99a1a9951d3f9bea5abf42644a88c8f10..4dede4c4d36a7345631fa526f9a3da7a59ff931e 100644
--- a/runtime/vm/precompiler.h
+++ b/runtime/vm/precompiler.h
@@ -78,14 +78,16 @@ class SymbolSet : public ValueObject {
class Precompiler : public ValueObject {
public:
- static RawError* CompileAll();
+ static RawError* CompileAll(
+ Dart_QualifiedFunctionName embedder_entry_points[]);
private:
explicit Precompiler(Thread* thread);
- void DoCompileAll();
+ void DoCompileAll(Dart_QualifiedFunctionName embedder_entry_points[]);
void ClearAllCode();
- void AddRoots();
+ void AddRoots(Dart_QualifiedFunctionName embedder_entry_points[]);
+ void AddEntryPoints(Dart_QualifiedFunctionName entry_points[]);
void Iterate();
void CleanUp();
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698