diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-11-26 00:39:01 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-11-26 00:39:01 +0000 |
commit | 3e3fe5195947a0af711959e2dedc9c84a697c5fb (patch) | |
tree | 99877aeed9644c4a4c25ff1ef187d52f0947e16f /compile.h | |
parent | 924aeda5043d76296c651d20025881a60161b7d3 (diff) |
Clean up function creation API and epilogue generation.
Diffstat (limited to 'compile.h')
-rw-r--r-- | compile.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -22,12 +22,11 @@ block gen_op_const(opcode op, jv constant); block gen_op_target(opcode op, block target); block gen_op_var_unbound(opcode op, const char* name); block gen_op_var_bound(opcode op, block binder); -block gen_op_block_defn(opcode op, const char* name, block block); -block gen_op_block_defn_rec(opcode op, const char* name, block block); block gen_op_block_unbound(opcode op, const char* name); block gen_op_call(opcode op, block arglist); block gen_op_symbol(opcode op, const char* name); +block gen_function(const char* name, block body); block gen_subexp(block a); block gen_both(block a, block b); block gen_collect(block expr); |