Skip to content

Commit 9ed098d

Browse files
authored
Merge pull request #11566 from dra27/unhandled-effect-tweak
Windows fix for #11423
2 parents 96df8e8 + 3ea3d62 commit 9ed098d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

flexdll

runtime/amd64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ LBL(112):
901901
movq Caml_state(current_stack), %rsi
902902
SWITCH_OCAML_STACKS
903903
/* No parent stack. Raise Effect.Unhandled. */
904-
movq %rax, %rdi
904+
movq %rax, C_ARG_1
905905
LEA_VAR(caml_raise_unhandled_effect, %rax)
906906
jmp LBL(caml_c_call)
907907
CFI_ENDPROC

0 commit comments

Comments
 (0)