mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Rose: optimize switch-case with Labels-as-Values
This commit is contained in:
parent
f13cbd692e
commit
922fe2ab20
@ -238,7 +238,7 @@ hwlmcb_rv_t roseProcessMatchInline(const struct RoseEngine *t,
|
|||||||
assert(id && id < t->size); // id is an offset into bytecode
|
assert(id && id < t->size); // id is an offset into bytecode
|
||||||
const u64a som = 0;
|
const u64a som = 0;
|
||||||
const u8 flags = 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
|
static rose_inline
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -33,6 +33,7 @@
|
|||||||
#include "rose_common.h"
|
#include "rose_common.h"
|
||||||
#include "rose_internal.h"
|
#include "rose_internal.h"
|
||||||
#include "stream_long_lit_hash.h"
|
#include "stream_long_lit_hash.h"
|
||||||
|
#include "util/compare.h"
|
||||||
#include "util/copybytes.h"
|
#include "util/copybytes.h"
|
||||||
|
|
||||||
static really_inline
|
static really_inline
|
||||||
|
Loading…
x
Reference in New Issue
Block a user