Skip to content

Commit

Permalink
Fix bug: object managment: tag of GETPUBMET instruction.
Browse files Browse the repository at this point in the history
Re-generate distribution.
  • Loading branch information
bvaugon committed Dec 31, 2012
1 parent 1f7f7c4 commit 72b880e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified dist/ocamlcc-1.0.tar.bz2
Binary file not shown.
2 changes: 1 addition & 1 deletion src/codegen/mcprinter.ml
Expand Up @@ -241,7 +241,7 @@ and print_macro oc macro =
fprintf oc "GETMETHOD(%a, %a, %a)" print_expr tag print_expr obj
print_lvalue meth
| GETPUBMET (tag, obj, meth) ->
fprintf oc "GETPUBMET(%d, %a, %a)" tag print_expr obj
fprintf oc "GETPUBMET(Val_int(%d), %a, %a)" tag print_expr obj
print_lvalue meth
| GETDYNMET (tag, obj, meth) ->
fprintf oc "GETDYNMET(%a, %a, %a)" print_expr tag print_expr obj
Expand Down

0 comments on commit 72b880e

Please sign in to comment.