Use a Factory Method for MachineFunctionInfo Creation
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 6 Jan 2015 20:05:02 +0000 (20:05 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 6 Jan 2015 20:05:02 +0000 (20:05 +0000)
commit193f586fd2c40a040e3b058add9cc36dc862534c
tree130359c265c93c8e0d22ea6b33e34e34c2fd94d5
parenta602a7f199cc65b1c1e3e31078d9d8534280adb2
Use a Factory Method for MachineFunctionInfo Creation

The goal is to allows MachineFunctionInfo to override this create
function to customize the creation.
No change intended in existing backend in this patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225292 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFunction.h