summaryrefslogtreecommitdiff
path: root/source/opt/basic_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/basic_block.h')
-rw-r--r--source/opt/basic_block.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/opt/basic_block.h b/source/opt/basic_block.h
index 12252500..1277c176 100644
--- a/source/opt/basic_block.h
+++ b/source/opt/basic_block.h
@@ -159,14 +159,14 @@ class BasicBlock {
void ForEachSuccessorLabel(const std::function<void(uint32_t*)>& f);
// Returns true if |block| is a direct successor of |this|.
- bool IsSuccessor(const opt::BasicBlock* block) const;
+ bool IsSuccessor(const BasicBlock* block) const;
// Runs the given function |f| on the merge and continue label, if any
void ForMergeAndContinueLabel(const std::function<void(const uint32_t)>& f);
// Returns true if this basic block has any Phi instructions.
bool HasPhiInstructions() {
- return !WhileEachPhiInst([](opt::Instruction*) { return false; });
+ return !WhileEachPhiInst([](Instruction*) { return false; });
}
// Return true if this block is a loop header block.