diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:55:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:55:25 +0000 |
commit | 82baa9c39411ee5bf1a035742cc2ff69bc40641b (patch) | |
tree | 08213ed8d00773acba336116258681156abad4e5 /llvm/lib/Target/X86/X86RegisterInfo.cpp | |
parent | 535e8db0dafd8fde898be08e889aee63536ddefe (diff) | |
download | bcm5719-llvm-82baa9c39411ee5bf1a035742cc2ff69bc40641b.tar.gz bcm5719-llvm-82baa9c39411ee5bf1a035742cc2ff69bc40641b.zip |
Convert to the new TargetMachine interface.
llvm-svn: 13952
Diffstat (limited to 'llvm/lib/Target/X86/X86RegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86RegisterInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.cpp b/llvm/lib/Target/X86/X86RegisterInfo.cpp index 2d0c871f988..852b7103e0e 100644 --- a/llvm/lib/Target/X86/X86RegisterInfo.cpp +++ b/llvm/lib/Target/X86/X86RegisterInfo.cpp @@ -350,7 +350,7 @@ eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, // We need to keep the stack aligned properly. To do this, we round the // amount of space needed for the outgoing arguments up to the next // alignment boundary. - unsigned Align = MF.getTarget().getFrameInfo().getStackAlignment(); + unsigned Align = MF.getTarget().getFrameInfo()->getStackAlignment(); Amount = (Amount+Align-1)/Align*Align; MachineInstr *New; @@ -450,7 +450,7 @@ void X86RegisterInfo::emitPrologue(MachineFunction &MF) const { // Round the size to a multiple of the alignment (don't forget the 4 byte // offset though). - unsigned Align = MF.getTarget().getFrameInfo().getStackAlignment(); + unsigned Align = MF.getTarget().getFrameInfo()->getStackAlignment(); NumBytes = ((NumBytes+4)+Align-1)/Align*Align - 4; } |