summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb6a8ae20c75c8b8f086d58346dfa96c7d7f94151 (patch)
tree234f518eba655f284aeef99f5323f2c6ab32ca32 /llvm/lib/CodeGen/DwarfWriter.cpp
parent17f68f95d8fcd6226c5350a17c645de58a5840eb (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud