File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
lib/SILOptimizer/SILCombiner Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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.
124126class SILCombineCanonicalize final : CanonicalizeInstruction {
125127 SmallSILInstructionWorklist<256 > &Worklist;
@@ -162,6 +164,8 @@ class SILCombineCanonicalize final : CanonicalizeInstruction {
162164 }
163165};
164166
167+ } // end namespace swift
168+
165169SILCombiner::SILCombiner (SILFunctionTransform *trans,
166170 bool removeCondFails, bool enableCopyPropagation) :
167171 parentTransform(trans),
You can’t perform that action at this time.
0 commit comments