]> granicus.if.org Git - llvm/commit
[MBP] Interface cleanups /NFC
authorXinliang David Li <davidxl@google.com>
Mon, 13 Jun 2016 22:23:44 +0000 (22:23 +0000)
committerXinliang David Li <davidxl@google.com>
Mon, 13 Jun 2016 22:23:44 +0000 (22:23 +0000)
commit121cd17fd6827c4aea01599693c396694e9aa34c
treefe8f8f164e1539105fc742b18fe417a56cfc6b43
parent9ce41c3e976724263b43a206e7a2981a2dc20980
[MBP] Interface cleanups /NFC

Save machine function pointer so that
the reference does not need to be passed around.

This also gives other methods access to machine
function for information such as entry count etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272594 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp