[llvm-commits] [llvm] r165051 - /llvm/trunk/lib/Target/X86/X86FrameLowering.cpp

Eric Christopher echristo at apple.com
Tue Oct 2 14:16:56 PDT 2012


Author: echristo
Date: Tue Oct  2 16:16:55 2012
New Revision: 165051

URL: http://llvm.org/viewvc/llvm-project?rev=165051&view=rev
Log:
Use the existing DebugLoc.

Modified:
    llvm/trunk/lib/Target/X86/X86FrameLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FrameLowering.cpp?rev=165051&r1=165050&r2=165051&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FrameLowering.cpp Tue Oct  2 16:16:55 2012
@@ -924,7 +924,7 @@
     }
   } else if (NumBytes)
     emitSPUpdate(MBB, MBBI, StackPtr, -(int64_t)NumBytes, Is64Bit,
-                 UseLEA, TII, *RegInfo, MBB.findDebugLoc(MBBI));
+                 UseLEA, TII, *RegInfo, DL);
 
   // If we need a base pointer, set it up here. It's whatever the value
   // of the stack pointer is at this point. Any variable size objects





More information about the llvm-commits mailing list