aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-06-07 23:52:13 +0100
committergingerBill <bill@gingerbill.org>2018-06-07 23:52:13 +0100
commitd7108416c9abca6bd9ebd45ad54c3b3af6829345 (patch)
treeffd367852f2040c6417413458abf8c296282c4a3 /src/exact_value.cpp
parentb136630856708614b129d23681adeccd0a79d969 (diff)
Remove dead code
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);