mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-02 06:34:41 +03:00
Remove CHECK_DEPTH instruction
This commit is contained in:
committed by
Matthew Barr
parent
e051077a26
commit
3d87e382fa
@@ -829,18 +829,6 @@ hwlmcb_rv_t roseRunProgram(const struct RoseEngine *t, u32 programOffset,
|
||||
}
|
||||
PROGRAM_NEXT_INSTRUCTION
|
||||
|
||||
PROGRAM_CASE(CHECK_DEPTH) {
|
||||
DEBUG_PRINTF("current depth %u, check min depth %u\n",
|
||||
tctxt->depth, ri->min_depth);
|
||||
if (ri->min_depth > tctxt->depth) {
|
||||
DEBUG_PRINTF("failed depth check\n");
|
||||
assert(ri->fail_jump); // must progress
|
||||
pc += ri->fail_jump;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
PROGRAM_NEXT_INSTRUCTION
|
||||
|
||||
PROGRAM_CASE(CHECK_ONLY_EOD) {
|
||||
struct core_info *ci = &tctxtToScratch(tctxt)->core_info;
|
||||
if (end != ci->buf_offset + ci->len) {
|
||||
|
||||
Reference in New Issue
Block a user