Remove Function::GetBlocks pushed by accident
authorVictor Lomuller <victor@codeplay.com>
Tue, 27 Feb 2018 18:34:10 +0000 (18:34 +0000)
committerDavid Neto <dneto@google.com>
Wed, 28 Feb 2018 02:07:10 +0000 (21:07 -0500)
source/opt/function.h

index 17e0637..d585a79 100644 (file)
@@ -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(); }