diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-11-26 01:36:55 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-11-26 01:36:55 +0000 |
commit | 4747f8681b3442af8b7916ac5bdfec712662c49b (patch) | |
tree | 0d1ba536855389ac1059f1cc89e23074bd03a292 /compile.h | |
parent | 3e3fe5195947a0af711959e2dedc9c84a697c5fb (diff) |
Transparent handling for CBV arguments to C functions.
C function arguments closures are inlined before the call.
Diffstat (limited to 'compile.h')
-rw-r--r-- | compile.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,10 +23,11 @@ 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_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_lambda(block body); +block gen_call(const char* name, block body); block gen_subexp(block a); block gen_both(block a, block b); block gen_collect(block expr); |