[zeek/spicy] a11118: Remove unused factory function.

0 views
Skip to first unread message

Benjamin Bannier

unread,
Oct 14, 2025, 8:03:09 AM (8 days ago) Oct 14
to spicy-...@zeek.org
Branch: refs/heads/topic/bbannier/issue-1425-2
Home: https://github.com/zeek/spicy
Commit: a11118d358c02135fea6f3a5c1f2cdcd9e2dd765
https://github.com/zeek/spicy/commit/a11118d358c02135fea6f3a5c1f2cdcd9e2dd765
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)

Changed paths:
M hilti/toolchain/include/ast/builder/node-factory.h
M hilti/toolchain/include/ast/declarations/expression.h

Log Message:
-----------
Remove unused factory function.


Commit: 3e5834675ad369128a948cdbdd4f4a4b0791366f
https://github.com/zeek/spicy/commit/3e5834675ad369128a948cdbdd4f4a4b0791366f
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)

Changed paths:
M hilti/toolchain/src/compiler/cfg.cc

Log Message:
-----------
Handle expression use in boolean context in CFG.


Commit: 8ea5b4e760085b1578e892cf0156708a0f22135d
https://github.com/zeek/spicy/commit/8ea5b4e760085b1578e892cf0156708a0f22135d
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)

Changed paths:
M hilti/toolchain/src/compiler/cfg.cc
A tests/hilti/optimization/unused-init.hlt

Log Message:
-----------
Explicitly handle `expression::Name` in CFG.

These come up when visiting statements like

```
if (NAME) {}
```


Commit: 7d63f3c1026f9f94979d74830c6dd73f93812e94
https://github.com/zeek/spicy/commit/7d63f3c1026f9f94979d74830c6dd73f93812e94
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)

Changed paths:
M doc/faq.rst

Log Message:
-----------
Add FAQ for code optimizers can remove.


Commit: 11a0157723ed81a8e022562d47e343f2fba820f9
https://github.com/zeek/spicy/commit/11a0157723ed81a8e022562d47e343f2fba820f9
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)

Changed paths:
M hilti/toolchain/include/ast/ast-context.h
M hilti/toolchain/src/ast/ast-context.cc

Log Message:
-----------
Factor out ASTContext resolve.


Commit: ad8da66ac86e1a3059766a1c11e03f2dca052209
https://github.com/zeek/spicy/commit/ad8da66ac86e1a3059766a1c11e03f2dca052209
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)

Changed paths:
M hilti/toolchain/src/compiler/optimizer.cc

Log Message:
-----------
FunctionBodyVisitor: prune in one go.


Commit: 3b3c20c7d612219311b6225206aee52ddf7fcc87
https://github.com/zeek/spicy/commit/3b3c20c7d612219311b6225206aee52ddf7fcc87
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)

Changed paths:
M hilti/toolchain/src/compiler/optimizer.cc
A tests/hilti/optimization/flatten-block.hlt

Log Message:
-----------
WIP: flatten blocks


Compare: https://github.com/zeek/spicy/compare/a0774d1687d9...3b3c20c7d612

To unsubscribe from these emails, change your notification settings at https://github.com/zeek/spicy/settings/notifications
Reply all
Reply to author
Forward
0 new messages