diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2022-11-24 14:27:38 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2022-11-24 14:51:46 +0000 |
commit | 4f17734175099e0cd492882e17d2ad51fda964aa (patch) | |
tree | 359e6da35ef85a32c5e36a740a98d88677b8af1b /llvm/lib/MC/MCStreamer.cpp | |
parent | 3e658abd41475640f7460e132513d20e8e332ae7 (diff) | |
download | llvm-4f17734175099e0cd492882e17d2ad51fda964aa.zip llvm-4f17734175099e0cd492882e17d2ad51fda964aa.tar.gz llvm-4f17734175099e0cd492882e17d2ad51fda964aa.tar.bz2 |
[Alignment][NFC] Use Align in MCStreamer::emitCodeAlignment
This patch makes code less readable but it will clean itself after all functions are converted.
Differential Revision: https://reviews.llvm.org/D138665
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCStreamer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp index 4405cda..bf2c8d0 100644 --- a/llvm/lib/MC/MCStreamer.cpp +++ b/llvm/lib/MC/MCStreamer.cpp @@ -1222,8 +1222,7 @@ void MCStreamer::emitFill(const MCExpr &NumValues, int64_t Size, int64_t Expr, void MCStreamer::emitValueToAlignment(unsigned ByteAlignment, int64_t Value, unsigned ValueSize, unsigned MaxBytesToEmit) {} -void MCStreamer::emitCodeAlignment(unsigned ByteAlignment, - const MCSubtargetInfo *STI, +void MCStreamer::emitCodeAlignment(Align Alignment, const MCSubtargetInfo *STI, unsigned MaxBytesToEmit) {} void MCStreamer::emitValueToOffset(const MCExpr *Offset, unsigned char Value, SMLoc Loc) {} |