diff options
-rw-r--r-- | utils/TableGen/RegisterInfoEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/RegisterInfoEmitter.cpp b/utils/TableGen/RegisterInfoEmitter.cpp index b9e8a2e35e..780ca398b3 100644 --- a/utils/TableGen/RegisterInfoEmitter.cpp +++ b/utils/TableGen/RegisterInfoEmitter.cpp @@ -468,6 +468,7 @@ typedef SmallVector<uint16_t, 4> DiffVec; // Differentially encode a sequence of numbers into V. The starting value and // terminating 0 are not added to V, so it will have the same size as List. +static DiffVec &diffEncode(DiffVec &V, unsigned InitVal, ArrayRef<unsigned> List) { assert(V.empty() && "Clear DiffVec before diffEncode."); uint16_t Val = uint16_t(InitVal); |