summaryrefslogtreecommitdiffstats
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
commitafcfef147bebc697b574e032d2c99388f19d5152 (patch)
treec2d06a02b0b281bb5985eeb3d5b4e66bd9e80f4d
parent9bccb64e561a1cf8f38f336e26c59cb814b11b91 (diff)
downloadbcm5719-llvm-afcfef147bebc697b574e032d2c99388f19d5152.tar.gz
bcm5719-llvm-afcfef147bebc697b574e032d2c99388f19d5152.zip
Didn't mean to export this function.
llvm-svn: 157756
-rw-r--r--llvm/utils/TableGen/RegisterInfoEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/RegisterInfoEmitter.cpp b/llvm/utils/TableGen/RegisterInfoEmitter.cpp
index b9e8a2e35e3..780ca398b36 100644
--- a/llvm/utils/TableGen/RegisterInfoEmitter.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud