mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-18 12:31:26 +00:00
Include isFunctionLocal while calculating folding node set provide for a MDNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f27e6088a3
commit
ea7b6bb323
@ -248,6 +248,7 @@ Value *MDNode::getOperand(unsigned i) const {
|
||||
void MDNode::Profile(FoldingSetNodeID &ID) const {
|
||||
for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
|
||||
ID.AddPointer(getOperand(i));
|
||||
ID.AddBoolean(isFunctionLocal());
|
||||
}
|
||||
|
||||
void MDNode::setIsNotUniqued() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user