aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-02-06 21:44:22 +0000
committerBill Wendling <isanbard@gmail.com>2012-02-06 21:44:22 +0000
commit8833ef03b9ceaa52063116819fff8b3d16fd8933 (patch)
tree5a1fa61f4da27040c81aad39127be94215579b34 /include/llvm/Transforms/Utils
parent3e9719e1f3a7ba41abacb6e4155cfd71a7d9788f (diff)
downloadexternal_llvm-8833ef03b9ceaa52063116819fff8b3d16fd8933.zip
external_llvm-8833ef03b9ceaa52063116819fff8b3d16fd8933.tar.gz
external_llvm-8833ef03b9ceaa52063116819fff8b3d16fd8933.tar.bz2
[unwind removal] Remove all of the code for the dead 'unwind' instruction. There
were no 'unwind' instructions being generated before this, so this is in effect a no-op. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils')
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h
index 073c43a..16ff7cf 100644
--- a/include/llvm/Transforms/Utils/Cloning.h
+++ b/include/llvm/Transforms/Utils/Cloning.h
@@ -56,21 +56,13 @@ struct ClonedCodeInfo {
/// call instruction.
bool ContainsCalls;
- /// ContainsUnwinds - This is set to true if the cloned code contains an
- /// unwind instruction.
- bool ContainsUnwinds;
-
/// ContainsDynamicAllocas - This is set to true if the cloned code contains
/// a 'dynamic' alloca. Dynamic allocas are allocas that are either not in
/// the entry block or they are in the entry block but are not a constant
/// size.
bool ContainsDynamicAllocas;
- ClonedCodeInfo() {
- ContainsCalls = false;
- ContainsUnwinds = false;
- ContainsDynamicAllocas = false;
- }
+ ClonedCodeInfo() : ContainsCalls(false), ContainsDynamicAllocas(false) {}
};