diff --git a/lib/Target/Sparc/SparcV9CodeEmitter.cpp b/lib/Target/Sparc/SparcV9CodeEmitter.cpp index 01da2fdcf5c..3deb9e5e552 100644 --- a/lib/Target/Sparc/SparcV9CodeEmitter.cpp +++ b/lib/Target/Sparc/SparcV9CodeEmitter.cpp @@ -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();