rewrite of ZAM optimization of BiFs and script functions/idioms

This commit is contained in:
Vern Paxson 2024-04-08 18:33:06 -04:00 committed by Tim Wojtulewicz
parent 263093af78
commit 9cddf16800
8 changed files with 1300 additions and 409 deletions

View file

@ -971,7 +971,7 @@ const ZAMStmt ZAMCompiler::AssignToCall(const ExprStmt* e) {
}
bool ZAMCompiler::CheckForBuiltIn(const ExprPtr& e, CallExprPtr c) {
if ( ! IsZAM_BuiltIn(e.get()) )
if ( ! IsZAM_BuiltIn(this, e.get()) )
return false;
auto ret = LastInst();