Skip to content

Commit ebce82e

Browse files
committed
[LLVM10] remove unused stream argument
1 parent b7efa97 commit ebce82e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/disasm.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,9 @@ static void jl_dump_asm_internal(
914914
MCDisassembler::DecodeStatus S;
915915
FuncMCView view = memoryObject.slice(Index);
916916
S = DisAsm->getInstruction(Inst, insSize, view, 0,
917+
#if JL_LLVM_VERSION < 100000
917918
/*VStream*/ nulls(),
919+
#endif
918920
/*CStream*/ pass != 0 ? Streamer->GetCommentOS() : nulls());
919921
if (pass != 0 && Streamer->GetCommentOS().tell() > 0)
920922
Streamer->GetCommentOS() << '\n';

0 commit comments

Comments
 (0)