diff options
| author | Dan Gohman <gohman@apple.com> | 2007-07-23 20:24:29 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-07-23 20:24:29 +0000 |
| commit | b6a8ae20c75c8b8f086d58346dfa96c7d7f94151 (patch) | |
| tree | 234f518eba655f284aeef99f5323f2c6ab32ca32 /llvm/lib/CodeGen/DwarfWriter.cpp | |
| parent | 17f68f95d8fcd6226c5350a17c645de58a5840eb (diff) | |
| download | bcm5719-llvm-b6a8ae20c75c8b8f086d58346dfa96c7d7f94151.tar.gz bcm5719-llvm-b6a8ae20c75c8b8f086d58346dfa96c7d7f94151.zip | |
Fix some uses of dyn_cast to be uses of cast.
llvm-svn: 40443
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index 257a776d2f1..e157e58bd4c 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/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. |

