Commit fef27c27 authored by Chang Xing's avatar Chang Xing
Browse files

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
parent 00cca3a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment