[llvm-commits] [llvm] r77295 - /llvm/trunk/lib/Target/PIC16/PIC16AsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Mon Jul 27 20:20:35 PDT 2009
Author: lattner
Date: Mon Jul 27 22:20:34 2009
New Revision: 77295
URL: http://llvm.org/viewvc/llvm-project?rev=77295&view=rev
Log:
fix a casting problem on the llvm-x86_64-linux tester
Modified:
llvm/trunk/lib/Target/PIC16/PIC16AsmPrinter.cpp
Modified: llvm/trunk/lib/Target/PIC16/PIC16AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16AsmPrinter.cpp?rev=77295&r1=77294&r2=77295&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16AsmPrinter.cpp Mon Jul 27 22:20:34 2009
@@ -36,7 +36,7 @@
: 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) {
More information about the llvm-commits
mailing list