Project

General

Profile

« Previous | Next » 

Revision a5073c05

Added by k0kubun (Takashi Kokubun) over 5 years ago

Always correct sp on leave cancel

Even if local stack optimization is not used and values are written to
VM stack, the stack pointer itself may not be moved properly. So this
should be always moved on JIT cancellation.

By the way it's hard to write a test for this because if we try to
generate an interrupt, it will be a method call and it consumes the
interrupt by itself on popping a frame.