mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 00:02:24 +03:00
rose: use fragment ids earlier for anchored dfas
This commit is contained in:
committed by
Matthew Barr
parent
8b25d83415
commit
79512bd5c3
@@ -1153,7 +1153,7 @@ void dumpRoseLitPrograms(const RoseBuildImpl &build, const RoseEngine *t,
|
||||
programs.reserve(build.final_to_frag_map.size());
|
||||
|
||||
for (const auto &m : build.final_to_frag_map) {
|
||||
const auto &frag = m.second;
|
||||
const auto &frag = build.fragments.at(m.second);
|
||||
if (frag.lit_program_offset) {
|
||||
programs.push_back(frag.lit_program_offset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user