summaryrefslogtreecommitdiff
path: root/filter/f-inst.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-02-12 20:37:32 +0100
committerMaria Matejka <mq@ucw.cz>2019-02-20 22:30:54 +0100
commitdd4d409551ae22d0a9bf4e3a6edc6fb9656911b9 (patch)
tree3283934fce868201610b93dae7c07c818c9db3cb /filter/f-inst.c
parentde12cd18fb213ee9cc872fec77b789f34cfd7cc4 (diff)
Filter: Merged postfixify routine
Diffstat (limited to 'filter/f-inst.c')
-rw-r--r--filter/f-inst.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/filter/f-inst.c b/filter/f-inst.c
index 96d6108c..7d2641c2 100644
--- a/filter/f-inst.c
+++ b/filter/f-inst.c
@@ -269,18 +269,18 @@
LINE(3,1);
}
INST(FI_PRINT_AND_DIE, 0, 0) {
- POSTFIXIFY([[
- {
- uint opos = pos;
- ]]);
+ FID_POSTFIXIFY_BODY
+ {
+ uint opos = pos;
+ FID_END
ARG_ANY(1);
- POSTFIXIFY([[
- if (opos < pos)
- dest->items[pos].flags |= FIF_PRINTED;
- }
- ]]);
+ FID_POSTFIXIFY_BODY
+ if (opos < pos)
+ dest->items[pos].flags |= FIF_PRINTED;
+ }
+ FID_END
FRET(2);
@@ -708,9 +708,9 @@
}
/* Postfixify extracts the function body from the symbol */
- POSTFIXIFY([[
- dest->items[pos].lines[0] = what->sym->def;
- ]]);
+ FID_POSTFIXIFY_BODY
+ dest->items[pos].lines[0] = what->sym->def;
+ FID_END
/* First push the body on stack */
LINEX(what->lines[0]);