commit | b6a8ae20c75c8b8f086d58346dfa96c7d7f94151 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Jul 23 20:24:29 2007 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Jul 23 20:24:29 2007 +0000 |
tree | 234f518eba655f284aeef99f5323f2c6ab32ca32 | |
parent | 17f68f95d8fcd6226c5350a17c645de58a5840eb [diff] [blame] |
Fix some uses of dyn_cast to be uses of cast. llvm-svn: 40443
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index 257a776..e157e58 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -1546,7 +1546,7 @@ break; } - FromTy = dyn_cast<DerivedTypeDesc>(FromTy)->getFromType(); + FromTy = cast<DerivedTypeDesc>(FromTy)->getFromType(); } // Unless we have a bit field.