Didn't mean to export this function.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 31 May 2012 17:21:27 +0000 (17:21 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 31 May 2012 17:21:27 +0000 (17:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157756 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/RegisterInfoEmitter.cpp

index b9e8a2e35e3886a7f4a1bacfcfc460875a96dfe0..780ca398b363d0100bbdca52dac657d36375fd7d 100644 (file)
@@ -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);