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

Unified Diff: runtime/vm/object.h

Issue 9873014: Factor out super-class and interface array subtype checks into a stub. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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/code_generator_ia32.cc ('k') | runtime/vm/stub_code.h » ('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 5933)
+++ runtime/vm/object.h (working copy)
@@ -489,6 +489,9 @@
}
void set_type_parameters(const TypeArguments& value) const;
intptr_t NumTypeParameters() const;
+ static intptr_t type_parameters_offset() {
+ return OFFSET_OF(RawClass, type_parameters_);
+ }
// Type parameter bounds (implicitly Dynamic if not explicitly specified) as
// an array of AbstractType.
@@ -619,6 +622,9 @@
return raw_ptr()->is_interface_;
}
void set_is_interface() const;
+ static intptr_t is_interface_offset() {
+ return OFFSET_OF(RawClass, is_interface_);
+ }
bool is_finalized() const {
return raw_ptr()->class_state_ == RawClass::kFinalized;
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/stub_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698