summaryrefslogtreecommitdiff
path: root/src/Print.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/Print.ml')
-rw-r--r--src/Print.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Print.ml b/src/Print.ml
index 9cc7a34c..3c5fd71c 100644
--- a/src/Print.ml
+++ b/src/Print.ml
@@ -934,6 +934,10 @@ module EvalCtxCfimAst = struct
let fmt = PC.eval_ctx_to_ctx_formatter ctx in
PV.typed_value_to_string fmt v
+ let place_to_string (ctx : C.eval_ctx) (op : E.place) : string =
+ let fmt = PA.eval_ctx_to_ast_formatter ctx in
+ PA.place_to_string fmt op
+
let operand_to_string (ctx : C.eval_ctx) (op : E.operand) : string =
let fmt = PA.eval_ctx_to_ast_formatter ctx in
PA.operand_to_string fmt op