guile-devel
[Top][All Lists]
Advanced

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

Re: wip-rtl return location


From: Stefan Israelsson Tampe
Subject: Re: wip-rtl return location
Date: Fri, 3 Aug 2012 15:13:00 +0200

> in the normal case you just have
> assert-nargs-ee/locals which is very cheap, no?

Sure it's not the slowest of instructions, but in the VM it's an extra jump
and for the Native part it either bloats the code or one has to jump out
to supporting code subs in the VM. Considering the other call overhead
it's maybe a non issue but I think we should time current setup with a version
where we grovel the callee information from the program datastructure.

/Stefan

On Fri, Aug 3, 2012 at 2:38 PM, Andy Wingo <address@hidden> wrote:
On Fri 03 Aug 2012 13:54, Stefan Israelsson Tampe <address@hidden> writes:

> A though:
> assert_nargs_ee
> reserve_locals
> assert_nargs_ee_locals
> bind_rest
> bind_kwargs
>
> Could we not implement this logic in the call instructions?

This is a characteristic of the callee -- more work is needed if there
are optional/kw args, but in the normal case you just have
assert-nargs-ee/locals which is very cheap, no?

Andy
--
http://wingolog.org/


reply via email to

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