1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Correct order of parameters.

llvm-svn: 45562
This commit is contained in:
Evan Cheng 2008-01-04 02:22:21 +00:00
parent 26e9579653
commit 627a9455a6

View File

@ -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);