guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wip-rtl: nargs logic in call/values op looks weird


From: Stefan Israelsson Tampe
Subject: wip-rtl: nargs logic in call/values op looks weird
Date: Tue, 14 Aug 2012 21:58:53 +0200

Hi,

In wip-rtl vm-engine.c around line 1047 in opcode call/values tehre seams to be
some strangeities with the use of the nargs variable in,

SCM_FRAME_SET_DYNAMIC_LINK (fp, old_fp);
SCM_FRAME_SET_RTL_MV_RETURN_ADDRESS (fp, ip + 2 + nargs);
SCM_FRAME_SET_RTL_RETURN_ADDRESS (fp, ip + 3 + nargs);
fp[-1] = old_fp[proc];
nargs = vp->sp - fp;

I supposed that the first two uses of nargs should be removed!

/Stefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]