aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp')
-rw-r--r--contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp b/contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp
index d993137632..b6dbfa317e 100644
--- a/contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp
+++ b/contrib/libs/hyperscan/src/smallwrite/smallwrite_build.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2020, Intel Corporation
+ * Copyright (c) 2015-2020, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -793,12 +793,12 @@ bytecode_ptr<NFA> getDfa(raw_dfa &rdfa, const CompileContext &cc,
bytecode_ptr<NFA> dfa = nullptr;
if (cc.grey.allowSmallWriteSheng) {
dfa = shengCompile(rdfa, cc, rm, only_accel_init, &accel_states);
- if (!dfa) {
- dfa = sheng32Compile(rdfa, cc, rm, only_accel_init, &accel_states);
- }
- if (!dfa) {
- dfa = sheng64Compile(rdfa, cc, rm, only_accel_init, &accel_states);
- }
+ if (!dfa) {
+ dfa = sheng32Compile(rdfa, cc, rm, only_accel_init, &accel_states);
+ }
+ if (!dfa) {
+ dfa = sheng64Compile(rdfa, cc, rm, only_accel_init, &accel_states);
+ }
}
if (!dfa) {
dfa = mcclellanCompile(rdfa, cc, rm, only_accel_init,