aboutsummaryrefslogtreecommitdiffstats
path: root/ia32
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-08-21 15:35:13 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2015-08-21 15:35:13 +0200
commit84c3580d0514c24a7c29eeec635e16183c3c5c65 (patch)
treef4202f012faf10d41b9c0285b5fd1d2cebe21c1c /ia32
parent78808873d889608ee39fb6a9d9c0dac0335ccf47 (diff)
downloadcompcert-kvx-84c3580d0514c24a7c29eeec635e16183c3c5c65.tar.gz
compcert-kvx-84c3580d0514c24a7c29eeec635e16183c3c5c65.zip
Simplify the handling of extended inline asm, taking advantage of the new, structured builtin arguments and results.
Diffstat (limited to 'ia32')
-rw-r--r--ia32/TargetPrinter.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/ia32/TargetPrinter.ml b/ia32/TargetPrinter.ml
index 6e931e13..beddd1e8 100644
--- a/ia32/TargetPrinter.ml
+++ b/ia32/TargetPrinter.ml
@@ -661,9 +661,7 @@ module Target(System: SYSTEM):TARGET =
print_annot_stmt oc (extern_atom txt) targs args
| EF_inline_asm(txt, sg, clob) ->
fprintf oc "%s begin inline assembly\n\t" comment;
- print_inline_asm preg oc (extern_atom txt) sg
- (params_of_builtin_args args)
- (params_of_builtin_res res);
+ print_inline_asm preg oc (extern_atom txt) sg args res;
fprintf oc "%s end inline assembly\n" comment
| _ ->
assert false