summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorWormHeamer2025-08-04 03:28:53 -0400
committerWormHeamer2025-08-04 03:28:53 -0400
commit7df7f08dca9c54ea93839300e7b4c78289baf640 (patch)
treeb4339f0d3cdb8fbb1f61ab9a07db0ce85333a3e4 /ir.h
parentff64edc488c5b7b44dfecfecc03fb4cc26c4da19 (diff)
add optimizations based on only partially known values
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h1
1 files changed, 1 insertions, 0 deletions
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);