mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Fixes for Microsoft Visual Studio 2010, from Steven Watanabe!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2899,7 +2899,7 @@ LSRInstance::HoistInsertPosition(BasicBlock::iterator IP,
|
||||
// instead of at the end, so that it can be used for other expansions.
|
||||
if (IDom == Inst->getParent() &&
|
||||
(!BetterPos || DT.dominates(BetterPos, Inst)))
|
||||
BetterPos = next(BasicBlock::iterator(Inst));
|
||||
BetterPos = llvm::next(BasicBlock::iterator(Inst));
|
||||
}
|
||||
if (!AllDominate)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user