summaryrefslogtreecommitdiffstats
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
commit2e1ba07f161944b35e5f1c97dbd0fe3b00f18215 (patch)
tree21193bc83104e012dd1e7c71268e58d6982c0405
parent775d5d02af519f871a2bcc48c4aa529cc8f4e94e (diff)
downloadbcm5719-llvm-2e1ba07f161944b35e5f1c97dbd0fe3b00f18215.tar.gz
bcm5719-llvm-2e1ba07f161944b35e5f1c97dbd0fe3b00f18215.zip
Correct order of parameters.
llvm-svn: 45562
-rw-r--r--llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
index b96d555a530..8f5e6fcbf0a 100644
--- a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud