diff --git a/lang/compile.py b/lang/compile.py index 63d9569..6e679d1 100755 --- a/lang/compile.py +++ b/lang/compile.py @@ -969,7 +969,7 @@ free_args(state, args); } -static void module_call(VmState state, Object obj, void *priv) { +static void module_call_bytecode(VmState state, Object obj, void *priv) { struct object_list **args = (struct object_list **)object_priv(state, obj, &module_class); bytecode_run(state, obj, (const unsigned char *)priv, *args); }""" @@ -999,7 +999,7 @@ return output def generate_call(node): - call = '{.name = "%s", .handler = module_call, ' % (node.name) + call = '{.name = "%s", .handler = module_call_bytecode, ' % (node.name) call += '\n\t\t.priv = (void *)bytecode_%s_%s},' % (node.class_, node.name) return call