Skip to content

Commit 1391db4

Browse files
committed
[NFC] SILCombine: Ennamespace canonicalize class.
1 parent d69cea0 commit 1391db4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/SILOptimizer/SILCombiner/SILCombine.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ void SILCombiner::addReachableCodeToWorklist(SILBasicBlock *BB) {
120120
// Implementation
121121
//===----------------------------------------------------------------------===//
122122

123+
namespace swift {
124+
123125
// Define a CanonicalizeInstruction subclass for use in SILCombine.
124126
class SILCombineCanonicalize final : CanonicalizeInstruction {
125127
SmallSILInstructionWorklist<256> &Worklist;
@@ -162,6 +164,8 @@ class SILCombineCanonicalize final : CanonicalizeInstruction {
162164
}
163165
};
164166

167+
} // end namespace swift
168+
165169
SILCombiner::SILCombiner(SILFunctionTransform *trans,
166170
bool removeCondFails, bool enableCopyPropagation) :
167171
parentTransform(trans),

0 commit comments

Comments
 (0)