diff options
Diffstat (limited to 'lib/CodeGen/RegAllocPBQP.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocPBQP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index ee82f6333f..7783766c61 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/lib/CodeGen/RegAllocPBQP.cpp @@ -265,7 +265,7 @@ void PBQPRegAlloc::calcSpillCosts() { const MachineOperand &mo = instr->getOperand(opNo); // We're not interested in non-registers... - if (!mo.isRegister()) + if (!mo.isReg()) continue; unsigned moReg = mo.getReg(); |