mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 00:02:24 +03:00
Rose: use program for all literal matches
Unifies all literal match paths so that the Rose program is used for all of them. This removes the previous specialised "direct report" and "multi direct report" paths. Some additional REPORT instruction work was necessary for this. Reworked literal construction path at compile time in prep for using program offsets as literal IDs. Completely removed the anchored log runtime, which is no longer worth the extra complexity.
This commit is contained in:
committed by
Matthew Barr
parent
b58d05dfec
commit
67b9784dae
@@ -146,15 +146,6 @@ public:
|
||||
os << ")";
|
||||
}
|
||||
|
||||
if (!g[v].literals.empty()) {
|
||||
u32 id = *g[v].literals.begin();
|
||||
if (id < build.literal_info.size()
|
||||
&& build.literal_info[id].final_id != MO_INVALID_IDX
|
||||
&& (build.literal_info[id].final_id & LITERAL_DR_FLAG)) {
|
||||
os << "\\nDIRECT REPORT";
|
||||
}
|
||||
}
|
||||
|
||||
if (ghost.find(v) != ghost.end()) {
|
||||
os << "\\nGHOST";
|
||||
}
|
||||
|
Reference in New Issue
Block a user