core/vm/sp_vm_basecontext.cpp
changeset 589 5c1dd0ca6191
parent 584 1b10d3504e9e
child 653 ef60870067ff
     1.1 --- a/core/vm/sp_vm_basecontext.cpp	Sat Mar 10 13:36:38 2007 +0000
     1.2 +++ b/core/vm/sp_vm_basecontext.cpp	Sat Mar 10 21:02:40 2007 +0000
     1.3 @@ -167,6 +167,7 @@
     1.4  
     1.5  	cell_t save_sp = ctx->sp;
     1.6  	cell_t save_hp = ctx->hp;
     1.7 +	uint32_t n_idx = ctx->n_idx;
     1.8  
     1.9  	bool wasExec = m_InExec;
    1.10  
    1.11 @@ -202,6 +203,8 @@
    1.12  		ctx->hp = save_hp;
    1.13  	}
    1.14  
    1.15 +	ctx->n_idx = n_idx;
    1.16 +
    1.17  	return err;
    1.18  }
    1.19