mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
minor enhancements for ZAM inlining
This commit is contained in:
parent
88c73f4680
commit
94e71b738a
3 changed files with 10 additions and 18 deletions
|
@ -1858,6 +1858,12 @@ ExprPtr RecordConstructorExpr::Duplicate()
|
|||
return SetSucc(new RecordConstructorExpr(op_l));
|
||||
}
|
||||
|
||||
ExprPtr RecordConstructorExpr::Inline(Inliner* inl)
|
||||
{
|
||||
op = op->Inline(inl)->AsListExprPtr();
|
||||
return ThisPtr();
|
||||
}
|
||||
|
||||
bool RecordConstructorExpr::HasReducedOps(Reducer* c) const
|
||||
{
|
||||
auto& exprs = op->AsListExpr()->Exprs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue