forked from OSchip/llvm-project
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
0c26f0048f
commit
adcc14d96a
|
|
@ -594,8 +594,6 @@ int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
|
||||||
MachineOperand &MO) {
|
MachineOperand &MO) {
|
||||||
int64_t rv = 0; // Return value; defaults to 0 for unhandled cases
|
int64_t rv = 0; // Return value; defaults to 0 for unhandled cases
|
||||||
// or things that get fixed up later by the JIT.
|
// 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()) {
|
if (MO.isPCRelativeDisp()) {
|
||||||
DEBUG(std::cerr << "PCRelativeDisp: ");
|
DEBUG(std::cerr << "PCRelativeDisp: ");
|
||||||
Value *V = MO.getVRegValue();
|
Value *V = MO.getVRegValue();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue