diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-03-30 20:09:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-03-30 20:09:06 +0000 |
commit | 77ff8bbc2abf13b269bf1e66526e813955b078a7 (patch) | |
tree | e4dc34ff484307511805f047d39e9775fa9d26e4 /utils/TableGen/SequenceToOffsetTable.h | |
parent | ad353c630359d285018a250d72c80b7022d8e67e (diff) | |
download | llvm-77ff8bbc2abf13b269bf1e66526e813955b078a7.tar.gz llvm-77ff8bbc2abf13b269bf1e66526e813955b078a7.tar.bz2 llvm-77ff8bbc2abf13b269bf1e66526e813955b078a7.tar.xz |
Revert 153764 and 153761. They broke a --enable-optimized --enable-assertions
--enable-expensive-checks build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153771 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/SequenceToOffsetTable.h')
-rw-r--r-- | utils/TableGen/SequenceToOffsetTable.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/TableGen/SequenceToOffsetTable.h b/utils/TableGen/SequenceToOffsetTable.h index 09dccbb108..26e705841f 100644 --- a/utils/TableGen/SequenceToOffsetTable.h +++ b/utils/TableGen/SequenceToOffsetTable.h @@ -103,9 +103,7 @@ public: /// emit - Print out the table as the body of an array initializer. /// Use the Print function to print elements. - void emit(raw_ostream &OS, - void (*Print)(raw_ostream&, ElemT), - const char *Term = "0") const { + void emit(raw_ostream &OS, void (*Print)(raw_ostream&, ElemT)) const { assert(Entries && "Call layout() before emit()"); for (typename SeqMap::const_iterator I = Seqs.begin(), E = Seqs.end(); I != E; ++I) { @@ -115,7 +113,7 @@ public: Print(OS, *SI); OS << ", "; } - OS << Term << ",\n"; + OS << "0,\n"; } } }; |