mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Remove assert as it is meaningless. MachineOperands can be tagged as
MO_VirtualRegister but actually be representing a physical register. llvm-svn: 11310
This commit is contained in:
parent
c9900e2eb3
commit
d2edafbc32
@ -594,8 +594,6 @@ int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
|
||||
MachineOperand &MO) {
|
||||
int64_t rv = 0; // Return value; defaults to 0 for unhandled cases
|
||||
// or things that get fixed up later by the JIT.
|
||||
assert(MO.getType() != MachineOperand::MO_VirtualRegister &&
|
||||
"ERROR: virtual register found in machine code.");
|
||||
if (MO.isPCRelativeDisp()) {
|
||||
DEBUG(std::cerr << "PCRelativeDisp: ");
|
||||
Value *V = MO.getVRegValue();
|
||||
|
Loading…
Reference in New Issue
Block a user