Skip to content

Commit 0c99784

Browse files
[AsmParser] Remove MDRef (NFC)
The last use was removed on Jan 12, 2015 in commit ab617d5.
1 parent 3b77e27 commit 0c99784

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

llvm/include/llvm/AsmParser/LLParser.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,6 @@ namespace llvm {
9393
ModuleSummaryIndex *Index;
9494
SlotMapping *Slots;
9595

96-
// Instruction metadata resolution. Each instruction can have a list of
97-
// MDRef info associated with them.
98-
//
99-
// The simpler approach of just creating temporary MDNodes and then calling
100-
// RAUW on them when the definition is processed doesn't work because some
101-
// instruction metadata kinds, such as dbg, get stored in the IR in an
102-
// "optimized" format which doesn't participate in the normal value use
103-
// lists. This means that RAUW doesn't work, even on temporary MDNodes
104-
// which otherwise support RAUW. Instead, we defer resolving MDNode
105-
// references until the definitions have been processed.
106-
struct MDRef {
107-
SMLoc Loc;
108-
unsigned MDKind, MDSlot;
109-
};
110-
11196
SmallVector<Instruction*, 64> InstsWithTBAATag;
11297

11398
// Type resolution handling data structures. The location is set when we

0 commit comments

Comments
 (0)