File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -249,9 +249,6 @@ class ProcedureRef {
249
249
bool hasAlternateReturns = false )
250
250
: proc_{std::move (p)}, arguments_{std::move (a)},
251
251
hasAlternateReturns_{hasAlternateReturns} {
252
- // Gathers necessary information to determine the need for copy-in and
253
- // copy-out
254
- DetermineCopyInOut ();
255
252
}
256
253
~ProcedureRef ();
257
254
static void Deleter (ProcedureRef *);
@@ -289,9 +286,9 @@ class ProcedureRef {
289
286
bool operator ==(const ProcedureRef &) const ;
290
287
llvm::raw_ostream &AsFortran (llvm::raw_ostream &) const ;
291
288
292
- protected:
293
289
void DetermineCopyInOut ();
294
290
291
+ protected:
295
292
ProcedureDesignator proc_;
296
293
ActualArguments arguments_;
297
294
Chevrons chevrons_;
Original file line number Diff line number Diff line change @@ -3455,6 +3455,7 @@ void ExpressionAnalyzer::Analyze(const parser::CallStmt &callStmt) {
3455
3455
HasAlternateReturns (callee->arguments )},
3456
3456
ProcedureRef::Deleter);
3457
3457
DEREF (callStmt.typedCall .get ()).set_chevrons (std::move (*chevrons));
3458
+ DEREF (callStmt.typedCall .get ()).DetermineCopyInOut ();
3458
3459
return ;
3459
3460
}
3460
3461
}
You can’t perform that action at this time.
0 commit comments