File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 9f43e93d739d81631ce9d10b2008bc141812aa9e
2
+ refs/heads/master: 4ffc0e59d0f779e5dd22849c085962b8098a5ee7
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -151,17 +151,19 @@ class SILInstructionWorklist : SILInstructionWorklistBase {
151
151
// / \return whether the instruction was deleted or modified.
152
152
bool replaceInstructionWithInstruction (SILInstruction *instruction,
153
153
SILInstruction *result
154
- #ifndef NDNEBUG
154
+ #ifndef NDEBUG
155
155
,
156
156
std::string instructionDescription
157
157
#endif
158
158
) {
159
159
if (result == instruction) {
160
+ #ifndef NDEBUG
160
161
withDebugStream ([&](llvm::raw_ostream &stream, StringRef loggingName) {
161
162
stream << loggingName << " : Mod = " << instructionDescription << ' \n '
162
163
<< " "
163
164
<< " New = " << *instruction << ' \n ' ;
164
165
});
166
+ #endif
165
167
166
168
// If the instruction was modified, it's possible that it is now dead.
167
169
// if so, remove it.
You can’t perform that action at this time.
0 commit comments