Fix a compilation warning.

llvm-svn: 44692
This commit is contained in:
Evan Cheng 2007-12-08 01:00:31 +00:00
parent ab87e735cd
commit cd6913627e
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ MachineInstr *ARMRegisterInfo::foldMemoryOperand(MachineInstr *MI,
bool ARMRegisterInfo::canFoldMemoryOperand(MachineInstr *MI,
SmallVectorImpl<unsigned> &Ops) const {
if (Ops.size() != 1) return NULL;
if (Ops.size() != 1) return 0;
unsigned OpNum = Ops[0];
unsigned Opc = MI->getOpcode();