make is_managed optional

This commit is contained in:
Vern Paxson 2024-06-04 08:11:12 -07:00
parent 98fc4c51d4
commit f24faf0f26
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 37d9fba879d191a9139528cbe441fa53db250e24
Subproject commit 4f9f5408d2ea070a0295de25c1548e982a20baf1

View file

@ -262,7 +262,7 @@
macro Z_TYPE z.t
# Whether it's managed.
macro Z_IS_MANAGED z.is_managed
macro Z_IS_MANAGED *(z.is_managed)
# Secondary type.
macro Z_TYPE2 z.t2

View file

@ -140,7 +140,7 @@ public:
// Whether v1 represents a frame slot type for which we
// explicitly manage the memory.
bool is_managed = false;
std::optional<bool> is_managed;
};
// A intermediary ZAM instruction, one that includes information/methods