style(ir): 纠正代码位置
This commit is contained in:
@@ -20,4 +20,12 @@ BasicBlock* Function::CreateBlock(const std::string& name) {
|
||||
return ptr;
|
||||
}
|
||||
|
||||
BasicBlock* Function::entry() { return entry_; }
|
||||
|
||||
const BasicBlock* Function::entry() const { return entry_; }
|
||||
|
||||
const std::vector<std::unique_ptr<BasicBlock>>& Function::blocks() const {
|
||||
return blocks_;
|
||||
}
|
||||
|
||||
} // namespace ir
|
||||
|
||||
Reference in New Issue
Block a user