diff options
| author | 2012-09-10 16:07:11 -0700 | |
|---|---|---|
| committer | 2012-09-10 16:07:12 -0700 | |
| commit | 5e9abdc62d2ffb685378b40d965caa84891a5464 (patch) | |
| tree | 54fbf11445e378082132e5dcae0944a222709a5d /src/compiler/codegen/MethodCodegenDriver.cc | |
| parent | 4c70d77decc1217c8b1ebf8126b8d9d024c75d82 (diff) | |
| parent | 488a78ca207898490da3cfb58399534fa9fb3fbf (diff) | |
Merge "Fix image size regression" into dalvik-dev
Diffstat (limited to 'src/compiler/codegen/MethodCodegenDriver.cc')
| -rw-r--r-- | src/compiler/codegen/MethodCodegenDriver.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/codegen/MethodCodegenDriver.cc b/src/compiler/codegen/MethodCodegenDriver.cc index e76834d7c6..606a1ed98d 100644 --- a/src/compiler/codegen/MethodCodegenDriver.cc +++ b/src/compiler/codegen/MethodCodegenDriver.cc @@ -866,6 +866,7 @@ void handleExtendedMethodMIR(CompilationUnit* cUnit, BasicBlock* bb, MIR* mir) /* Handle the content in each basic block */ bool methodBlockCodeGen(CompilationUnit* cUnit, BasicBlock* bb) { + if (bb->blockType == kDead) return false; MIR* mir; LIR* labelList = cUnit->blockLabelList; int blockId = bb->id; |