summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r--llvm/lib/VMCore/Instruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp
index 4fc9f3c7e77..99fd8d09e5b 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/lib/VMCore/Instruction.cpp
@@ -380,6 +380,7 @@ bool Instruction::isTrapping(unsigned op) {
case Call:
case Invoke:
case VAArg:
+ case Free:
return true;
default:
return false;
OpenPOWER on IntegriCloud