Skip to content

Commit cc702b9

Browse files
committed
[Flang] Minor clean up.
1 parent 30ed1de commit cc702b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

flang/lib/Lower/ConvertCall.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ fir::ExtendedValue Fortran::lower::genCallOpAndResult(
156156
using PassBy = Fortran::lower::CallerInterface::PassEntityBy;
157157
// Handle cases where caller must allocate the result or a fir.box for it.
158158
bool mustPopSymMap = false;
159-
160-
// Is procedure pointer functin result.
161159
if (caller.mustMapInterfaceSymbols()) {
162160
symMap.pushScope();
163161
mustPopSymMap = true;
@@ -448,7 +446,6 @@ fir::ExtendedValue Fortran::lower::genCallOpAndResult(
448446
callResult = call.getResult(0);
449447
}
450448

451-
// if (!isProcedurePointer && caller.mustSaveResult()) {
452449
if (caller.mustSaveResult()) {
453450
assert(allocatedResult.has_value());
454451
builder.create<fir::SaveResultOp>(loc, callResult,

0 commit comments

Comments
 (0)