diff options
Diffstat (limited to 'llvm/lib/IR/Value.cpp')
| -rw-r--r-- | llvm/lib/IR/Value.cpp | 8 | 
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp index b775cbb..95d61a9 100644 --- a/llvm/lib/IR/Value.cpp +++ b/llvm/lib/IR/Value.cpp @@ -148,18 +148,10 @@ void Value::destroyValueName() {  }  bool Value::hasNUses(unsigned N) const { -  if (!UseList) -    return N == 0; - -  // TODO: Disallow for ConstantData and remove !UseList check?    return hasNItems(use_begin(), use_end(), N);  }  bool Value::hasNUsesOrMore(unsigned N) const { -  // TODO: Disallow for ConstantData and remove !UseList check? -  if (!UseList) -    return N == 0; -    return hasNItemsOrMore(use_begin(), use_end(), N);  }  | 
