mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-20 19:06:39 +03:00
rose: use program offsets directly in lit tables
This commit is contained in:
committed by
Matthew Barr
parent
ac858cd47c
commit
76f72b6ab4
@@ -642,7 +642,14 @@ void normaliseLiteralMask(const ue2_literal &s, std::vector<u8> &msk,
|
||||
bool canImplementGraphs(const RoseBuildImpl &tbi);
|
||||
#endif
|
||||
|
||||
std::map<u32, u32> groupByFragment(const RoseBuildImpl &build);
|
||||
struct LitFragment {
|
||||
explicit LitFragment(u32 fragment_id_in) : fragment_id(fragment_id_in) {}
|
||||
u32 fragment_id;
|
||||
u32 lit_program_offset = 0;
|
||||
u32 delay_program_offset = 0;
|
||||
};
|
||||
|
||||
std::map<u32, LitFragment> groupByFragment(const RoseBuildImpl &build);
|
||||
|
||||
} // namespace ue2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user