stage0 新增内存复制指令 重构vm交互
This commit is contained in:
1 parent
0b8f649818
commit
40cffa9cb5
22 files changed
+626
-158
No files matched your search
+6
-1
@@ -73,7 +73,8 @@
|
||||
X(SPL_AST_PATTERN_TUPLE, V0, pattern_tuple) \
|
||||
X(SPL_AST_PATTERN_LIST, V0, pattern_list) \
|
||||
X(SPL_AST_PATTERN_AGGREGATE, V0, pattern_aggregate) \
|
||||
X(SPL_AST_PATTERN_FIELD, V0, pattern_field)
|
||||
X(SPL_AST_PATTERN_FIELD, V0, pattern_field) \
|
||||
X(SPL_AST_PATTERN_REF, V0, pattern_ref)
|
||||
/* clang-format on */
|
||||
|
||||
typedef enum {
|
||||
@@ -452,6 +453,10 @@ struct spl_ast_node {
|
||||
const char *name;
|
||||
spl_ast_node_ref_t pattern;
|
||||
} pattern_field;
|
||||
|
||||
struct {
|
||||
spl_ast_node_ref_t pat;
|
||||
} pattern_ref;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user