summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-31 17:21:27 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-31 17:21:27 +0000
commitb2a6d8100cfb8a4f9ee251fb274c2d6688b27963 (patch)
tree89f96ab5b972a003d4a9bccdef9874a7731928aa /utils
parent91c5346d91973a1d3458a20f8c6b0e899b732e38 (diff)
downloadllvm-b2a6d8100cfb8a4f9ee251fb274c2d6688b27963.tar.gz
llvm-b2a6d8100cfb8a4f9ee251fb274c2d6688b27963.tar.bz2
llvm-b2a6d8100cfb8a4f9ee251fb274c2d6688b27963.tar.xz
Didn't mean to export this function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/RegisterInfoEmitter.cpp1
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);