Skip to content

Commit fb0e5bd

Browse files
committed
Revert change in MachineBasicBlock.h
1 parent 997717a commit fb0e5bd

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

llvm/include/llvm/CodeGen/AsmPrinter.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ class LLVM_ABI AsmPrinter : public MachineFunctionPass {
135135
/// default, this is equal to CurrentFnSym.
136136
MCSymbol *CurrentFnSymForSize = nullptr;
137137

138-
/// Vector of symbols marking the position of callsites in each basic block.
138+
/// Vector of symbols marking the position of callsites in the current
139+
/// function, keyed by their containing basic block.
139140
/// The callsite symbols of each block are stored in the order they appear
140141
/// in that block.
141142
DenseMap<const MachineBasicBlock *, SmallVector<MCSymbol *, 1>>
@@ -301,7 +302,7 @@ class LLVM_ABI AsmPrinter : public MachineFunctionPass {
301302
/// to emit them as well, return the whole set.
302303
ArrayRef<MCSymbol *> getAddrLabelSymbolToEmit(const BasicBlock *BB);
303304

304-
/// Creates a new symbol to be used for the beginning of a callsite at th
305+
/// Creates a new symbol to be used for the beginning of a callsite at the
305306
/// specified basic block.
306307
MCSymbol *createCallsiteSymbol(const MachineBasicBlock &MBB);
307308

llvm/include/llvm/CodeGen/MachineBasicBlock.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -725,10 +725,6 @@ class MachineBasicBlock
725725
/// Returns the MCSymbol marking the end of this basic block.
726726
LLVM_ABI MCSymbol *getEndSymbol() const;
727727

728-
/// Returns a temporary MCSymbol marking the beginning of a callsite, and
729-
/// appends it to `CallsiteSymbols`.
730-
MCSymbol *createCallsiteSymbol() const;
731-
732728
/// Returns true if this block may have an INLINEASM_BR (overestimate, by
733729
/// checking if any of the successors are indirect targets of any inlineasm_br
734730
/// in the function).

0 commit comments

Comments
 (0)