aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-07-13 14:07:09 -0700
committerFangrui Song <i@maskray.me>2025-07-13 14:07:10 -0700
commit1fbfa333f64bf714efa84db6b1075fc864d53bf8 (patch)
treebff5046fb6db84b03585312e5ec0831599a5eecd /llvm/lib/MC/MCStreamer.cpp
parentb56aebaf82f250ac35d18bcb4d4bf6806af91f49 (diff)
downloadllvm-1fbfa333f64bf714efa84db6b1075fc864d53bf8.zip
llvm-1fbfa333f64bf714efa84db6b1075fc864d53bf8.tar.gz
llvm-1fbfa333f64bf714efa84db6b1075fc864d53bf8.tar.bz2
MCAlignFragment: Rename fields and use uint8_t FillLen
* Rename the vague `Value` to `Fill`. * FillLen is at most 8. Making the field smaller to facilitate encoding MCAlignFragment as a MCFragment union member. * Replace an unreachable report_fatal_error with assert.
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 6cd6b4a..6d2fb41 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -1328,9 +1328,7 @@ void MCStreamer::emitSLEB128Value(const MCExpr *Value) {}
void MCStreamer::emitFill(const MCExpr &NumBytes, uint64_t Value, SMLoc Loc) {}
void MCStreamer::emitFill(const MCExpr &NumValues, int64_t Size, int64_t Expr,
SMLoc Loc) {}
-void MCStreamer::emitValueToAlignment(Align Alignment, int64_t Value,
- unsigned ValueSize,
- unsigned MaxBytesToEmit) {}
+void MCStreamer::emitValueToAlignment(Align, int64_t, uint8_t, unsigned) {}
void MCStreamer::emitCodeAlignment(Align Alignment, const MCSubtargetInfo *STI,
unsigned MaxBytesToEmit) {}
void MCStreamer::emitValueToOffset(const MCExpr *Offset, unsigned char Value,