diff options
author | Carl Shapiro <cshapiro@google.com> | 2011-05-03 17:59:35 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2011-05-03 18:09:17 -0700 |
commit | a62c3a0ab3fcdde37f47d16e9699a935ae7a8e88 (patch) | |
tree | b23da5546e400facfa36b3dec6daac8c30d3a537 /vm/mterp/common | |
parent | 00c88766d7425c7923187c18a8c7e91d32807a97 (diff) | |
download | android_dalvik-a62c3a0ab3fcdde37f47d16e9699a935ae7a8e88.tar.gz android_dalvik-a62c3a0ab3fcdde37f47d16e9699a935ae7a8e88.tar.bz2 android_dalvik-a62c3a0ab3fcdde37f47d16e9699a935ae7a8e88.zip |
Establish a subclass relationship between ArrayObject and Object.
Change-Id: I9f9fe52bd4ceebb6dde48251a89190ba6bb00ce4
Diffstat (limited to 'vm/mterp/common')
-rw-r--r-- | vm/mterp/common/asm-constants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/mterp/common/asm-constants.h b/vm/mterp/common/asm-constants.h index 4b091caa7..f9fb928b2 100644 --- a/vm/mterp/common/asm-constants.h +++ b/vm/mterp/common/asm-constants.h @@ -11,9 +11,9 @@ * down to nothing. */ # define MTERP_OFFSET(_name, _type, _field, _offset) \ - if (offsetof(_type, _field) != _offset) { \ + if (OFFSETOF_MEMBER(_type, _field) != _offset) { \ LOGE("Bad asm offset %s (%d), should be %d\n", \ - #_name, _offset, offsetof(_type, _field)); \ + #_name, _offset, OFFSETOF_MEMBER(_type, _field)); \ failed = true; \ } # define MTERP_SIZEOF(_name, _type, _size) \ |