save and restore JEM system local variable
commit9a31e96bd48eccd83f12fc26e4228cc8e7644792
authorGuennadi Liakhovetski <lyakh@axis700.grange>
Tue, 10 Jun 2008 06:56:21 +0000 (10 08:56 +0200)
committerGuennadi Liakhovetski <lyakh@6a.(none)>
Tue, 10 Jun 2008 10:44:35 +0000 (10 12:44 +0200)
tree7c1802a32db9e6b30a4b579c4fa48daeeb73aa9b
parentb8d96927a957b6fd503472d4fd4834bbbe0184a3
save and restore JEM system local variable

Providing a pointer to local variables in r9 when executing retj is not
enough, we also have to pop the first 8 local variables from the storage
area onto system LVAR_n registers, similarly, when entering a trap or an
exception, we have to push them back.
src/interp/engine/interp_jem.c