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

Unified Diff: runtime/vm/object.h

Issue 237063004: Intrinsify UserTag operations on all architectures (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/isolate.h ('k') | no next file » | 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 f7eafb7394beaf2a5b7f61d5e7e97a4fdfab43c6..38296c762c2c8c08669c187f9e5670595ff063b9 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -6670,6 +6670,7 @@ class UserTag : public Instance {
ASSERT(t < UserTags::kUserTagIdOffset + UserTags::kMaxUserTags);
raw_ptr()->tag_ = t;
};
+ static intptr_t tag_offset() { return OFFSET_OF(RawUserTag, tag_); }
RawString* label() const {
return raw_ptr()->label_;
« no previous file with comments | « runtime/vm/isolate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698