Skip to content

Commit e10db15

Browse files
Revert "[llvm][SystemZ] Set comment stream in SystemZDisassembler::getInstruction" (#148639)
Reverts #148614 Has some missing library dependencies - https://lab.llvm.org/buildbot/#/builders/76/builds/11262/steps/11/logs/stdio.
1 parent b22b103 commit e10db15

File tree

3 files changed

+1
-107
lines changed

3 files changed

+1
-107
lines changed

llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,6 @@ DecodeStatus SystemZDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
327327
ArrayRef<uint8_t> Bytes,
328328
uint64_t Address,
329329
raw_ostream &CS) const {
330-
CommentStream = &CS;
331-
332330
// Get the first two bytes of the instruction.
333331
Size = 0;
334332
if (Bytes.size() < 2)

llvm/unittests/MC/SystemZ/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ set(LLVM_LINK_COMPONENTS
1010
TargetParser
1111
)
1212

13-
add_llvm_unittest(SystemZMCTests
13+
add_llvm_unittest(SystemZAsmLexerTests
1414
SystemZAsmLexerTest.cpp
15-
SystemZMCDisassemblerTest.cpp
1615
)

llvm/unittests/MC/SystemZ/SystemZMCDisassemblerTest.cpp

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)