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

Unified Diff: runtime/vm/dart.h

Issue 2525623002: VM: [Kernel] Split kernel API into 3 steps: ([read binary], parse-binary, bootstrap, load program) (Closed)
Patch Set: Created 4 years, 1 month 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/dart.h
diff --git a/runtime/vm/dart.h b/runtime/vm/dart.h
index 3480fad3d635967f8999132686c96a6b696aa84f..9af4ed98cdf25a983c173b10f9eabfb78da9102b 100644
--- a/runtime/vm/dart.h
+++ b/runtime/vm/dart.h
@@ -18,6 +18,9 @@ class LocalHandle;
class RawError;
class ReadOnlyHandles;
class ThreadPool;
+namespace kernel {
+class Program;
+}
class Dart : public AllStatic {
public:
@@ -44,7 +47,7 @@ class Dart : public AllStatic {
// from_kernel. Otherwise, initialize from sources.
static RawError* InitializeIsolate(const uint8_t* snapshot_buffer,
intptr_t snapshot_length,
- bool from_kernel,
+ kernel::Program* kernel_program,
void* data);
static void RunShutdownCallback();
static void ShutdownIsolate(Isolate* isolate);

Powered by Google App Engine
This is Rietveld 408576698