diff --git a/src/Stmt.cc b/src/Stmt.cc index 4edeeb8954..84f1147272 100644 --- a/src/Stmt.cc +++ b/src/Stmt.cc @@ -35,6 +35,7 @@ const char* stmt_name(StmtTag t) "catch-return", "check-any-length", "compiled-C++", + "ZAM", "ZAM-resumption", "null", }; diff --git a/src/StmtEnums.h b/src/StmtEnums.h index d667d5f9a0..1e427a61a1 100644 --- a/src/StmtEnums.h +++ b/src/StmtEnums.h @@ -21,6 +21,8 @@ enum StmtTag { STMT_CATCH_RETURN, // for reduced InlineExpr's STMT_CHECK_ANY_LEN, // internal reduced statement STMT_CPP, // compiled C++ + STMT_ZAM, // a ZAM function body + STMT_ZAM_RESUMPTION, // resumes ZAM execution for "when" statements STMT_NULL #define NUM_STMTS (int(STMT_NULL) + 1) };