File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,7 @@ struct SwiftcTool: ToolProtocol {
84
84
var objects : [ AbsolutePath ] { return module. sources. relativePaths. map { tempsPath. appending ( RelativePath ( $0. asString + " .o " ) ) } }
85
85
var sources : [ AbsolutePath ] { return module. sources. paths }
86
86
var isLibrary : Bool { return module. type == . library }
87
- var enableWholeModuleOptimization : Bool {
88
- #if EnableWorkaroundForSR1457
89
- return false
90
- #else
91
- return conf == . release
92
- #endif
93
- }
87
+ var enableWholeModuleOptimization : Bool { return conf == . release }
94
88
95
89
func append( to stream: OutputByteStream ) {
96
90
stream <<< " tool: swift-compiler \n "
Original file line number Diff line number Diff line change @@ -203,9 +203,6 @@ class Target(object):
203
203
compile_swift_node = '<compile-swift-%s>' % (self .name ,)
204
204
link_input_nodes .append (compile_swift_node )
205
205
206
- # Enable the workaround for SR-1457 until it is fixed.
207
- other_args .extend (["-DEnableWorkaroundForSR1457" ])
208
-
209
206
if args .libdispatch_source_dir :
210
207
other_args .extend (["-Xcc" , "-fblocks" ])
211
208
You can’t perform that action at this time.
0 commit comments