mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Merge remote-tracking branch 'origin/topic/vern/zam-vector-cond-fix'
* origin/topic/vern/zam-vector-cond-fix: Fix for ZAM optimization of '?' conditional with vector-valued result
This commit is contained in:
commit
1226aa538a
5 changed files with 16 additions and 2 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