mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
One more bugpoitn fix for GCC5
This commit is contained in:
parent
9bf5dbee1c
commit
c0bcd6fe73
@ -500,7 +500,7 @@ bool ReduceCrashingBlocks::TestBlocks(std::vector<const BasicBlock *> &BBs) {
|
||||
|
||||
for (BasicBlock *BB : Blocks)
|
||||
BlockInfo.emplace_back(std::string(BB->getParent()->getName()),
|
||||
BB->getName());
|
||||
std::string(BB->getName()));
|
||||
|
||||
SmallVector<BasicBlock *, 16> ToProcess;
|
||||
for (auto &F : *M) {
|
||||
@ -608,7 +608,7 @@ bool ReduceCrashingConditionals::TestBlocks(
|
||||
|
||||
for (const BasicBlock *BB : Blocks)
|
||||
BlockInfo.emplace_back(std::string(BB->getParent()->getName()),
|
||||
BB->getName());
|
||||
std::string(BB->getName()));
|
||||
|
||||
SmallVector<BasicBlock *, 16> ToProcess;
|
||||
for (auto &F : *M) {
|
||||
@ -699,7 +699,7 @@ bool ReduceSimplifyCFG::TestBlocks(std::vector<const BasicBlock *> &BBs) {
|
||||
|
||||
for (const BasicBlock *BB : Blocks)
|
||||
BlockInfo.emplace_back(std::string(BB->getParent()->getName()),
|
||||
BB->getName());
|
||||
std::string(BB->getName()));
|
||||
|
||||
// Loop over and delete any hack up any blocks that are not listed...
|
||||
for (auto &F : *M)
|
||||
|
Loading…
Reference in New Issue
Block a user