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

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
Index: runtime/vm/precompiler.h
diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h
index 1d98aeb99a1a9951d3f9bea5abf42644a88c8f10..70161222fd30889ef65721554469ce90f2d163d9 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);
srdjan 2015/09/23 18:32:36 Here and elsewhere: use: Dart_QualifiedFunctionNa
rmacnak 2015/09/23 20:17:35 Done.
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();

Powered by Google App Engine
This is Rietveld 408576698