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

Unified Diff: runtime/vm/object.h

Issue 17421003: Store arguments descriptor in ICData. Remove loading of arguments descriptor at unoptimized call si… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/intermediate_language_x64.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
===================================================================
--- runtime/vm/object.h (revision 24207)
+++ runtime/vm/object.h (working copy)
@@ -3183,6 +3183,10 @@
return raw_ptr()->target_name_;
}
+ RawArray* arguments_descriptor() const {
+ return raw_ptr()->args_descriptor_;
+ }
+
intptr_t num_args_tested() const {
return raw_ptr()->num_args_tested_;
}
@@ -3217,6 +3221,10 @@
return OFFSET_OF(RawICData, num_args_tested_);
}
+ static intptr_t arguments_descriptor_offset() {
+ return OFFSET_OF(RawICData, args_descriptor_);
+ }
+
static intptr_t ic_data_offset() {
return OFFSET_OF(RawICData, ic_data_);
}
@@ -3274,6 +3282,7 @@
static RawICData* New(const Function& caller_function,
const String& target_name,
+ const Array& arguments_descriptor,
intptr_t deopt_id,
intptr_t num_args_tested);
@@ -3294,6 +3303,7 @@
void set_function(const Function& value) const;
void set_target_name(const String& value) const;
+ void set_arguments_descriptor(const Array& value) const;
void set_deopt_id(intptr_t value) const;
void set_num_args_tested(intptr_t value) const;
void set_ic_data(const Array& value) const;
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698