Rose: optimize switch-case with Labels-as-Values

This commit is contained in:
Guangqing Chen
2018-12-04 05:25:52 +08:00
committed by Chang, Harry
parent f13cbd692e
commit 922fe2ab20
4 changed files with 2722 additions and 2654 deletions

View File

@@ -238,7 +238,7 @@ hwlmcb_rv_t roseProcessMatchInline(const struct RoseEngine *t,
assert(id && id < t->size); // id is an offset into bytecode
const u64a som = 0;
const u8 flags = 0;
return roseRunProgram_i(t, scratch, id, som, end, flags);
return roseRunProgram(t, scratch, id, som, end, flags);
}
static rose_inline