summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectImage.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-10-29 22:18:43 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-10-29 22:18:43 +0000
commit2a9177c3de3662db935233951da26264ebf23cd7 (patch)
tree8199305b55ee4847e1e22eaf6504af3c4f0061df /lldb/source/Commands/CommandObjectImage.cpp
parent0eccfc2693d6f258c812468e5e0d69d897078556 (diff)
downloadbcm5719-llvm-2a9177c3de3662db935233951da26264ebf23cd7.tar.gz
bcm5719-llvm-2a9177c3de3662db935233951da26264ebf23cd7.zip
These two casts are up casts, no need to use dynamic_cast.
llvm-svn: 117725
Diffstat (limited to 'lldb/source/Commands/CommandObjectImage.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectImage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectImage.cpp b/lldb/source/Commands/CommandObjectImage.cpp
index 53db6dfbeb4..6a1037ae346 100644
--- a/lldb/source/Commands/CommandObjectImage.cpp
+++ b/lldb/source/Commands/CommandObjectImage.cpp
@@ -82,7 +82,7 @@ DumpCompileUnitLineTable
if (i > 0)
strm << "\n\n";
- strm << "Line table for " << *dynamic_cast<FileSpec*> (sc.comp_unit) << " in `"
+ strm << "Line table for " << *static_cast<FileSpec*> (sc.comp_unit) << " in `"
<< module->GetFileSpec().GetFilename() << "\n";
LineTable *line_table = sc.comp_unit->GetLineTable();
if (line_table)
OpenPOWER on IntegriCloud