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

Unified Diff: runtime/vm/object.h

Issue 1423063005: VM: Speculative inlining in precompiled code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed Srdjan's commments Created 5 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 69ade36c5bcdd5ef415b8593b1d3219bf0b90738..494f33ee5c5efa6c066238103f5e54f5c1e409f7 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -468,6 +468,11 @@ class Object {
return *branch_offset_error_;
}
+ static const LanguageError& speculative_inlining_error() {
+ ASSERT(speculative_inlining_error_ != NULL);
+ return *speculative_inlining_error_;
+ }
+
static const Array& vm_isolate_snapshot_object_table() {
ASSERT(vm_isolate_snapshot_object_table_ != NULL);
return *vm_isolate_snapshot_object_table_;
@@ -802,6 +807,7 @@ class Object {
static Smi* smi_illegal_cid_;
static LanguageError* snapshot_writer_error_;
static LanguageError* branch_offset_error_;
+ static LanguageError* speculative_inlining_error_;
static Array* vm_isolate_snapshot_object_table_;
static Type* dynamic_type_;
static Type* void_type_;

Powered by Google App Engine
This is Rietveld 408576698