adding arena (p8) - done

This commit is contained in:
Allen Webster
2021-07-20 22:32:30 -07:00
parent bf60e1a8f7
commit c6df111fb1
7 changed files with 59 additions and 99 deletions
+3 -7
View File
@@ -663,13 +663,6 @@ main:
size: MD_u64,
}
@send(MemoryOperations)
@doc("Allocates @code 'size' bytes. This memory cannot be freed.")
@func MD_AllocZero:
{
size: MD_u64,
}
////////////////////////////////
//~ Characters
@@ -1888,6 +1881,7 @@ MD_ParseWholeFile:
@send(ExpressionParsingHelper)
@func MD_C_MakeExpr: {
arena: *MD_Arena,
node: *MD_Node,
kind: MD_ExprKind,
left: *MD_C_Expr,
@@ -1897,6 +1891,7 @@ MD_ParseWholeFile:
@send(ExpressionParsingHelper)
@func MD_C_ParseAsExpr: {
arena: *MD_Arena,
first: *MD_Node,
last: *MD_Node,
return: *MD_C_Expr,
@@ -1904,6 +1899,7 @@ MD_ParseWholeFile:
@send(ExpressionParsingHelper)
@func MD_C_ParseAsType: {
arena: *MD_Arena,
first: *MD_Node,
last: *MD_Node,
return: *MD_C_Expr,