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

Unified Diff: runtime/vm/kernel_reader.h

Issue 2786083002: Read platform.dill in the VM. (Closed)
Patch Set: Allow main to be a field or getter. Created 3 years, 9 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/kernel_reader.h
diff --git a/runtime/vm/kernel_reader.h b/runtime/vm/kernel_reader.h
index d9426fac2342255baf69a7dc4b3b9a193da5f440..c2c8dc13b6cbfb513902ecf959709906263f32a1 100644
--- a/runtime/vm/kernel_reader.h
+++ b/runtime/vm/kernel_reader.h
@@ -53,7 +53,8 @@ class KernelReader {
public:
explicit KernelReader(Program* program);
- // Returns either a library or a failure object.
+ // Returns the library containing the main procedure, null if there
+ // was no main procedure, or a failure object if there was an error.
dart::Object& ReadProgram();
static void SetupFunctionParameters(TranslationHelper translation_helper_,

Powered by Google App Engine
This is Rietveld 408576698