[llvm-commits] [llvm] r115594 - /llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Mon Oct 4 23:00:43 PDT 2010
Author: mspencer
Date: Tue Oct 5 01:00:43 2010
New Revision: 115594
URL: http://llvm.org/viewvc/llvm-project?rev=115594&view=rev
Log:
fix MSVC 2010 build.
Modified:
llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp?rev=115594&r1=115593&r2=115594&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp Tue Oct 5 01:00:43 2010
@@ -1470,7 +1470,8 @@
case ARM::COPY: {
// Walk down one instruction which is potentially an 'and'.
const MachineInstr &Copy = *MI;
- MachineBasicBlock::iterator AND(next(MachineBasicBlock::iterator(MI)));
+ MachineBasicBlock::iterator AND(
+ llvm::next(MachineBasicBlock::iterator(MI)));
if (AND == MI->getParent()->end()) return false;
MI = AND;
return isSuitableForMask(MI, Copy.getOperand(0).getReg(),
More information about the llvm-commits
mailing list