diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-08-21 15:35:13 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-08-21 15:35:13 +0200 |
commit | 84c3580d0514c24a7c29eeec635e16183c3c5c65 (patch) | |
tree | f4202f012faf10d41b9c0285b5fd1d2cebe21c1c /ia32/TargetPrinter.ml | |
parent | 78808873d889608ee39fb6a9d9c0dac0335ccf47 (diff) | |
download | compcert-84c3580d0514c24a7c29eeec635e16183c3c5c65.tar.gz compcert-84c3580d0514c24a7c29eeec635e16183c3c5c65.zip |
Simplify the handling of extended inline asm, taking advantage of the new, structured builtin arguments and results.
Diffstat (limited to 'ia32/TargetPrinter.ml')
-rw-r--r-- | ia32/TargetPrinter.ml | 4 |
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 |