mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 10:52:38 +00:00
One more bugpoitn fix for GCC5
This commit is contained in:
parent
42a25e7fe6
commit
49ad3f6143
@ -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…
x
Reference in New Issue
Block a user