[Quipu-dev] quipu/quipu: Make native tail calls work

Back to archive index

scmno****@osdn***** scmno****@osdn*****
Wed Jun 13 07:26:36 JST 2018


changeset 7d3f6c2ffa43 in quipu/quipu
details: http://hg.osdn.jp/view/quipu/quipu?cmd=changeset;node=7d3f6c2ffa43
user: Agustina Arzille <avarz****@riseu*****>
date: Tue Jun 12 19:26:27 2018 -0300
description: Make native tail calls work

diffstat:

 compiler.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a7a40690d92b -r 7d3f6c2ffa43 compiler.cpp
--- a/compiler.cpp	Tue Jun 12 18:27:03 2018 -0300
+++ b/compiler.cpp	Tue Jun 12 19:26:27 2018 -0300
@@ -2300,7 +2300,7 @@
         {
           if (native_fct_p (fn))
             {
-              as_native_fct(fn)->call (interp, stkend - n, n);
+              as_native_fct(fn)->call (interp, n);
               stkend -= n;
               r_stkend(1) = retval;
               NEXT_OP;




More information about the Quipu-dev mailing list
Back to archive index