projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7b102
)
Fix build warning.
author
Daniel Dunbar
<daniel@zuster.org>
Mon, 17 Aug 2009 18:41:42 +0000
(18:41 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Mon, 17 Aug 2009 18:41:42 +0000
(18:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79262
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SjLjEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SjLjEHPrepare.cpp
b/lib/CodeGen/SjLjEHPrepare.cpp
index 6a8213faae4a6ed32704839bb3256484678456fe..799557accf793d5d4e6c5d6b3bd9a464a69cae34 100644
(file)
--- a/
lib/CodeGen/SjLjEHPrepare.cpp
+++ b/
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 = Constant
Int::get(Int32Ty, -1
);
+ Value *NegativeOne = Constant
::getAllOnesValue(Int32Ty
);
new StoreInst(NegativeOne, CallSite, true, I); // volatile
}
}