Changes in directory llvm/lib/Target/PowerPC:
PPCCodeEmitter.cpp updated: 1.58 -> 1.59 --- Log message: Change from using MachineRelocation ctors to using static methods in MachineRelocation to create Relocations. --- Diffs of the changes: (+2 -2) PPCCodeEmitter.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp diff -u llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.58 llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.59 --- llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.58 Wed May 3 12:10:41 2006 +++ llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp Wed May 3 15:30:20 2006 @@ -180,10 +180,10 @@ } } if (MO.isGlobalAddress()) - MCE.addRelocation(MachineRelocation(MCE.getCurrentPCOffset(), + MCE.addRelocation(MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc, MO.getGlobal(), 0)); else - MCE.addRelocation(MachineRelocation(MCE.getCurrentPCOffset(), + MCE.addRelocation(MachineRelocation::getExtSym(MCE.getCurrentPCOffset(), Reloc, MO.getSymbolName(), 0)); } else if (MO.isMachineBasicBlock()) { unsigned* CurrPC = (unsigned*)(intptr_t)MCE.getCurrentPCValue(); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits