mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Add support for new instruction type
llvm-svn: 12894
This commit is contained in:
parent
e8e60bf45f
commit
ecbade26d5
@ -537,6 +537,8 @@ void Emitter::emitInstruction(const MachineInstr &MI) {
|
||||
unsigned Address = MCE.getGlobalValueAddress(MO.getSymbolName());
|
||||
assert(Address && "Unknown external symbol!");
|
||||
emitMaybePCRelativeValue(Address, MO.isPCRelative());
|
||||
} else if (MO.isImmediate()) {
|
||||
emitConstant(MO.getImmedValue(), sizeOfImm(Desc));
|
||||
} else {
|
||||
assert(0 && "Unknown RawFrm operand!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user