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:
parent
26e9579653
commit
627a9455a6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user