Remove Function::GetBlocks pushed by accident

This commit is contained in:
Victor Lomuller 2018-02-27 18:34:10 +00:00 committed by David Neto
parent 2cb589cc14
commit 90e1637ce4

View File

@ -77,11 +77,6 @@ class Function {
// Returns function's return type id // Returns function's return type id
inline uint32_t type_id() const { return def_inst_->type_id(); } inline uint32_t type_id() const { return def_inst_->type_id(); }
// Returns the basic block container for this function.
const std::vector<std::unique_ptr<BasicBlock>>* GetBlocks() const {
return &blocks_;
}
// Returns the entry basic block for this function. // Returns the entry basic block for this function.
const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); } const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); }