aboutsummaryrefslogtreecommitdiffstats
path: root/backend/PrintRTL.ml
diff options
context:
space:
mode:
Diffstat (limited to 'backend/PrintRTL.ml')
-rw-r--r--backend/PrintRTL.ml8
1 files changed, 3 insertions, 5 deletions
diff --git a/backend/PrintRTL.ml b/backend/PrintRTL.ml
index ce2275cf..78ce1816 100644
--- a/backend/PrintRTL.ml
+++ b/backend/PrintRTL.ml
@@ -72,11 +72,9 @@ let print_instruction pp (pc, i) =
ros fn regs args
| Ibuiltin(ef, args, res, s) ->
fprintf pp "%a = %s(%a)\n"
- reg res (name_of_external ef) regs args;
- print_succ pp s (pc - 1)
- | Iannot(ef, args, s) ->
- fprintf pp "%s(%a)\n"
- (name_of_external ef) (print_annot_args reg) args;
+ (print_builtin_res reg) res
+ (name_of_external ef)
+ (print_builtin_args reg) args;
print_succ pp s (pc - 1)
| Icond(cond, args, s1, s2) ->
fprintf pp "if (%a) goto %d else goto %d\n"