[llvm] r175402 - Return false instead of 0.

Jakub Staszak kubastaszak at gmail.com
Sun Feb 17 10:35:25 PST 2013


Author: kuba
Date: Sun Feb 17 12:35:25 2013
New Revision: 175402

URL: http://llvm.org/viewvc/llvm-project?rev=175402&view=rev
Log:
Return false instead of 0.

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=175402&r1=175401&r2=175402&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Sun Feb 17 12:35:25 2013
@@ -726,7 +726,7 @@ bool X86FastISel::X86SelectRet(const Ins
 
   // Don't handle popping bytes on return for now.
   if (X86MFInfo->getBytesToPopOnReturn() != 0)
-    return 0;
+    return false;
 
   // fastcc with -tailcallopt is intended to provide a guaranteed
   // tail call optimization. Fastisel doesn't know how to do that.





More information about the llvm-commits mailing list