From e92ea6fe1baca02c46ec9fb93c25b1b3b08043ac Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 5 Sep 2024 15:33:43 -0400 Subject: Remove unused macro --- builtins/macros.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/builtins/macros.h b/builtins/macros.h index 4fbaa5f5..9e51eba3 100644 --- a/builtins/macros.h +++ b/builtins/macros.h @@ -7,5 +7,3 @@ #define heap(x) (__typeof(x)*)memcpy(GC_MALLOC(sizeof(x)), (__typeof(x)[1]){x}, sizeof(x)) #define stack(x) (__typeof(x)*)((__typeof(x)[1]){x}) -#define tagged(obj_expr, type_name, tag_name) ({ __typeof(obj_expr) obj = obj_expr; \ - obj.$tag == $tag$##type_name##$##tag_name ? &obj.tag_name : NULL; }) -- cgit v1.2.3