1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/lib/Target/Hexagon/Disassembler
Rafael Espindola 10f65de3be Pass an ArrayRef to MCDisassembler::getInstruction.
With this patch MCDisassembler::getInstruction takes an ArrayRef<uint8_t>
instead of a MemoryObject.

Even on X86 there is a maximum size an instruction can have. Given
that, it seems way simpler and more efficient to just pass an ArrayRef
to the disassembler instead of a MemoryObject and have it do a virtual
call every time it wants some extra bytes.

llvm-svn: 221751
2014-11-12 02:04:27 +00:00
..
CMakeLists.txt [CMake] Prune CRLF in CMakeLists.txt(s). 2014-10-23 11:31:50 +00:00
HexagonDisassembler.cpp Pass an ArrayRef to MCDisassembler::getInstruction. 2014-11-12 02:04:27 +00:00
LLVMBuild.txt Hexagon/Disassembler/LLVMBuild.txt: Update libdeps. 2014-10-23 11:32:16 +00:00
Makefile