Use size_t instead of uint64_t to represent the vector length.
authorRui Ueyama <ruiu@google.com>
Tue, 8 Oct 2013 03:59:50 +0000 (03:59 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 8 Oct 2013 03:59:50 +0000 (03:59 +0000)
llvm-svn: 192165

lld/include/lld/Driver/InputGraph.h

index 9842c18..4267c19 100644 (file)
@@ -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());