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

Unified Diff: runtime/vm/raw_object.h

Issue 1176703002: Make guard_cid and nullable_cid half words. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index b136b39f0afd61e734365e59c4f8db3215455afd..57aca2be4a05eb42ce6d5d85c4b542b76dd7b1b9 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -814,11 +814,10 @@ class RawField : public RawObject {
return reinterpret_cast<RawObject**>(&ptr()->guarded_list_length_);
}
- // TODO(rmacnak): Make guarded_cid and is_nullable be cid_t.
int32_t token_pos_;
- int32_t guarded_cid_;
- int32_t is_nullable_; // kNullCid if field can contain null value and
- // any other value otherwise.
+ classid_t guarded_cid_;
+ classid_t is_nullable_; // kNullCid if field can contain null value and
+ // any other value otherwise.
// Offset to the guarded length field inside an instance of class matching
// guarded_cid_. Stored corrected by -kHeapObjectTag to simplify code
// generated on platforms with weak addressing modes (ARM, MIPS).
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698