Move [get|set]BasePtrStackAdjustment() from MachineFrameInfo to
authorChad Rosier <mcrosier@apple.com>
Tue, 10 Jul 2012 18:27:15 +0000 (18:27 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 10 Jul 2012 18:27:15 +0000 (18:27 +0000)
commit2b02688b6eee1340cb916934182a02698eea9f36
treea639cec44d9fd74b7309b85aeb3f797d60c6d3bf
parent542e35f62d88b403f50a69dfab9580c0388c2d6c
Move [get|set]BasePtrStackAdjustment() from MachineFrameInfo to
X86MachineFunctionInfo as this is currently only used by X86. If this ever
becomes an issue on another arch (e.g., ARM) then we can hoist it back out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160009 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFrameInfo.h
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86MachineFunctionInfo.h