| 489 | } |
| 490 | |
| 491 | AST *AST_ShallowCopy |
| 492 | ( |
| 493 | AST *orig |
| 494 | ) { |
| 495 | AST_IncreaseRefCount(orig); |
| 496 | size_t ast_size = sizeof(AST); |
| 497 | AST *shallow_copy = rm_malloc(ast_size); |
| 498 | memcpy(shallow_copy, orig, ast_size); |
| 499 | return shallow_copy; |
| 500 | } |
| 501 | |
| 502 | inline bool AST_AliasIsReferenced |
| 503 | ( |
no test coverage detected