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 bbec1c5 commit b5d2e88
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 b5d2e88

Please sign in to comment.