Skip to content

Commit 39ba0bc

Browse files
committed
[NFC] Silenced unused private field warning.
Removed the field.
1 parent e60fb30 commit 39ba0bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/SILOptimizer/Utils/ShrinkBorrowScope.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,14 +290,12 @@ Dataflow::Effect Dataflow::effectForPhi(SILBasicBlock *block) {
290290
/// Implements BarrierAccessScopeFinder::Visitor
291291
class BarrierAccessScopeFinder final {
292292
using Impl = VisitBarrierAccessScopes<Dataflow, BarrierAccessScopeFinder>;
293-
Context const &context;
294293
Impl impl;
295294
Dataflow &dataflow;
296295

297296
public:
298297
BarrierAccessScopeFinder(Context const &context, Dataflow &dataflow)
299-
: context(context), impl(&context.function, dataflow, *this),
300-
dataflow(dataflow) {}
298+
: impl(&context.function, dataflow, *this), dataflow(dataflow) {}
301299

302300
void find() { impl.visit(); }
303301

0 commit comments

Comments
 (0)