OSDN Git Service

[Hexagon] Use ArrayRef to avoid needing to calculate an array size. Interestingly...
authorCraig Topper <craig.topper@gmail.com>
Tue, 1 Dec 2015 06:13:04 +0000 (06:13 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 1 Dec 2015 06:13:04 +0000 (06:13 +0000)
commit586117052154a19a311af41201d360c698d33499
tree028be890ed58876669308f3a6b960995da92a5f2
parent08bbdebfc9c6ec9a83db984d97687414ef9e2989
[Hexagon] Use ArrayRef to avoid needing to calculate an array size. Interestingly the original code may have had a bug because it was passing the byte size of a uint16_t array instead of the number of entries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp