silence warning

llvm-svn: 31393
This commit is contained in:
Chris Lattner 2006-11-03 01:13:15 +00:00
parent 71f55131d4
commit de2f0906e4
1 changed files with 0 additions and 6 deletions

View File

@ -931,12 +931,6 @@ bool X86DAGToDAGISel::TryFoldLoad(SDOperand P, SDOperand N,
return false;
}
static bool isRegister0(SDOperand Op) {
if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(Op))
return (R->getReg() == 0);
return false;
}
/// getGlobalBaseReg - Output the instructions required to put the
/// base address to use for accessing globals into a register.
///