Permalink
Browse files

Fixed exception handling

  • Loading branch information...
colinbenner committed Feb 16, 2012
1 parent 96d2d2b commit f2715a8b046193a7e31f682f8d471d46b44a8e79
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/asmrun/amd64.S
View
@@ -396,6 +396,7 @@ FUNCTION(G(caml_start_program))
.Lfoobar:
/* move the pointer to the exception into the first argument register */
movq caml_exn@GOTPCREL(%rip), %rax
+ movq (%rax), %rax
.L108:
/* Exception handler*/
/* Mark the bucket as an exception result and return it */

0 comments on commit f2715a8

Please sign in to comment.