diff --git a/llvm/lib/YkIR/YkIRWriter.cpp b/llvm/lib/YkIR/YkIRWriter.cpp index e16292a296a0d7..2470685f115cf1 100644 --- a/llvm/lib/YkIR/YkIRWriter.cpp +++ b/llvm/lib/YkIR/YkIRWriter.cpp @@ -279,19 +279,19 @@ class YkIRWriter { serialiseFunc(F); } - // num_types: - OutStreamer.emitSizeT(Types.size()); - // types: - for (Type *&Ty : Types) { - serialiseType(Ty); - } - // num_constants: OutStreamer.emitSizeT(Constants.size()); // constants: for (class Constant *&C : Constants) { serialiseConstant(C); } + + // num_types: + OutStreamer.emitSizeT(Types.size()); + // types: + for (Type *&Ty : Types) { + serialiseType(Ty); + } } }; } // anonymous namespace