mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
<rdar://problem/20402026> Remove scope entry/exit log entries
Don't emit scope entry/exit logging code in instrumentation for playgrounds if -playground-high-performance option is passed. Swift SVN r27046
This commit is contained in:
@@ -133,7 +133,10 @@ namespace swift {
|
||||
|
||||
/// Once parsing and name-binding are complete, this optionally transforms the
|
||||
/// ASTs to add calls to external logging functions.
|
||||
void performPlaygroundTransform(SourceFile &SF);
|
||||
///
|
||||
/// \param HighPerformance True if the playground transform should omit
|
||||
/// instrumentation that has a high runtime performance impact.
|
||||
void performPlaygroundTransform(SourceFile &SF, bool HighPerformance);
|
||||
|
||||
/// Flags used to control type checking.
|
||||
enum class TypeCheckingFlags : unsigned {
|
||||
|
||||
Reference in New Issue
Block a user