Fix typos. Thanks to Matt Beaumont-Gay for noticing it.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 25 Jul 2012 15:42:45 +0000 (15:42 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 25 Jul 2012 15:42:45 +0000 (15:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160731 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FastISel.cpp

index 4eeefae631859b9bb1461588df481aaa299ccc72..1e97fe764f526f710a77fc4821372ef925242341 100644 (file)
@@ -1516,8 +1516,8 @@ bool X86FastISel::X86SelectCall(const Instruction *I) {
   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 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) {
 
   // 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);