aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/codegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources/codegen.h')
-rw-r--r--backendC/CleanCompilerSources/codegen.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/codegen.h b/backendC/CleanCompilerSources/codegen.h
new file mode 100644
index 0000000..7719a4d
--- /dev/null
+++ b/backendC/CleanCompilerSources/codegen.h
@@ -0,0 +1,7 @@
+
+void CodeGeneration (ImpMod imod, char *fname);
+void EvalArgsEntry (StateS *const function_state_p,SymbDef rule_sdef,int maxasize,Label ea_lab,int n_result_nodes_on_a_stack);
+void EvaluateAndMoveStateArguments (int state_arity,States states,int oldasp,int maxassize);
+void EvaluateAndMoveArguments (int arity,StateP argstates,int *locasp_p,int *aselmts_p);
+
+extern int function_called_only_curried_or_lazy_with_one_return; \ No newline at end of file