OSDN Git Service

Fix a Thumb vs Thumb2 codegen bug.
authorBen Cheng <bccheng@android.com>
Wed, 11 May 2011 23:55:48 +0000 (16:55 -0700)
committerBen Cheng <bccheng@android.com>
Wed, 11 May 2011 23:55:48 +0000 (16:55 -0700)
commitfe108f779db4fb3bc720a92e69e58177983088c1
tree90dc67e893dd992d4cbb89215272c1740027520b
parent313d430d5b3b96b45370ccddee52a6d88a799f35
Fix a Thumb vs Thumb2 codegen bug.

A Thumb2 pc-relative load is slipped into the codegen stream even though
the selected platform is armv5te (eg the emulator).

Bug: 4399358
Change-Id: I61dd6853cad6c82de43f384814c903dd9f3ae302
vm/compiler/codegen/CodegenFactory.cpp
vm/compiler/codegen/arm/Thumb/Factory.cpp
vm/compiler/codegen/arm/Thumb2/Factory.cpp