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

Unified Diff: runtime/vm/kernel.h

Issue 2515763002: VM: [Kernel] Don't use Parser::ParseStaticFieldInitializer for fields that come from Kernel. (Closed)
Patch Set: Done 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
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/kernel_reader.cc » ('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 93b828baf7b1e910cbefcb7da5063916b6af7045..2ae50612162e5544ea25716632dd96ee8eb97a53 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -125,6 +125,10 @@
namespace dart {
+class Field;
+class ParsedFunction;
+class Zone;
+
namespace kernel {
@@ -3225,6 +3229,9 @@ IT* List<T>::GetOrCreate(int index, PT* parent) {
return IT::Cast(member);
}
+ParsedFunction* ParseStaticFieldInitializer(Zone* zone,
+ const dart::Field& field);
+
} // namespace kernel
kernel::Program* ReadPrecompiledKernelFromBuffer(const uint8_t* buffer,
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/kernel_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698