Replace dyn_cast with isa in places that weren't using the returned value for more...
[oota-llvm.git] / lib / DebugInfo / DWARF / DWARFContext.cpp
index 18c4e8e4cafdbf44635f5dae65db454251fcc436..2165d353ba0968b348b3ced9b956679a90046dcd 100644 (file)
@@ -704,7 +704,7 @@ DWARFContextInMemory::DWARFContextInMemory(const object::ObjectFile &Obj,
     // relocation point already factors in the section address
     // (actually applying the relocations will produce wrong results
     // as the section address will be added twice).
-    if (!L && dyn_cast<MachOObjectFile>(&Obj))
+    if (!L && isa<MachOObjectFile>(&Obj))
       continue;
 
     RelSecName = RelSecName.substr(