mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove dead calls and function arguments dealing with TRI in StackMaps.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2305f7e90
commit
aaca69b339
@ -246,7 +246,7 @@ private:
|
||||
void emitConstantPoolEntries(MCStreamer &OS);
|
||||
|
||||
/// \brief Emit the callsite info for each stackmap/patchpoint intrinsic call.
|
||||
void emitCallsiteEntries(MCStreamer &OS, const TargetRegisterInfo *TRI);
|
||||
void emitCallsiteEntries(MCStreamer &OS);
|
||||
|
||||
void print(raw_ostream &OS);
|
||||
void debug() { print(dbgs()); }
|
||||
|
@ -460,8 +460,7 @@ void StackMaps::emitConstantPoolEntries(MCStreamer &OS) {
|
||||
/// 0x3, Indirect, [Reg + Offset] (spilled value)
|
||||
/// 0x4, Constant, Offset (small constant)
|
||||
/// 0x5, ConstIndex, Constants[Offset] (large constant)
|
||||
void StackMaps::emitCallsiteEntries(MCStreamer &OS,
|
||||
const TargetRegisterInfo *TRI) {
|
||||
void StackMaps::emitCallsiteEntries(MCStreamer &OS) {
|
||||
DEBUG(print(dbgs()));
|
||||
// Callsite entries.
|
||||
for (const auto &CSI : CSInfos) {
|
||||
@ -524,7 +523,6 @@ void StackMaps::serializeToStackMapSection() {
|
||||
|
||||
MCContext &OutContext = AP.OutStreamer.getContext();
|
||||
MCStreamer &OS = AP.OutStreamer;
|
||||
const TargetRegisterInfo *TRI = AP.TM.getSubtargetImpl()->getRegisterInfo();
|
||||
|
||||
// Create the section.
|
||||
const MCSection *StackMapSection =
|
||||
@ -539,7 +537,7 @@ void StackMaps::serializeToStackMapSection() {
|
||||
emitStackmapHeader(OS);
|
||||
emitFunctionFrameRecords(OS);
|
||||
emitConstantPoolEntries(OS);
|
||||
emitCallsiteEntries(OS, TRI);
|
||||
emitCallsiteEntries(OS);
|
||||
OS.AddBlankLine();
|
||||
|
||||
// Clean up.
|
||||
|
Loading…
Reference in New Issue
Block a user