OSDN Git Service

Set "needFallThroughBranch" flag during block split.
authorBen Cheng <bccheng@android.com>
Fri, 22 Apr 2011 06:09:39 +0000 (23:09 -0700)
committerBen Cheng <bccheng@android.com>
Fri, 22 Apr 2011 06:20:39 +0000 (23:20 -0700)
commit9f54185b4186def90351903bb2e97090e06ab559
treea912d5dc45ca5f267b3aef427ba0f0e463ae2e7d
parent902326326616642ae5ad0dd3c493a9e3abcd55da
Set "needFallThroughBranch" flag during block split.

Bonus changes:
* Add a undefined Thumb instruction between the last code block and the
  beginning of PC reconstruction cell to capture such codegen problem on
  the spot.
* Fix a loop formation problem to exclude nested loops.

Bug: 4320840
Change-Id: I49d3fbba0073d8c2d4a0b241258239cb952c6bdd
vm/compiler/Frontend.c
vm/compiler/Loop.c
vm/compiler/codegen/arm/ArmLIR.h
vm/compiler/codegen/arm/Assemble.c
vm/compiler/codegen/arm/CodegenDriver.c