We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec9a7a commit 257e377Copy full SHA for 257e377
llvm/lib/YkIR/YkIRWriter.cpp
@@ -279,19 +279,19 @@ class YkIRWriter {
279
serialiseFunc(F);
280
}
281
282
- // num_types:
283
- OutStreamer.emitSizeT(Types.size());
284
- // types:
285
- for (Type *&Ty : Types) {
286
- serialiseType(Ty);
287
- }
288
-
289
// num_constants:
290
OutStreamer.emitSizeT(Constants.size());
291
// constants:
292
for (class Constant *&C : Constants) {
293
serialiseConstant(C);
294
+
+ // num_types:
+ OutStreamer.emitSizeT(Types.size());
+ // types:
+ for (Type *&Ty : Types) {
+ serialiseType(Ty);
+ }
295
296
};
297
} // anonymous namespace
0 commit comments