diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-28 03:20:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-28 03:20:34 +0000 |
commit | af225108bb310a2b1e48dc26f89b2095d98da1f8 (patch) | |
tree | 4b7ceec420af7ec7647a1d344ef44ac55662fc66 | |
parent | c4c40a9f14d66de770ba7c0922be07dca7e3b827 (diff) | |
download | external_llvm-af225108bb310a2b1e48dc26f89b2095d98da1f8.zip external_llvm-af225108bb310a2b1e48dc26f89b2095d98da1f8.tar.gz external_llvm-af225108bb310a2b1e48dc26f89b2095d98da1f8.tar.bz2 |
fix a casting problem on the llvm-x86_64-linux tester
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77295 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PIC16/PIC16AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16AsmPrinter.cpp b/lib/Target/PIC16/PIC16AsmPrinter.cpp index 7fad6f3..453dd27 100644 --- a/lib/Target/PIC16/PIC16AsmPrinter.cpp +++ b/lib/Target/PIC16/PIC16AsmPrinter.cpp @@ -36,7 +36,7 @@ PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM, : AsmPrinter(O, TM, T, V), DbgInfo(O, T) { PTLI = static_cast<const PIC16TargetLowering*>(TM.getTargetLowering()); PTAI = static_cast<const PIC16TargetAsmInfo*>(T); - PTOF = static_cast<const PIC16TargetObjectFile*>(&PTLI->getObjFileLowering()); + PTOF = (PIC16TargetObjectFile*)&PTLI->getObjFileLowering(); } bool PIC16AsmPrinter::printMachineInstruction(const MachineInstr *MI) { |