Unbreak build on ppc
Fixes: https://github.com/mawww/kakoune/issues/4937
This commit is contained in:
parent
e06e409dc1
commit
dca5043812
|
@ -83,7 +83,9 @@ struct ParsedRegex
|
||||||
Quantifier quantifier;
|
Quantifier quantifier;
|
||||||
uint16_t filler = 0;
|
uint16_t filler = 0;
|
||||||
};
|
};
|
||||||
|
#ifndef __ppc__
|
||||||
static_assert(sizeof(Node) == 16, "");
|
static_assert(sizeof(Node) == 16, "");
|
||||||
|
#endif
|
||||||
|
|
||||||
Vector<Node, MemoryDomain::Regex> nodes;
|
Vector<Node, MemoryDomain::Regex> nodes;
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,9 @@ struct CompiledRegex : RefCountable, UseMemoryDomain<MemoryDomain::Regex>
|
||||||
mutable uint16_t last_step; // mutable as used during execution
|
mutable uint16_t last_step; // mutable as used during execution
|
||||||
Param param;
|
Param param;
|
||||||
};
|
};
|
||||||
|
#ifndef __ppc__
|
||||||
static_assert(sizeof(Instruction) == 8);
|
static_assert(sizeof(Instruction) == 8);
|
||||||
|
#endif
|
||||||
|
|
||||||
explicit operator bool() const { return not instructions.empty(); }
|
explicit operator bool() const { return not instructions.empty(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user