mcclellancompile: MAX_SHERMAN_LIST_LEN can be 9

This commit is contained in:
Justin Viiret 2018-01-18 11:24:00 +11:00 committed by Chang, Harry
parent ce7cfbde82
commit e65479dae5

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2015-2017, Intel Corporation * Copyright (c) 2015-2018, Intel Corporation
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: * modification, are permitted provided that the following conditions are met:
@ -760,7 +760,7 @@ bytecode_ptr<NFA> mcclellanCompile8(dfa_info &info, const CompileContext &cc,
return nfa; return nfa;
} }
#define MAX_SHERMAN_LIST_LEN 8 #define MAX_SHERMAN_LIST_LEN 9
static static
void addIfEarlier(flat_set<dstate_id_t> &dest, dstate_id_t candidate, void addIfEarlier(flat_set<dstate_id_t> &dest, dstate_id_t candidate,