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

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 b5a284188dab82c4ca94e16d1018f8768cbd2437..f07b726cf90a502db730815912a3b905a034f3ec 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