Refine aot exception throw, remove unnecessary labels (#456)

This commit is contained in:
Wenyong Huang
2020-11-30 17:57:22 +08:00
committed by GitHub
parent 0700dc9cd4
commit 591e4ce536
4 changed files with 5 additions and 75 deletions

View File

@ -99,7 +99,7 @@ check_call_return(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
/* Add check exection success block */
if (!(check_call_succ = LLVMAppendBasicBlockInContext(comp_ctx->context,
func_ctx->func,
"check_exce_succ"))) {
"check_call_succ"))) {
aot_set_last_error("llvm add basic block failed.");
return false;
}