[cfe-commits] r90610 - /cfe/trunk/lib/CodeGen/CGVtable.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Dec 4 14:45:27 PST 2009


Author: d0k
Date: Fri Dec  4 16:45:27 2009
New Revision: 90610

URL: http://llvm.org/viewvc/llvm-project?rev=90610&view=rev
Log:
Return bool as a bool instead of a uint64_t.

Modified:
    cfe/trunk/lib/CodeGen/CGVtable.cpp

Modified: cfe/trunk/lib/CodeGen/CGVtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVtable.cpp?rev=90610&r1=90609&r2=90610&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGVtable.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVtable.cpp Fri Dec  4 16:45:27 2009
@@ -100,7 +100,7 @@
 
     /// getIndex - Gives the index of a passed in GlobalDecl. Returns false if
     /// the index couldn't be found.
-    uint64_t getIndex(GlobalDecl GD, uint64_t &Index) const {
+    bool getIndex(GlobalDecl GD, uint64_t &Index) const {
       llvm::DenseMap<GlobalDecl, uint64_t>::const_iterator i 
         = MethodToIndexMap.find(GD);
 





More information about the cfe-commits mailing list