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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index f4c85505d..fc4ae2155 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -60,7 +60,7 @@ gb_internal uintptr hash_exact_value(ExactValue v) {
case ExactValue_Bool:
return gb_fnv32a(&v.value_bool, gb_size_of(v.value_bool));
case ExactValue_String:
- return ptr_map_hash_key(string_intern(v.value_string));
+ return gb_fnv32a(v.value_string.text, v.value_string.len);
case ExactValue_Integer:
{
u32 key = gb_fnv32a(v.value_integer.dp, gb_size_of(*v.value_integer.dp) * v.value_integer.used);