Use automatic allocation for RPN reasons

This commit is contained in:
Rangi42
2024-03-07 09:58:45 -05:00
parent e5b7e65e91
commit 84bedc7bbe
2 changed files with 5 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ struct Symbol;
struct Expression {
int32_t val; // If the expression's value is known, it's here
std::string *reason; // Why the expression is not known, if it isn't
std::string reason; // Why the expression is not known, if it isn't
bool isKnown; // Whether the expression's value is known at assembly time
bool isSymbol; // Whether the expression represents a symbol suitable for const diffing
std::vector<uint8_t> *rpn; // Bytes serializing the RPN expression