mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-01 12:07:42 +03:00
rose: eliminate roseSize, use bytecode_ptr size
This commit is contained in:
committed by
Matthew Barr
parent
820f1432aa
commit
3e5a8c9c90
@@ -362,7 +362,7 @@ struct hs_database *build(NG &ng, unsigned int *length) {
|
||||
if (!rose) {
|
||||
throw CompileError("Unable to generate bytecode.");
|
||||
}
|
||||
*length = roseSize(rose.get());
|
||||
*length = rose.size();
|
||||
if (!*length) {
|
||||
DEBUG_PRINTF("RoseEngine has zero length\n");
|
||||
assert(0);
|
||||
|
Reference in New Issue
Block a user