Skip to content

Commit 8f3a540

Browse files
committed
Merge pull request #424 from gabrielPeart/master
Adding missing changes on the Pull Request #402
2 parents 6f25f76 + 5d9e1e9 commit 8f3a540

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3715,7 +3715,7 @@ void Serializer::writeToStream(raw_ostream &os, ModuleOrSourceFile DC,
37153715
BCBlockRAII moduleBlock(S.Out, MODULE_BLOCK_ID, 2);
37163716
S.writeHeader(options);
37173717
S.writeInputBlock(options);
3718-
S.writeSIL(SILMod, options.SerializeAllSIL);
3718+
S.writeSIL(SILMod);
37193719
S.writeAST(DC);
37203720
}
37213721

lib/Serialization/Serialization.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ class Serializer {
314314
const std::vector<BitOffset> &values);
315315

316316
/// Serializes all transparent SIL functions in the SILModule.
317-
void writeSIL(const SILModule *M, bool serializeAllSIL);
317+
void writeSIL(const SILModule *M);
318318

319319
/// Top-level entry point for serializing a module.
320320
void writeAST(ModuleOrSourceFile DC);

0 commit comments

Comments
 (0)