Skip to content
Commit 8d684221 authored by Craig Topper's avatar Craig Topper
Browse files

Use uint16_t to store InstrNameIndices in MCInstrInfo. Add asserts to protect...

Use uint16_t to store InstrNameIndices in MCInstrInfo. Add asserts to protect all 16-bit string table offsets. Also make sure the string to offset table string is not larger than 65536 characters since larger string literals aren't portable.

llvm-svn: 152202
parent da7e7da0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment