Steve Fink wrote: > On Mon, Oct 14, 2002 at 10:06:54AM +0200, Leopold Toetsch wrote:
>>This is, what restart NEXT() does. >> > > That's what I originally thought, but there seemed to be no attempt at > implementing this in the code, so I though it must not have been > attempted yet -- hence the TODO. > > But either way -- anyone want to take a crack at it? If I remember > correctly, it would essentially require making restart somehow compile > down to the code for 'end', plus setting some flags so you know you're > not really done yet. Then put the runops() call in a loop if it isn't > already, to keep going until a true 'end' op is reached. This is all there. When you look at this test: - JIT is left - restart flag is set - slow_core is entered (showing trace) - trace is stopped - JIT _should_ be entered again at the correct PC Only the last is missing, i.e. restarting JIT at a certain PC. leo