aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-23 20:24:29 +0000
committerDan Gohman <gohman@apple.com>2007-07-23 20:24:29 +0000
commit275769a77acd8f0dadbf9ca03384b31c9f1c3e01 (patch)
treee05fce6a1e8102de39751719332c00a1ed5ad23b /lib/CodeGen/DwarfWriter.cpp
parent63491b2e15f28622e9aa8fec8752ec63a7da79e2 (diff)
Fix some uses of dyn_cast to be uses of cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index 257a776d2f..e157e58bd4 100644
--- a/lib/CodeGen/DwarfWriter.cpp
+++ b/lib/CodeGen/DwarfWriter.cpp
@@ -1546,7 +1546,7 @@ private:
break;
}
- FromTy = dyn_cast<DerivedTypeDesc>(FromTy)->getFromType();
+ FromTy = cast<DerivedTypeDesc>(FromTy)->getFromType();
}
// Unless we have a bit field.