Skip to content

Commit b670bcf

Browse files
gretay-jspoechsel
authored andcommitted
flambda-backend: Replace tuple with record in Cextcall (#10)
1 parent db451b5 commit b670bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testsuite/tools/parsecmm.mly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ expr:
218218
| LPAREN APPLY location expr exprlist machtype RPAREN
219219
{ Cop(Capply $6, $4 :: List.rev $5, debuginfo ?loc:$3 ()) }
220220
| LPAREN EXTCALL STRING exprlist machtype RPAREN
221-
{Cop(Cextcall($3, $5, [], false),
222-
List.rev $4, debuginfo ())}
221+
{Cop(Cextcall {name=$3; ret=$5; alloc=false; ty_args=[];},
222+
List.rev $4, debuginfo ())}
223223
| LPAREN ALLOC exprlist RPAREN { Cop(Calloc, List.rev $3, debuginfo ()) }
224224
| LPAREN SUBF expr RPAREN { Cop(Cnegf, [$3], debuginfo ()) }
225225
| LPAREN SUBF expr expr RPAREN { Cop(Csubf, [$3; $4], debuginfo ()) }

0 commit comments

Comments
 (0)