[llvm-commits] CVS: llvm/lib/Target/IA64/IA64TargetMachine.h
Chris Lattner
lattner at cs.uiuc.edu
Fri May 12 16:26:24 PDT 2006
Changes in directory llvm/lib/Target/IA64:
IA64TargetMachine.h updated: 1.10 -> 1.11
---
Log message:
Fix build breakage :(
---
Diffs of the changes: (+3 -1)
IA64TargetMachine.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64TargetMachine.h
diff -u llvm/lib/Target/IA64/IA64TargetMachine.h:1.10 llvm/lib/Target/IA64/IA64TargetMachine.h:1.11
--- llvm/lib/Target/IA64/IA64TargetMachine.h:1.10 Fri May 12 13:19:25 2006
+++ llvm/lib/Target/IA64/IA64TargetMachine.h Fri May 12 18:26:11 2006
@@ -34,7 +34,9 @@
virtual const IA64InstrInfo *getInstrInfo() const { return &InstrInfo; }
virtual const TargetFrameInfo *getFrameInfo() const { return &FrameInfo; }
- virtual IA64TargetLowering *getTargetLowering() const { return &TLInfo; }
+ virtual IA64TargetLowering *getTargetLowering() const {
+ return const_cast<IA64TargetLowering*>(&TLInfo);
+ }
virtual const MRegisterInfo *getRegisterInfo() const {
return &InstrInfo.getRegisterInfo();
}
More information about the llvm-commits
mailing list