summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-28 03:20:34 +0000
committerChris Lattner <sabre@nondot.org>2009-07-28 03:20:34 +0000
commite1a70c964f454dae2faba09ba84d0f0a771fa8bd (patch)
treed03a5415eeeb403ba33bc371e5196a1d2bcea50d /llvm/lib/Target/PIC16
parent5e693ed07b35f9ed123da9c977ba0f61d65a3a08 (diff)
downloadbcm5719-llvm-e1a70c964f454dae2faba09ba84d0f0a771fa8bd.tar.gz
bcm5719-llvm-e1a70c964f454dae2faba09ba84d0f0a771fa8bd.zip
fix a casting problem on the llvm-x86_64-linux tester
llvm-svn: 77295
Diffstat (limited to 'llvm/lib/Target/PIC16')
-rw-r--r--llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp b/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
index 7fad6f31568..453dd27c925 100644
--- a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud