llvm.org GIT mirror llvm / 3907d11
Fix iterator invalidation problem with cast instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5876 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
14001400 MachineBasicBlock::iterator &IP,
14011401 Value *Src, const Type *DestTy,
14021402 unsigned DestReg) {
1403 unsigned SrcReg = getReg(Src);
1403 unsigned SrcReg = getReg(Src, BB, IP);
14041404 const Type *SrcTy = Src->getType();
14051405 unsigned SrcClass = getClassB(SrcTy);
14061406 unsigned DestClass = getClassB(DestTy);
14001400 MachineBasicBlock::iterator &IP,
14011401 Value *Src, const Type *DestTy,
14021402 unsigned DestReg) {
1403 unsigned SrcReg = getReg(Src);
1403 unsigned SrcReg = getReg(Src, BB, IP);
14041404 const Type *SrcTy = Src->getType();
14051405 unsigned SrcClass = getClassB(SrcTy);
14061406 unsigned DestClass = getClassB(DestTy);