mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Utils: Simplify code, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f1f94e4c5
commit
73f9065770
@ -218,8 +218,7 @@ static Metadata *mapUniquedNode(const UniquableMDNode *Node,
|
||||
// Check all operands to see if any need to be remapped.
|
||||
for (unsigned I = 0, E = Node->getNumOperands(); I != E; ++I) {
|
||||
Metadata *Op = Node->getOperand(I);
|
||||
Metadata *MappedOp = mapMetadataOp(Op, VM, Flags, TypeMapper, Materializer);
|
||||
if (Op == MappedOp)
|
||||
if (Op == mapMetadataOp(Op, VM, Flags, TypeMapper, Materializer))
|
||||
continue;
|
||||
|
||||
// Ok, at least one operand needs remapping.
|
||||
|
Loading…
x
Reference in New Issue
Block a user