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

Unified Diff: runtime/vm/object.h

Issue 3001883002: [vm] Read interface_target_reference from kernel binaries (Closed)
Patch Set: Add assertion Created 3 years, 4 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/vm/kernel_to_il.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 711320c264b0af8372580e176087ab48c961dc62..6a9a3453104558c4d84c5afe8d517049bc45d987 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -360,6 +360,10 @@ class Object {
ASSERT(null_instance_ != NULL);
return *null_instance_;
}
+ static const Function& null_function() {
+ ASSERT(null_function_ != NULL);
+ return *null_function_;
+ }
static const TypeArguments& null_type_arguments() {
ASSERT(null_type_arguments_ != NULL);
return *null_type_arguments_;
@@ -806,6 +810,7 @@ class Object {
static Array* null_array_;
static String* null_string_;
static Instance* null_instance_;
+ static Function* null_function_;
static TypeArguments* null_type_arguments_;
static TypeArguments* empty_type_arguments_;
static Array* empty_array_;
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698