summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/MethodCodegenDriver.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-01-05 17:35:23 -0800
committer buzbee <buzbee@google.com> 2012-01-05 19:08:13 -0800
commit769fde14cf82840e458f3ca0b1accdaedc60e837 (patch)
treec62b2743c48c6d5c7c16bd7b68a8c824f790cc1d /src/compiler/codegen/arm/MethodCodegenDriver.cc
parenteaa200d9b8a28f1a23b6ded7875d2b8fca555254 (diff)
Reg promotion fix; full optimization by default
As anticipated, the register promotion problem was related to type inference. The Dalvik bytecode definition doesn't explicitly carry type information on some opcodes. The problem this time was that invoke results are stored in a magic untyped return location, which is later accesses via (also untyped) OP_MOVE_RESULT. Most of the time, the existing type inference mechanism was able to figure out the result register type, but there was a pattern in which it could be missed. Fixed (the last type inference bug, I hope). This CL also re-enables full optimization by default (which will also result in a quite significant reduction in code size). Change-Id: I4c13455df7eba5c932e2cc7907b00c8b3b2f85b8
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
0 files changed, 0 insertions, 0 deletions