mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 00:16:48 +00:00 
			
		
		
		
	fix MSVC 2010 build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -1470,7 +1470,8 @@ static bool isSuitableForMask(MachineInstr *&MI, unsigned SrcReg, | ||||
|     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(), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user