[llvm] r317018 - [Metadata][NFC] Make MDNode::resolve() public in preparation for the fix to PR33930.
Wolfgang Pieb via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 31 11:25:28 PDT 2017
Author: wolfgangp
Date: Tue Oct 31 11:25:28 2017
New Revision: 317018
URL: http://llvm.org/viewvc/llvm-project?rev=317018&view=rev
Log:
[Metadata][NFC] Make MDNode::resolve() public in preparation for the fix to PR33930.
Reviewers: aprantl
Modified:
llvm/trunk/include/llvm/IR/Metadata.h
Modified: llvm/trunk/include/llvm/IR/Metadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Metadata.h?rev=317018&r1=317017&r2=317018&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Metadata.h (original)
+++ llvm/trunk/include/llvm/IR/Metadata.h Tue Oct 31 11:25:28 2017
@@ -958,6 +958,9 @@ public:
/// \pre No operands (or operands' operands, etc.) have \a isTemporary().
void resolveCycles();
+ /// Resolve a unique, unresolved node.
+ void resolve();
+
/// \brief Replace a temporary node with a permanent one.
///
/// Try to create a uniqued version of \c N -- in place, if possible -- and
@@ -1009,9 +1012,6 @@ protected:
private:
void handleChangedOperand(void *Ref, Metadata *New);
- /// Resolve a unique, unresolved node.
- void resolve();
-
/// Drop RAUW support, if any.
void dropReplaceableUses();
More information about the llvm-commits
mailing list