OSDN Git Service

Add pointer size logic to InitFromImageInterpretOnly
authorMathieu Chartier <mathieuc@google.com>
Fri, 5 Dec 2014 18:57:13 +0000 (10:57 -0800)
committerMathieu Chartier <mathieuc@google.com>
Fri, 5 Dec 2014 21:11:12 +0000 (13:11 -0800)
commita89d7ed6f091ac495cd43560ece6988776d14d61
treed416d6035e2061005e201d7d101890f81bed82a6
parentab74d3eae37de79444edd1edd70400970d5e85ad
Add pointer size logic to InitFromImageInterpretOnly

Previously we didn't have this logic which broke dex2oat if passed
--runtime-option -Xint flag.

Also we now no longer call InitFromImageInterpretOnlyCallback if
we are the compiler.

Bug: 18631640
Change-Id: Ie84fceeb85cabeeec7a5fedefd73dd919cca8e5e
runtime/class_linker.cc
runtime/class_linker.h