projects
/
platform
/
upstream
/
SPIRV-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb589c
)
Remove Function::GetBlocks pushed by accident
author
Victor Lomuller
<victor@codeplay.com>
Tue, 27 Feb 2018 18:34:10 +0000
(18:34 +0000)
committer
David Neto
<dneto@google.com>
Wed, 28 Feb 2018 02:07:10 +0000
(21:07 -0500)
source/opt/function.h
patch
|
blob
|
history
diff --git
a/source/opt/function.h
b/source/opt/function.h
index
17e0637
..
d585a79
100644
(file)
--- 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(); }