diff options
author | Victor Lomuller <victor@codeplay.com> | 2018-02-27 18:34:10 +0000 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-02-27 21:07:10 -0500 |
commit | 90e1637ce43a6f53a6961f640e5096c71a4dee76 (patch) | |
tree | 6907fdef189d86ecd0f19741479c555b8b609956 /source/opt | |
parent | 2cb589cc14ac68c5769d3a70ce10d2917885121e (diff) | |
download | SPIRV-Tools-90e1637ce43a6f53a6961f640e5096c71a4dee76.tar.gz SPIRV-Tools-90e1637ce43a6f53a6961f640e5096c71a4dee76.tar.bz2 SPIRV-Tools-90e1637ce43a6f53a6961f640e5096c71a4dee76.zip |
Remove Function::GetBlocks pushed by accident
Diffstat (limited to 'source/opt')
-rw-r--r-- | source/opt/function.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/opt/function.h b/source/opt/function.h index 17e06376..d585a797 100644 --- a/source/opt/function.h +++ b/source/opt/function.h @@ -77,11 +77,6 @@ class Function { // Returns function's return 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. const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); } |