summaryrefslogtreecommitdiff
path: root/source/opt
diff options
context:
space:
mode:
authorVictor Lomuller <victor@codeplay.com>2018-02-27 18:34:10 +0000
committerDavid Neto <dneto@google.com>2018-02-27 21:07:10 -0500
commit90e1637ce43a6f53a6961f640e5096c71a4dee76 (patch)
tree6907fdef189d86ecd0f19741479c555b8b609956 /source/opt
parent2cb589cc14ac68c5769d3a70ce10d2917885121e (diff)
downloadSPIRV-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.h5
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(); }