mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Fix size_t -> uint warnings with MSVC 64-bit build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -328,7 +328,7 @@ template <> struct GraphTraits<Function*> : public GraphTraits<BasicBlock*> {
|
||||
typedef Function::iterator nodes_iterator;
|
||||
static nodes_iterator nodes_begin(Function *F) { return F->begin(); }
|
||||
static nodes_iterator nodes_end (Function *F) { return F->end(); }
|
||||
static unsigned size (Function *F) { return F->size(); }
|
||||
static size_t size (Function *F) { return F->size(); }
|
||||
};
|
||||
template <> struct GraphTraits<const Function*> :
|
||||
public GraphTraits<const BasicBlock*> {
|
||||
@@ -338,7 +338,7 @@ template <> struct GraphTraits<const Function*> :
|
||||
typedef Function::const_iterator nodes_iterator;
|
||||
static nodes_iterator nodes_begin(const Function *F) { return F->begin(); }
|
||||
static nodes_iterator nodes_end (const Function *F) { return F->end(); }
|
||||
static unsigned size (const Function *F) { return F->size(); }
|
||||
static size_t size (const Function *F) { return F->size(); }
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user