aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/ast.h b/include/ast.h
index 6a40980..9f01b1b 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -88,8 +88,6 @@ struct Ast {
SsaRegister ssa_reg;
};
-DefineNullablePtrType(Ast);
-
struct Scope {
Buffer/*<Ast*>*/ ast_objects;
HashMap/*(key=BufferView, value=Ast<LhsExpr>*)*/ named_objects;
@@ -160,7 +158,7 @@ struct LhsExpr {
bool is_const;
BufferView var_name;
VariableType type;
- NullablePtr(Ast) rhs_expr;
+ Ast *rhs_expr;
};
struct AssignmentExpr {