summaryrefslogtreecommitdiff
path: root/src/regex_impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex_impl.hh')
-rw-r--r--src/regex_impl.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex_impl.hh b/src/regex_impl.hh
index 4ba0e233..f59b2249 100644
--- a/src/regex_impl.hh
+++ b/src/regex_impl.hh
@@ -131,7 +131,9 @@ struct CompiledRegex : RefCountable, UseMemoryDomain<MemoryDomain::Regex>
mutable uint16_t last_step; // mutable as used during execution
Param param;
};
+#ifndef __ppc__
static_assert(sizeof(Instruction) == 8);
+#endif
explicit operator bool() const { return not instructions.empty(); }