Re: wip-rtl native patch

2013-01-21 Thread Andy Wingo
On Thu 09 Aug 2012 20:59, Stefan Israelsson Tampe stefan.ita...@gmail.com writes: DO you think that this will do as an initial patch to wip-rtl in order to introduce the possibility to execute native code or JIT:ed code. We reserve the first two indexes in the ip text area to fit a pointer

Re: wip-rtl native patch

2013-01-21 Thread Stefan Israelsson Tampe
Hi, As I understood my reason for doing this was that many closures point to the same code fragment and If we compile one of those closures the others will not benefit. So therefore I stored the native code at the beginning of the rtl code fragment and used this mechanism. I have not gotten this

Re: wip-rtl native patch

2013-01-21 Thread Andy Wingo
On Mon 21 Jan 2013 19:28, Stefan Israelsson Tampe stefan.ita...@gmail.com writes: As I understood my reason for doing this was that many closures point to the same code fragment Ah, I see. Yes indeed this may make sense. I'll keep it in mind. Andy -- http://wingolog.org/

wip-rtl native patch

2012-08-09 Thread Stefan Israelsson Tampe
Hi, DO you think that this will do as an initial patch to wip-rtl in order to introduce the possibility to execute native code or JIT:ed code. We reserve the first two indexes in the ip text area to fit a pointer to native code to be executed. There is changes to two parts of the code 1.