1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Changing a StringRef::begin() call into StringRef::data(); NFC.

llvm-svn: 221808
This commit is contained in:
Aaron Ballman 2014-11-12 19:43:13 +00:00
parent 290c50c9e5
commit b3bab4775f

View File

@ -668,7 +668,7 @@ private:
MCDisassembler *Dis = Checker.Disassembler;
StringRef SectionMem = Checker.getSubsectionStartingAt(Symbol);
ArrayRef<uint8_t> SectionBytes(
reinterpret_cast<const uint8_t *>(SectionMem.begin()),
reinterpret_cast<const uint8_t *>(SectionMem.data()),
SectionMem.size());
MCDisassembler::DecodeStatus S =