mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 18:10:14 +00:00
IR: Remove MDString logic for Value::hasName()
This isn't necessary after r221960. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d463d348ad
commit
4462c144e6
@ -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
Block a user