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

Unified Diff: runtime/vm/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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 79cd9649f3552be4aba2c3157a33548c6d79794f..badd2a51f9be928fc93d7564e6221cf9ffc0b86f 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1996,12 +1996,8 @@ class Field : public Object {
// to have. If length is kUnknownFixedLength the length has not
// been determined. If length is kNoFixedLength this field has multiple
// list lengths associated with it and cannot be predicted.
- intptr_t guarded_list_length() const {
- return raw_ptr()->guarded_list_length_;
- }
- void set_guarded_list_length(intptr_t list_length) const {
- raw_ptr()->guarded_list_length_ = list_length;
- }
+ intptr_t guarded_list_length() const;
+ void set_guarded_list_length(intptr_t list_length) const;
static intptr_t guarded_list_length_offset() {
return OFFSET_OF(RawField, guarded_list_length_);
}

Powered by Google App Engine
This is Rietveld 408576698