Skip to content

Commit a1c9a72

Browse files
committed
Merge pull request #430 from apple/revert-424-master
Revert "Adding missing changes on the Pull Request #402"
2 parents 5de8fbb + dac9e95 commit a1c9a72

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);
3718+
S.writeSIL(SILMod, options.SerializeAllSIL);
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);
317+
void writeSIL(const SILModule *M, bool serializeAllSIL);
318318

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

0 commit comments

Comments
 (0)