mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Re-apply r27206: Convert all external function definitions to declarations when compiling with -Onone.
... with disabled test 1_stdlib/Bit.swift for ios. Most likely the problem of 1_stdlib/Bit.swift (only on armv7) is just uncovered by this change. Unfortunately I have no possibility to debug the problem on a device. Therefore I filed rdar://problem/20521110 Swift SVN r27274
This commit is contained in:
@@ -602,8 +602,10 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
} else {
|
||||
runSILOptimizationPasses(*SM);
|
||||
}
|
||||
SM->verify();
|
||||
} else {
|
||||
runSILPassesForOnone(*SM);
|
||||
}
|
||||
SM->verify();
|
||||
|
||||
// Gather instruction counts if we are asked to do so.
|
||||
if (SM->getOptions().PrintInstCounts) {
|
||||
|
||||
Reference in New Issue
Block a user