llvm-project/llvm/lib/Target/XCore/Disassembler
Rafael Espindola 7fc5b87480 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] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen. 2013-11-28 17:04:04 +00:00
LLVMBuild.txt Prune dependency to MC from each target disassembler. 2014-07-24 11:45:11 +00:00
Makefile
XCoreDisassembler.cpp Pass an ArrayRef to MCDisassembler::getInstruction. 2014-11-12 02:04:27 +00:00