aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-10-20 15:32:04 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-10-20 15:32:04 +0200
commit5c408186f4f66d6955c9d2a682cec36231343f87 (patch)
treecb12bb7e0f0761acc678b1e9d0be8ea6b58e1d36
parentf7a0149579078af35f90521acf7845adcfb22a02 (diff)
downloadcompcert-kvx-5c408186f4f66d6955c9d2a682cec36231343f87.tar.gz
compcert-kvx-5c408186f4f66d6955c9d2a682cec36231343f87.zip
Also replace extern_atom by camlstring_of_coqstring for ia32/TargetPrinter.ml.
Bug 17450
-rw-r--r--ia32/TargetPrinter.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ia32/TargetPrinter.ml b/ia32/TargetPrinter.ml
index 84ddb134..4c436c45 100644
--- a/ia32/TargetPrinter.ml
+++ b/ia32/TargetPrinter.ml
@@ -662,13 +662,13 @@ module Target(System: SYSTEM):TARGET =
begin match ef with
| EF_annot(txt, targs) ->
fprintf oc "%s annotation: " comment;
- print_annot_text preg "%esp" oc (extern_atom txt) args
+ print_annot_text preg "%esp" oc (camlstring_of_coqstring txt) args
| EF_debug(kind, txt, targs) ->
print_debug_info comment print_file_line preg "%esp" oc
(P.to_int kind) (extern_atom txt) 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 args res;
+ print_inline_asm preg oc (camlstring_of_coqstring txt) sg args res;
fprintf oc "%s end inline assembly\n" comment
| _ ->
assert false