summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.cc
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-04-29 01:30:27 -0700
committer Shih-wei Liao <sliao@google.com> 2012-05-03 17:38:41 -0700
commit5e5a804e7be57876df789c88dc0503879f969f39 (patch)
tree08e0973ba2d442605a9ef6f27ca0088005f1f015 /src/compiler_llvm/method_compiler.cc
parent9948913c01c761493472ccb60ab19be336ac4af4 (diff)
Remove unnecessary exception check.
Change-Id: Iba16ed9439253dfe635cf216a77a567c8ed32e1d
Diffstat (limited to 'src/compiler_llvm/method_compiler.cc')
-rw-r--r--src/compiler_llvm/method_compiler.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/compiler_llvm/method_compiler.cc b/src/compiler_llvm/method_compiler.cc
index 2d69290e8b..a326b135b8 100644
--- a/src/compiler_llvm/method_compiler.cc
+++ b/src/compiler_llvm/method_compiler.cc
@@ -1535,7 +1535,6 @@ void MethodCompiler::EmitInsn_MonitorEnter(uint32_t dex_pc,
llvm::Value* thread_object_addr = irb_.CreateCall(irb_.GetRuntime(GetCurrentThread));
irb_.CreateCall2(irb_.GetRuntime(LockObject), object_addr, thread_object_addr);
- EmitGuard_ExceptionLandingPad(dex_pc);
irb_.CreateBr(GetNextBasicBlock(dex_pc));
}
@@ -3660,8 +3659,6 @@ void MethodCompiler::EmitGuard_GarbageCollectionSuspend(uint32_t dex_pc) {
EmitUpdateDexPC(dex_pc);
irb_.CreateCall(runtime_func, thread_object_addr);
-
- EmitGuard_ExceptionLandingPad(dex_pc);
}