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

Unified Diff: runtime/vm/object.h

Issue 169893003: Another round of cleanups for http://www.dartbug.com/15922 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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
===================================================================
--- runtime/vm/object.h (revision 32732)
+++ runtime/vm/object.h (working copy)
@@ -4024,7 +4024,7 @@
void SetFieldAtOffset(intptr_t offset, const Object& value) const {
StorePointer(FieldAddrAtOffset(offset), value.raw());
}
- bool IsValidFieldOffset(int offset) const;
+ bool IsValidFieldOffset(intptr_t offset) const;
static intptr_t NextFieldOffset() {
return sizeof(RawInstance);
@@ -5634,7 +5634,7 @@
// 'source' to the new array. 'new_length' must be greater than or equal to
// 'source.Length()'. 'source' can be null.
static RawArray* Grow(const Array& source,
- int new_length,
+ intptr_t new_length,
Heap::Space space = Heap::kNew);
// Return an Array object that contains all the elements currently present

Powered by Google App Engine
This is Rietveld 408576698