Skip to content

Commit

Permalink
Fix unpacking of record parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
minoki committed Sep 11, 2024
1 parent 20ac612 commit 3fd6c63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cps/unpack-record-parameter.sml
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,10 @@ in
#indirect
(CpsUsageAnalysis.getContUsage (#cont_usage ctx, name))
= NEVER
andalso
#indirect
(CpsUsageAnalysis.getContUsage
(#cont_rec_usage ctx, name)) = NEVER
then
let
val t =
Expand Down

0 comments on commit 3fd6c63

Please sign in to comment.