Remove assert as it is meaningless. MachineOperands can be tagged as

MO_VirtualRegister but actually be representing a physical register.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2004-02-11 04:52:30 +00:00
parent b060194a70
commit ccd79f2c21

View File

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