mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-29 16:04:33 +00:00
Fix build warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79262 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b7b102023
commit
5d17eddb0c
@ -499,7 +499,7 @@ bool SjLjEHPass::insertSjLjEHSupport(Function &F) {
|
||||
if (I == BB->begin()) continue;
|
||||
if (CallInst *CI = dyn_cast<CallInst>(--I)) {
|
||||
if (CI->getCalledFunction() == ResumeFn) {
|
||||
Value *NegativeOne = ConstantInt::get(Int32Ty, -1);
|
||||
Value *NegativeOne = Constant::getAllOnesValue(Int32Ty);
|
||||
new StoreInst(NegativeOne, CallSite, true, I); // volatile
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user