Skip to content

Commit 5c21e4b

Browse files
committed
VirtRegRewriter: Remove unused ID
Build failure caused by e91cbd4
1 parent 6951d5d commit 5c21e4b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

llvm/lib/CodeGen/VirtRegMap.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ class VirtRegRewriter {
222222
MCRegister PhysReg, const MachineInstr &MI) const;
223223

224224
public:
225-
static char ID;
226225
VirtRegRewriter(bool ClearVirtRegs, SlotIndexes *Indexes, LiveIntervals *LIS,
227226
LiveRegMatrix *LRM, VirtRegMap *VRM,
228227
LiveDebugVariables *DebugVars)

llvm/lib/Passes/PassBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ Expected<bool> parseMachineBlockPlacementPassOptions(StringRef Params) {
15051505
inconvertibleErrorCode());
15061506
}
15071507
return AllowTailMerge;
1508-
};
1508+
}
15091509

15101510
Expected<bool> parseVirtRegRewriterPassOptions(StringRef Params) {
15111511
bool ClearVirtRegs = true;

0 commit comments

Comments
 (0)