diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-17 18:41:42 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-17 18:41:42 +0000 |
commit | f9bdf988a277a9a81ad827d623a4aa64a600deaf (patch) | |
tree | 76b06ba88568a744914f58c7f6d35d030a8e15ef /llvm/lib | |
parent | 49033712e4dcdf0c4f2b3567e36859c83591fe1f (diff) | |
download | bcm5719-llvm-f9bdf988a277a9a81ad827d623a4aa64a600deaf.tar.gz bcm5719-llvm-f9bdf988a277a9a81ad827d623a4aa64a600deaf.zip |
Fix build warning.
llvm-svn: 79262
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SjLjEHPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SjLjEHPrepare.cpp b/llvm/lib/CodeGen/SjLjEHPrepare.cpp index 6a8213faae4..799557accf7 100644 --- a/llvm/lib/CodeGen/SjLjEHPrepare.cpp +++ b/llvm/lib/CodeGen/SjLjEHPrepare.cpp @@ -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 } } |