diff --git a/llvm/lib/Bytecode/Writer/WriterInternals.h b/llvm/lib/Bytecode/Writer/WriterInternals.h index e51ec6365dd5..997c97d26037 100644 --- a/llvm/lib/Bytecode/Writer/WriterInternals.h +++ b/llvm/lib/Bytecode/Writer/WriterInternals.h @@ -19,10 +19,10 @@ #ifndef LLVM_LIB_BYTECODE_WRITER_WRITERINTERNALS_H #define LLVM_LIB_BYTECODE_WRITER_WRITERINTERNALS_H -#include "llvm/Bytecode/Writer.h" #include "WriterPrimitives.h" +#include "SlotCalculator.h" +#include "llvm/Bytecode/Writer.h" #include "llvm/Bytecode/Format.h" -#include "llvm/Analysis/SlotCalculator.h" #include "llvm/Instruction.h" namespace llvm { @@ -38,6 +38,7 @@ private: void outputConstantStrings(); void outputFunction(const Function *F); void outputCompactionTable(); + void outputCompactionTypes(unsigned StartNo); void outputCompactionTablePlane(unsigned PlaneNo, const std::vector &TypePlane, unsigned StartNo); @@ -46,6 +47,7 @@ private: void outputModuleInfoBlock(const Module *C); void outputSymbolTable(const SymbolTable &ST); + void outputTypes(unsigned StartNo); void outputConstantsInPlane(const std::vector &Plane, unsigned StartNo); void outputConstant(const Constant *CPV);