better error reporting when ZAM code calls a function

This commit is contained in:
Vern Paxson 2023-02-09 11:24:35 -08:00
parent 1b6df1a04c
commit 2c9857a618
33 changed files with 38 additions and 52 deletions

View file

@ -127,6 +127,10 @@ public:
// Location associated with this instruction, for error reporting.
const Location* loc = nullptr;
// Interpreter call expression associated with this instruction,
// for error reporting and stack backtraces.
const CallExpr* call_expr = nullptr;
// Whether v1 represents a frame slot type for which we
// explicitly manage the memory.
bool is_managed = false;