[llvm-commits] [llvm] r160731 - /llvm/trunk/lib/Target/X86/X86FastISel.cpp

Rafael Espindola rafael.espindola at gmail.com
Wed Jul 25 08:42:45 PDT 2012


Author: rafael
Date: Wed Jul 25 10:42:45 2012
New Revision: 160731

URL: http://llvm.org/viewvc/llvm-project?rev=160731&view=rev
Log:
Fix typos. Thanks to Matt Beaumont-Gay for noticing it.

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

Modified: llvm/trunk/lib/Target/X86/X86FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FastISel.cpp?rev=160731&r1=160730&r2=160731&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Wed Jul 25 10:42:45 2012
@@ -1516,8 +1516,8 @@
   return DoSelectCall(I, 0);
 }
 
-static unsigned computeBytesPopedByCalle(const X86Subtarget &Subtarget,
-                                         const ImmutableCallSite &CS) {
+static unsigned computeBytesPoppedByCallee(const X86Subtarget &Subtarget,
+                                           const ImmutableCallSite &CS) {
   if (Subtarget.is64Bit())
     return 0;
   if (Subtarget.isTargetWindows())
@@ -1878,7 +1878,7 @@
 
   // Issue CALLSEQ_END
   unsigned AdjStackUp = TII.getCallFrameDestroyOpcode();
-  const unsigned NumBytesCallee = computeBytesPopedByCalle(*Subtarget, CS);
+  const unsigned NumBytesCallee = computeBytesPoppedByCallee(*Subtarget, CS);
   BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(AdjStackUp))
     .addImm(NumBytes).addImm(NumBytesCallee);
 





More information about the llvm-commits mailing list