Il 27/05/2013 12:26, Gwenaël Casaccio ha scritto:
On 27/05/2013 11:02, Paolo Bonzini wrote:
Il 27/05/2013 10:47, Gwenaël Casaccio ha scritto:
Hi,
Right now the only way to get the temps, args names from
methods and blocks is the use the source code and extract
those informations from it.
With the proposed patch I've added for each compiled method/block
a debug information with the args and the names, the class could be
extended to add line number inside it.
You can use a single array with arguments and temporaries
concatenated.
Otherwise the patch looks pretty good, thanks!
Paolo
Here is a new version with one array
Oops, sorry for not noticing this before: this must go in the
MethodInfo, or you break loading old images. CompiledCode (and
subclasses) have their format set in stone.
Paolo