Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1644,9 +1644,8 @@ unsigned SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager,
if (log) {
std::string s;
llvm::raw_string_ostream ss(s);
swift::SILOptions silOpts;
silOpts.EmitVerboseSIL = false;
sil_module->print(ss, &parsed_expr->module, silOpts);
const bool verbose = false;
sil_module->print(ss, verbose, &parsed_expr->module);
ss.flush();

log->Printf("SIL module before linking:");
Expand All @@ -1661,9 +1660,8 @@ unsigned SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager,
if (log) {
std::string s;
llvm::raw_string_ostream ss(s);
swift::SILOptions silOpts;
silOpts.EmitVerboseSIL = false;
sil_module->print(ss, &parsed_expr->module, silOpts);
const bool verbose = false;
sil_module->print(ss, verbose, &parsed_expr->module);
ss.flush();

log->Printf("Generated SIL module:");
Expand All @@ -1676,9 +1674,8 @@ unsigned SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager,
if (log) {
std::string s;
llvm::raw_string_ostream ss(s);
swift::SILOptions silOpts;
silOpts.EmitVerboseSIL = false;
sil_module->print(ss, &parsed_expr->module, silOpts);
const bool verbose = false;
sil_module->print(ss, verbose, &parsed_expr->module);
ss.flush();

log->Printf("SIL module after diagnostic passes:");
Expand Down