1
0
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:
Chris Lattner 2004-04-13 17:18:51 +00:00
parent e8e60bf45f
commit ecbade26d5

View File

@ -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!");
}