mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 21:14:56 +00:00
Fix MSVC2012 build error in UseListOrder.cpp
I think the compiler got confused by the nested DEBUG macros. It was failing with: UseListOrder.cpp(80) : error C2059: syntax error : '}' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
17cb4cb5a3
commit
d72804ad76
@ -74,9 +74,10 @@ static void shuffleValueUseLists(Value *V, std::minstd_rand0 &Gen,
|
|||||||
[&Order](const Use &L, const Use &R) { return Order[&L] < Order[&R]; });
|
[&Order](const Use &L, const Use &R) { return Order[&L] < Order[&R]; });
|
||||||
|
|
||||||
DEBUG({
|
DEBUG({
|
||||||
for (const Use &U : V->uses())
|
for (const Use &U : V->uses()) {
|
||||||
DEBUG(dbgs() << " - order: " << Order.lookup(&U) << ", U = ";
|
dbgs() << " - order: " << Order.lookup(&U) << ", U = ";
|
||||||
U.getUser()->dump());
|
U.getUser()->dump();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user