diff options
| author | 2012-09-14 16:36:11 -0700 | |
|---|---|---|
| committer | 2012-09-15 04:51:25 -0700 | |
| commit | b259652a72293b4bd3c346bb0e40fb8a7f878fa2 (patch) | |
| tree | c8736e46ebb8830c2d7ab2405d881fa4f21a6c24 /src/compiler/codegen/MethodBitcode.cc | |
| parent | 55e5e6c5702e3f1f68bd83ae741af769740d9a74 (diff) | |
Overall clean up of gbc_expander and intrinsics.
Change-Id: I4afbafbaa3f2ecb82a55e609b3f276225c06f117
Diffstat (limited to 'src/compiler/codegen/MethodBitcode.cc')
| -rw-r--r-- | src/compiler/codegen/MethodBitcode.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compiler/codegen/MethodBitcode.cc b/src/compiler/codegen/MethodBitcode.cc index c176c4e10b..31fc9cf29e 100644 --- a/src/compiler/codegen/MethodBitcode.cc +++ b/src/compiler/codegen/MethodBitcode.cc @@ -1777,10 +1777,8 @@ bool methodBlockBitcodeConversion(CompilationUnit* cUnit, BasicBlock* bb) { if (bb->blockType == kDead) return false; llvm::BasicBlock* llvmBB = getLLVMBlock(cUnit, bb->id); - if (llvmBB != NULL) { - cUnit->irb->SetInsertPoint(llvmBB); - setDexOffset(cUnit, bb->startOffset); - } + cUnit->irb->SetInsertPoint(llvmBB); + setDexOffset(cUnit, bb->startOffset); if (cUnit->printMe) { LOG(INFO) << "................................"; |