diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-01-20 21:36:02 +0000 | 
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-01-20 21:36:02 +0000 | 
| commit | c5db59981395b018506d04c1e0e39c7f72c7470d (patch) | |
| tree | d17916e68058f8b864cc7879470d24a173bb7af0 /llvm/lib/Target/X86/X86RegisterInfo.cpp | |
| parent | 720d00553aaaac6ea2457bdc76a09edc7f1b593c (diff) | |
| download | bcm5719-llvm-c5db59981395b018506d04c1e0e39c7f72c7470d.tar.gz bcm5719-llvm-c5db59981395b018506d04c1e0e39c7f72c7470d.zip | |
make findDebugLoc a class method
llvm-svn: 94032
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 6962b8cef95..f959a2db8b8 100644 --- a/llvm/lib/Target/X86/X86RegisterInfo.cpp +++ b/llvm/lib/Target/X86/X86RegisterInfo.cpp @@ -682,7 +682,7 @@ void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,         (Is64Bit ? X86::ADD64ri8 : X86::ADD32ri8) :         (Is64Bit ? X86::ADD64ri32 : X86::ADD32ri));    uint64_t Chunk = (1LL << 31) - 1; -  DebugLoc DL = findDebugLoc(MBBI, MBB); +  DebugLoc DL = MBB.findDebugLoc(MBBI);    while (Offset) {      uint64_t ThisVal = (Offset > Chunk) ? Chunk : Offset; @@ -1031,7 +1031,7 @@ void X86RegisterInfo::emitPrologue(MachineFunction &MF) const {      }    } -  DL = findDebugLoc(MBBI, MBB); +  DL = MBB.findDebugLoc(MBBI);    // Adjust stack pointer: ESP -= numbytes.    if (NumBytes >= 4096 && Subtarget->isTargetCygMing()) { | 

