mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-12-31 13:49:07 +03:00
fdr/teddy: simplify computing of confirm base
This commit is contained in:
committed by
Matthew Barr
parent
06bafae81d
commit
b126cbf556
@@ -190,6 +190,7 @@ bytecode_ptr<FDR> FDRCompiler::setupFDR() {
|
||||
|
||||
// Write confirm structures.
|
||||
assert(ISALIGNED_CL(ptr));
|
||||
fdr->confOffset = verify_u32(ptr - fdr_base);
|
||||
memcpy(ptr, confirmTable.get(), confirmTable.size());
|
||||
ptr += ROUNDUP_CL(confirmTable.size());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user