mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fixed ZAM logic error in canonicalizing specialized min/max instructions
This commit is contained in:
parent
5ce5bbdbaa
commit
ca62898a11
1 changed files with 0 additions and 1 deletions
|
@ -242,7 +242,6 @@ const ZAMStmt ZAMCompiler::CompileZAMBuiltin(const NameExpr* lhs, const ScriptOp
|
|||
if ( op1->Tag() == EXPR_CONST ) {
|
||||
ASSERT(op2->Tag() != EXPR_CONST);
|
||||
std::swap(op1, op2);
|
||||
is_min = ! is_min;
|
||||
}
|
||||
|
||||
ZOp op;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue