projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check that catch clauses have pointer type.
[oota-llvm.git]
/
lib
/
VMCore
/
Instruction.cpp
diff --git
a/lib/VMCore/Instruction.cpp
b/lib/VMCore/Instruction.cpp
index f54cec11e2e3f3fa1d6d33ce9933143fda4e8e72..73191c19658cc0e77d3f7ca53ef9fd856ec3ec33 100644
(file)
--- a/
lib/VMCore/Instruction.cpp
+++ b/
lib/VMCore/Instruction.cpp
@@
-436,6
+436,10
@@
bool Instruction::isSafeToSpeculativelyExecute() const {
case Unwind:
case Unreachable:
case Fence:
+ case LandingPad:
+ case AtomicRMW:
+ case AtomicCmpXchg:
+ case Resume:
return false; // Misc instructions which have effects
}
}