[lld] r192165 - Use size_t instead of uint64_t to represent the vector length.

Rui Ueyama ruiu at google.com
Mon Oct 7 20:59:51 PDT 2013


Author: ruiu
Date: Mon Oct  7 22:59:50 2013
New Revision: 192165

URL: http://llvm.org/viewvc/llvm-project?rev=192165&view=rev
Log:
Use size_t instead of uint64_t to represent the vector length.

Modified:
    lld/trunk/include/lld/Driver/InputGraph.h

Modified: lld/trunk/include/lld/Driver/InputGraph.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Driver/InputGraph.h?rev=192165&r1=192164&r2=192165&view=diff
==============================================================================
--- lld/trunk/include/lld/Driver/InputGraph.h (original)
+++ lld/trunk/include/lld/Driver/InputGraph.h Mon Oct  7 22:59:50 2013
@@ -87,7 +87,7 @@ public:
   virtual bool validate();
 
   // \brief Does the inputGraph contain any elements
-  int64_t size() const { return _inputArgs.size(); }
+  size_t size() const { return _inputArgs.size(); }
 
   /// \brief Dump the input Graph
   virtual bool dump(raw_ostream &diagnostics = llvm::errs());





More information about the llvm-commits mailing list