[CP] [to #57622719] fix: manually reset IR Builder after use

This commit is contained in:
0xacc 2024-06-24 08:52:17 +00:00 committed by ob-robot
parent 02f24ecc3e
commit 3cfbf0100f

View File

@ -662,7 +662,9 @@ int ObLLVMHelper::verify_function(ObLLVMFunction &function)
} else if (verifyFunction(*function.get_v())) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("failed to verify function", K(ret));
} else { /*do nothing*/ }
} else {
jc_->Builder.reset();
}
return ret;
}