aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exact_value.cpp')
-rw-r--r--src/exact_value.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index b0513c6eb..1fe0206d8 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -24,7 +24,6 @@ enum ExactValueKind {
ExactValue_Pointer,
ExactValue_Compound, // TODO(bill): Is this good enough?
ExactValue_Procedure, // TODO(bill): Is this good enough?
- ExactValue_Entity, // TODO(bill): Is this good enough?
ExactValue_Count,
};
@@ -68,8 +67,6 @@ HashKey hash_exact_value(ExactValue v) {
return hash_pointer(v.value_compound);
case ExactValue_Procedure:
return hash_pointer(v.value_procedure);
- case ExactValue_Entity:
- return hash_pointer(v.value_entity);
}
return hashing_proc(&v, gb_size_of(ExactValue));
@@ -132,12 +129,6 @@ ExactValue exact_value_procedure(AstNode *node) {
return result;
}
-ExactValue exact_value_entity(Entity *entity) {
- ExactValue result = {ExactValue_Entity};
- result.value_entity = entity;
- return result;
-}
-
ExactValue exact_value_integer_from_string(String string) {
u64 u = u64_from_string(string);