|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] [PATCH] jit: Using BYTECODE_SIZE is not always the right thing |
Date: | Fri, 07 Feb 2014 16:47:47 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 06/02/2014 21:02, Holger Hans Peter Freyther ha scritto:
Use the difference between bp and IP0 to figure out how many bytes were used for the bytecode of the send message. Add a small test case and try to make it as stable as possible. For message sends we remember the bytecode length as calculated by the decoding of the bytecodes.
IIRC "IP - IP0" works as well, and it already appears in byte.def. Can you use that if it works?
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |