forked from OSchip/llvm-project
IR: Remove MDString logic for Value::hasName()
This isn't necessary after r221960. llvm-svn: 222067
This commit is contained in:
parent
b8c0feb31e
commit
62483cb139
|
@ -226,7 +226,7 @@ public:
|
|||
LLVMContext &getContext() const;
|
||||
|
||||
// \brief All values can potentially be named.
|
||||
bool hasName() const { return Name != nullptr && SubclassID != MDStringVal; }
|
||||
bool hasName() const { return Name != nullptr; }
|
||||
ValueName *getValueName() const { return Name; }
|
||||
void setValueName(ValueName *VN) { Name = VN; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue