mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Fix for ZAM optimization of '?' conditional with vector-valued result
This commit is contained in:
parent
ee88aa3acb
commit
0706e8869d
3 changed files with 11 additions and 1 deletions
|
@ -227,7 +227,7 @@ const ZAMStmt ZAMCompiler::CompileAssignExpr(const AssignExpr* e)
|
|||
return CondC2VVC(lhs, n1, c3);
|
||||
}
|
||||
|
||||
if ( r1 && r2 )
|
||||
if ( r1 && r2 && ! r3 )
|
||||
{
|
||||
auto v1 = IsVector(r1->GetType()->Tag());
|
||||
auto v2 = IsVector(r2->GetType()->Tag());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue