[all-commits] [llvm/llvm-project] 364d17: Sink MachineFunction private method out of line

Reid Kleckner via All-commits all-commits at lists.llvm.org
Wed Nov 13 15:37:03 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 364d1785a6e3f9b149cef29849e653abe5548cc2
      https://github.com/llvm/llvm-project/commit/364d1785a6e3f9b149cef29849e653abe5548cc2
  Author: Reid Kleckner <rnk at google.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/lib/CodeGen/MachineFunction.cpp

  Log Message:
  -----------
  Sink MachineFunction private method out of line

This method is private and only called from this file and doesn't need
to be inline. Saves a TargetMachine.h include in MachineFunction.h, a
popular header. The include was introduced in 98603a8153086 despite the
forward decl of LLVMTargetMachine.




More information about the All-commits mailing list