From 7df7f08dca9c54ea93839300e7b4c78289baf640 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Mon, 4 Aug 2025 03:28:53 -0400 Subject: add optimizations based on only partially known values --- ir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ir.h') diff --git a/ir.h b/ir.h index 0a8a9c2..1cb3def 100644 --- a/ir.h +++ b/ir.h @@ -39,6 +39,7 @@ typedef struct Value { struct Node; int type_eql(Type *a, Type *b); int type_base_eql(Type *a, Type *b); +int value_eql(Value *a, Value *b); int type_check(struct Node *n); Str type_desc(Type *t, Arena *arena); void type_err(struct Node *n, Lexer *l); -- cgit v1.2.3