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

Unified Diff: runtime/vm/isolate.h

Issue 1418863003: Precompilation: Generate instance calls as IC calls that can switch to Megamoprhic calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « runtime/vm/instructions_mips.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 955d5e48f92f9a390f8abd68b034cea4e126cf00..fc4f2cbd4519f22bed4cbd82d9fd36e5385ec797 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -138,6 +138,10 @@ class Isolate : public BaseIsolate {
return OFFSET_OF(Isolate, class_table_);
}
+ static intptr_t ic_miss_code_offset() {
+ return OFFSET_OF(Isolate, ic_miss_code_);
+ }
+
Dart_MessageNotifyCallback message_notify_callback() const {
return message_notify_callback_;
}
@@ -608,6 +612,8 @@ class Isolate : public BaseIsolate {
RawUserTag* default_tag() const { return default_tag_; }
void set_default_tag(const UserTag& tag);
+ void set_ic_miss_code(const Code& code);
+
Metric* metrics_list_head() {
return metrics_list_head_;
}
@@ -738,6 +744,7 @@ class Isolate : public BaseIsolate {
uword user_tag_;
RawUserTag* current_tag_;
RawUserTag* default_tag_;
+ RawCode* ic_miss_code_;
ClassTable class_table_;
bool single_step_;
« no previous file with comments | « runtime/vm/instructions_mips.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698