[llvm-commits] [llvm] r45562 - /llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jan 3 18:22:21 PST 2008
Author: evancheng
Date: Thu Jan 3 20:22:21 2008
New Revision: 45562
URL: http://llvm.org/viewvc/llvm-project?rev=45562&view=rev
Log:
Correct order of parameters.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp?rev=45562&r1=45561&r2=45562&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp Thu Jan 3 20:22:21 2008
@@ -189,8 +189,8 @@
MachineRelocation R;
if (MO.isGlobalAddress()) {
R = MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc,
- MO.getGlobal(),
- isa<Function>(MO.getGlobal()), 0);
+ MO.getGlobal(), 0,
+ isa<Function>(MO.getGlobal()));
} else if (MO.isExternalSymbol()) {
R = MachineRelocation::getExtSym(MCE.getCurrentPCOffset(),
Reloc, MO.getSymbolName(), 0);
More information about the llvm-commits
mailing list