summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorChang Xing <chxing@google.com>2017-07-11 09:57:44 -0700
committerChang Xing <chxing@google.com>2017-07-11 11:06:31 -0700
commitfef27c271e536f84e2d44fd0730b9fb329296376 (patch)
treec92a57079f45445f1ee72ed01f61bd0c3f149074 /compiler/optimizing/codegen_test_utils.h
parent00cca3a275562d110a8b35094b9b12fac37f67ab (diff)
Fix pointer size mismatch
When compiler starts interpreter and unstarted_runtime, the pointer size needed should be determined by the target instead of using compiler's binary mode. Since compiler is only compiled once for both 32-bit and 64-bit, there will be a mismatch for some cases. Fixed the pointer size used in compiler and interpreter, retrieve pointer size from ClassLinker when needed. Updated corresponding test, otherwise there would be check fail which test the equality of pointer sizes between the template argument and runtime information. Test: make test-art-host -j64 Change-Id: I927a24ec79f8f82420133c6996703b940852a1e0
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions