projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the sentinal "no handle" value to the ResumeInst.
[oota-llvm.git]
/
lib
/
CodeGen
/
SjLjEHPrepare.cpp
diff --git
a/lib/CodeGen/SjLjEHPrepare.cpp
b/lib/CodeGen/SjLjEHPrepare.cpp
index be491b13834e77edb816fde49004bfb95a1bf41a..ebed3d2b882de9c9eadc6e338aa1e6cc2c8c65c8 100644
(file)
--- a/
lib/CodeGen/SjLjEHPrepare.cpp
+++ b/
lib/CodeGen/SjLjEHPrepare.cpp
@@
-631,6
+631,8
@@
bool SjLjEHPass::insertSjLjEHSupport(Function &F) {
if (Callee != SelectorFn && Callee != ExceptionFn
&& !CI->doesNotThrow())
insertCallSiteStore(CI, -1, CallSite);
+ } else if (ResumeInst *RI = dyn_cast<ResumeInst>(I)) {
+ insertCallSiteStore(RI, -1, CallSite);
}
}