Make Function::getInstructionCount const
authorMircea Trofin <mtrofin@google.com>
Thu, 18 Oct 2018 19:49:44 +0000 (19:49 +0000)
committerMircea Trofin <mtrofin@google.com>
Thu, 18 Oct 2018 19:49:44 +0000 (19:49 +0000)
commit87b6725c0e01cd422cc551835bea48cd58a94093
tree41490c57a819971296540e7dbb7e7d3eca8c45da
parentb09c7787154f227c6719ba595a7e0ea959f41650
Make Function::getInstructionCount const

Summary: Function::getInstructionCount can be const.

Reviewers: davidxl, paquette

Reviewed By: davidxl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D53378

llvm-svn: 344754
llvm/include/llvm/IR/Function.h
llvm/lib/IR/Function.cpp