diff options
author | Fangrui Song <i@maskray.me> | 2024-07-21 09:23:45 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-07-21 09:23:45 -0700 |
commit | 7f17b6b740bd49b84430a46b366381bfc8b74fb0 (patch) | |
tree | 102c106eb855385d74491b1d4995d1ba931a5e09 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | af0f58cf14329f5e0fe56fed7c9eb4cd3107a1ce (diff) | |
download | llvm-7f17b6b740bd49b84430a46b366381bfc8b74fb0.zip llvm-7f17b6b740bd49b84430a46b366381bfc8b74fb0.tar.gz llvm-7f17b6b740bd49b84430a46b366381bfc8b74fb0.tar.bz2 |
[MC] Migrate to new createAsmStreamer that avoids unused bool parameters
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 819187c..d0dfafe 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -171,9 +171,7 @@ Expected<std::unique_ptr<MCStreamer>> LLVMTargetMachine::createMCStreamer( getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); auto FOut = std::make_unique<formatted_raw_ostream>(Out); MCStreamer *S = getTarget().createAsmStreamer( - Context, std::move(FOut), Options.MCOptions.AsmVerbose, true, - InstPrinter, std::move(MCE), std::move(MAB), - Options.MCOptions.ShowMCInst); + Context, std::move(FOut), InstPrinter, std::move(MCE), std::move(MAB)); AsmStreamer.reset(S); break; } |