mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-15 17:02:14 +03:00
revert a change to assert , the original logic might have been
subtely clever (or else totally useless all these years), when we see which of the two we might delete that assert entirely. for now put it back as it was.
This commit is contained in:
@@ -2966,8 +2966,7 @@ void buildFragmentPrograms(const RoseBuildImpl &build,
|
|||||||
!lit_prog.empty()) {
|
!lit_prog.empty()) {
|
||||||
const auto &cfrag = fragments[pfrag.included_frag_id];
|
const auto &cfrag = fragments[pfrag.included_frag_id];
|
||||||
assert(pfrag.s.length() >= cfrag.s.length() &&
|
assert(pfrag.s.length() >= cfrag.s.length() &&
|
||||||
!pfrag.s.any_nocase() != !cfrag.s.any_nocase());
|
!pfrag.s.any_nocase() >= !cfrag.s.any_nocase());
|
||||||
/** !pfrag.s.any_nocase() >= !cfrag.s.any_nocase()); **/
|
|
||||||
u32 child_offset = cfrag.lit_program_offset;
|
u32 child_offset = cfrag.lit_program_offset;
|
||||||
DEBUG_PRINTF("child %u offset %u\n", cfrag.fragment_id,
|
DEBUG_PRINTF("child %u offset %u\n", cfrag.fragment_id,
|
||||||
child_offset);
|
child_offset);
|
||||||
|
|||||||
Reference in New Issue
Block a user