From f71bf5ad4e1872e4dfc71de65641ed518e2b38da Mon Sep 17 00:00:00 2001 From: TDYa127 Date: Sun, 29 Jul 2012 20:09:52 -0700 Subject: Implement remaining intrinsics. Change-Id: I75e769ae51acfdb94734a9d91fada9b49dcf2e88 --- src/compiler/codegen/MethodBitcode.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/codegen/MethodBitcode.cc') diff --git a/src/compiler/codegen/MethodBitcode.cc b/src/compiler/codegen/MethodBitcode.cc index fcf2151a74..a034b6bbaa 100644 --- a/src/compiler/codegen/MethodBitcode.cc +++ b/src/compiler/codegen/MethodBitcode.cc @@ -340,7 +340,7 @@ void convertThrow(CompilationUnit* cUnit, RegLocation rlSrc) { llvm::Value* src = getLLVMValue(cUnit, rlSrc.origSReg); llvm::Function* func = cUnit->intrinsic_helper->GetIntrinsicFunction( - greenland::IntrinsicHelper::ThrowException); + greenland::IntrinsicHelper::HLThrowException); cUnit->irb->CreateCall(func, src); } @@ -3067,7 +3067,7 @@ bool methodBitcodeBlockCodeGen(CompilationUnit* cUnit, llvm::BasicBlock* bb) case greenland::IntrinsicHelper::GetException: cvtMoveException(cUnit, callInst); break; - case greenland::IntrinsicHelper::ThrowException: + case greenland::IntrinsicHelper::HLThrowException: cvtThrow(cUnit, callInst); break; case greenland::IntrinsicHelper::MonitorEnter: -- cgit v1.2.3-59-g8ed1b