diff options
Diffstat (limited to 'runtime/mirror/string-inl.h')
-rw-r--r-- | runtime/mirror/string-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/mirror/string-inl.h b/runtime/mirror/string-inl.h index 35b8aef10a..9f6cd11c3e 100644 --- a/runtime/mirror/string-inl.h +++ b/runtime/mirror/string-inl.h @@ -30,9 +30,9 @@ namespace art { namespace mirror { -inline uint32_t String::ClassSize() { +inline uint32_t String::ClassSize(size_t pointer_size) { uint32_t vtable_entries = Object::kVTableLength + 52; - return Class::ComputeClassSize(true, vtable_entries, 0, 1, 0, 1, 2); + return Class::ComputeClassSize(true, vtable_entries, 0, 1, 0, 1, 2, pointer_size); } // Sets string count in the allocation code path to ensure it is guarded by a CAS. |