cut should know about environment size.

This commit is contained in:
ubu32
2011-02-14 06:57:16 -08:00
parent 09f4810b76
commit 1717b113b3
7 changed files with 31 additions and 20 deletions

View File

@@ -217,9 +217,6 @@ restore_opcodes(yamop *pc, yamop *max)
case _Nstop:
case _allocate:
case _copy_idb_term:
case _cut:
case _cut_e:
case _cut_t:
case _expand_index:
case _index_blob:
case _index_dbref:
@@ -484,6 +481,9 @@ restore_opcodes(yamop *pc, yamop *max)
pc = NEXTOP(pc,pp);
break;
/* instructions type s */
case _cut:
case _cut_e:
case _cut_t:
case _pop_n:
case _write_n_voids:
pc->u.s.s = ConstantAdjust(pc->u.s.s);