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

Unified Diff: runtime/vm/raw_object.h

Issue 22915008: Tests for GuardField length check along with bug fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 1be013cb90ce10a14859763dfce7f29b42dad0b7..0c0aec896986a2c96ce7b544a3e6d93a5edc3a33 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -680,6 +680,7 @@ class RawField : public RawObject {
RawAbstractType* type_;
RawInstance* value_; // Offset in words for instance and value for static.
RawArray* dependent_code_;
+ RawSmi* guarded_list_length_;
RawObject** to() {
return reinterpret_cast<RawObject**>(&ptr()->dependent_code_);
srdjan 2013/08/27 17:45:22 To be correct, 'to()' should go up to guarded_list
Cutch 2013/08/28 12:24:59 Done.
}
@@ -688,7 +689,6 @@ class RawField : public RawObject {
intptr_t guarded_cid_;
intptr_t is_nullable_; // kNullCid if field can contain null value and
// any other value otherwise.
- intptr_t guarded_list_length_;
uint8_t kind_bits_; // static, final, const, has initializer.
};

Powered by Google App Engine
This is Rietveld 408576698