diff options
Diffstat (limited to 'src/compile.cpp')
-rw-r--r-- | src/compile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compile.cpp b/src/compile.cpp index 48c2b0a..6a6eb06 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -44,8 +44,8 @@ compile_fn(CEnv& cenv, const ATuple* fn) throw() return f; // Write function declaration and push stack frame - f = cenv.engine()->startFunction(cenv, cenv.name(fn), fn->prot(), type); - cenv.engine()->pushFunctionArgs(cenv, fn->prot(), type, f); + f = cenv.engine()->startFn(cenv, cenv.name(fn), fn->prot(), type); + cenv.engine()->pushFnArgs(cenv, fn->prot(), type, f); cenv.currentFn = f; // Write function body @@ -54,7 +54,7 @@ compile_fn(CEnv& cenv, const ATuple* fn) throw() retVal = resp_compile(cenv, *i); // Write function conclusion and pop stack frame - cenv.engine()->finishFunction(cenv, f, retVal); + cenv.engine()->finishFn(cenv, f, retVal); cenv.pop(); cenv.currentFn = NULL; |