Remove use of depth from Rose entirely

This commit is contained in:
Justin Viiret
2016-01-08 10:10:10 +11:00
committed by Matthew Barr
parent 14f18bd6e8
commit 48c9d7c381
15 changed files with 15 additions and 93 deletions

View File

@@ -409,7 +409,6 @@ void ensureStreamNeatAndTidy(const struct RoseEngine *t, u8 *state,
tctxt->lastEndOffset = offset + length;
storeGroups(t, state, tctxt->groups);
struct RoseRuntimeState *rstate = getRuntimeState(state);
rstate->stored_depth = tctxt->depth;
rstate->flags = delay_rb_status;
}
@@ -454,7 +453,6 @@ void roseStreamExec(const struct RoseEngine *t, u8 *state,
struct RoseContext *tctxt = &scratch->tctxt;
tctxt->t = t;
tctxt->depth = rstate->stored_depth;
tctxt->mpv_inactive = 0;
tctxt->groups = loadGroups(t, state);
tctxt->lit_offset_adjust = offset + 1; // index after last byte