mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-26 09:41:03 +00:00
Remove Function::GetBlocks pushed by accident
This commit is contained in:
parent
2cb589cc14
commit
90e1637ce4
@ -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(); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user