aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-01-04 02:22:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-01-04 02:22:21 +0000
commit165b60de0b4a17e7d270e63fd4223b6c1c318fdd (patch)
tree077fadb5fb3a18cfd913c1a4d6ed2b35ad3a161a /lib/Target/PowerPC
parentf840f87baf1bad29e105354fdde51a128e7b1cd7 (diff)
Correct order of parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCCodeEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp
index b96d555a53..8f5e6fcbf0 100644
--- a/lib/Target/PowerPC/PPCCodeEmitter.cpp
+++ b/lib/Target/PowerPC/PPCCodeEmitter.cpp
@@ -189,8 +189,8 @@ int PPCCodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) {
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);