mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Fixed error and re-enabled MBlaze MC disassembler tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c47f7d643e
commit
90eff7337d
@ -492,6 +492,9 @@ bool MBlazeDisassembler::getInstruction(MCInst &instr,
|
||||
uint32_t insn;
|
||||
uint8_t bytes[4];
|
||||
|
||||
// We always consume 4 bytes of data
|
||||
size = 4;
|
||||
|
||||
// We want to read exactly 4 bytes of data.
|
||||
if (region.readBytes(address, 4, (uint8_t*)bytes, NULL) == -1)
|
||||
return false;
|
||||
|
1079
test/MC/Disassembler/mblaze-tests.txt
Normal file
1079
test/MC/Disassembler/mblaze-tests.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user