diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-15 18:05:57 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-15 18:05:57 +0000 |
commit | bcfa982c4866fee5f86dca8c4bfc7425a9629f0d (patch) | |
tree | 4742e635a91d08f91f917b2355ada716e352689f /utils/TableGen/StringToOffsetTable.h | |
parent | d66b9a222b38d7d29646c582b70a1c107ca615de (diff) |
Revert r152202: "Use uint16_t to store InstrNameIndices in MCInstrInfo."
We cannot limit the concatenated instruction names to 64K. ARM is
already at 32K, and it is easy to imagine a target with more
instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/StringToOffsetTable.h')
-rw-r--r-- | utils/TableGen/StringToOffsetTable.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/TableGen/StringToOffsetTable.h b/utils/TableGen/StringToOffsetTable.h index 6d528a2b0a..803f5bd5cf 100644 --- a/utils/TableGen/StringToOffsetTable.h +++ b/utils/TableGen/StringToOffsetTable.h @@ -40,9 +40,6 @@ public: } void EmitString(raw_ostream &O) { - assert(AggregateString.size() <= 65536 && - "Aggregate string too large to be portable"); - // Escape the string. SmallString<256> Str; raw_svector_ostream(Str).write_escaped(AggregateString); |