From 9a4f003f9a6da8e4c6ee279bd2a13aac37648183 Mon Sep 17 00:00:00 2001 From: jeffhao Date: Thu, 30 Aug 2012 16:17:40 -0700 Subject: Remove the THROW_VERIFICATION_ERROR op and supporting code. Change-Id: Idc40a2c379048c7e3d74f50b2bd765a507a417ce --- src/compiler/codegen/GenCommon.cc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/compiler/codegen/GenCommon.cc') diff --git a/src/compiler/codegen/GenCommon.cc b/src/compiler/codegen/GenCommon.cc index 6cb701f829..8c431f5d90 100644 --- a/src/compiler/codegen/GenCommon.cc +++ b/src/compiler/codegen/GenCommon.cc @@ -829,13 +829,6 @@ void genShowTarget(CompilationUnit* cUnit) #endif } -void genThrowVerificationError(CompilationUnit* cUnit, int info1, int info2) -{ - callRuntimeHelperImmImm(cUnit, - ENTRYPOINT_OFFSET(pThrowVerificationErrorFromCode), - info1, info2); -} - void handleSuspendLaunchpads(CompilationUnit *cUnit) { LIR** suspendLabel = (LIR **)cUnit->suspendLaunchpads.elemList; @@ -929,12 +922,6 @@ void handleThrowLaunchpads(CompilationUnit *cUnit) case kThrowDivZero: funcOffset = ENTRYPOINT_OFFSET(pThrowDivZeroFromCode); break; - case kThrowVerificationError: - loadConstant(cUnit, rARG0, v1); - loadConstant(cUnit, rARG1, v2); - funcOffset = - ENTRYPOINT_OFFSET(pThrowVerificationErrorFromCode); - break; case kThrowNoSuchMethod: opRegCopy(cUnit, rARG0, v1); funcOffset = -- cgit v1.2.3-59-g8ed1b