commit | a058fdf0cf7435a13a6e8cae5e3a9bfa1513828d | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Oct 06 15:13:58 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Oct 06 15:53:58 2016 -0700 |
tree | 85de1316f29f661372841d5feee16c370375fc16 | |
parent | c4f3925490a73da8dc74884a1deb965d4ecaf14e [diff] [blame] |
Move mirror::Object setters to ObjPtr Bug: 31113334 Test: test-art-host Change-Id: I2c4c84645e194c3c435a4a6fd670176b0e98671f
diff --git a/runtime/globals.h b/runtime/globals.h index 28534e4..6164225 100644 --- a/runtime/globals.h +++ b/runtime/globals.h
@@ -172,6 +172,9 @@ static constexpr bool kIsVdexEnabled = false; #endif +// Size of a heap reference. +static constexpr size_t kHeapReferenceSize = sizeof(uint32_t); + } // namespace art #endif // ART_RUNTIME_GLOBALS_H_