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

Unified Diff: runtime/vm/kernel.h

Issue 2776373002: Initial steps into streaming the kernel flowgraph (Closed)
Patch Set: Rebase + fix lint error 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
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/kernel_binary.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel.h
diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
index 54f1b9ab9b67b2eb59d4fe8780fc46b3ce3a6a43..0b19f13b3922d7b47e24675b4c2d2be0bc34aef5 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -512,8 +512,11 @@ class Library : public LinkedNode {
return true;
}
+ const uint8_t* kernel_data() { return kernel_data_; }
+ intptr_t kernel_data_size() { return kernel_data_size_; }
+
private:
- Library() : name_(NULL) {}
+ Library() : name_(NULL), kernel_data_(NULL), kernel_data_size_(-1) {}
template <typename T>
friend class List;
@@ -524,6 +527,8 @@ class Library : public LinkedNode {
List<Class> classes_;
List<Field> fields_;
List<Procedure> procedures_;
+ const uint8_t* kernel_data_;
+ intptr_t kernel_data_size_;
DISALLOW_COPY_AND_ASSIGN(Library);
};
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/kernel_binary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698