mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +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:
@ -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.
|
||||
|
Reference in New Issue
Block a user