diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-03-07 17:06:40 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-03-07 17:06:40 +0000 |
| commit | 3048107bc154c2fd792e99c0da2a0721816f3699 (patch) | |
| tree | dee7a14b453edfd686ecc55c1d3cfcb60e1fb437 /llvm/utils/TableGen/StringToOffsetTable.h | |
| parent | aa0f752fc83602b005422bfea8e5edd7b2876134 (diff) | |
| download | bcm5719-llvm-3048107bc154c2fd792e99c0da2a0721816f3699.tar.gz bcm5719-llvm-3048107bc154c2fd792e99c0da2a0721816f3699.zip | |
Revert r152202 as it's causing internal buildbot failures.
Original commit message:
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: 152233
Diffstat (limited to 'llvm/utils/TableGen/StringToOffsetTable.h')
| -rw-r--r-- | llvm/utils/TableGen/StringToOffsetTable.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/StringToOffsetTable.h b/llvm/utils/TableGen/StringToOffsetTable.h index 6d528a2b0a7..803f5bd5cf0 100644 --- a/llvm/utils/TableGen/StringToOffsetTable.h +++ b/llvm/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); |

