Didn't mean to export this function.
[oota-llvm.git] / 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);