diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-21 06:22:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-21 06:22:23 +0000 |
commit | e8639036b1fb3a5b5e9589fe4e9f2ee1b77c36bd (patch) | |
tree | fc7d588707a78adac585ffc0b491906e6ede9447 /lib/Target/X86/X86InstrBuilder.h | |
parent | e467d168d09e9d2bc9c598bde341921bba82baaa (diff) |
it's more elegant to put the "getConstantPool" and
"getFixedStack" on the MachinePointerInfo class. While
this isn't the problem I'm setting out to solve, it is the
right way to eliminate PseudoSourceValue, so lets go with it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrBuilder.h')
-rw-r--r-- | lib/Target/X86/X86InstrBuilder.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/X86/X86InstrBuilder.h b/lib/Target/X86/X86InstrBuilder.h index c256b23bf2..1ea8071053 100644 --- a/lib/Target/X86/X86InstrBuilder.h +++ b/lib/Target/X86/X86InstrBuilder.h @@ -157,8 +157,7 @@ addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0) { if (TID.mayStore()) Flags |= MachineMemOperand::MOStore; MachineMemOperand *MMO = - MF.getMachineMemOperand(MachinePointerInfo( - PseudoSourceValue::getFixedStack(FI), Offset), + MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI, Offset), Flags, MFI.getObjectSize(FI), MFI.getObjectAlignment(FI)); return addOffset(MIB.addFrameIndex(FI), Offset) |