From 083cec6c88b37001a57eac1ae9377b4ef73cf8a3 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 6 Mar 2021 16:11:54 +0000 Subject: [PATCH] Remove dead code --- core/runtime/dynamic_map_internal.odin | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/runtime/dynamic_map_internal.odin b/core/runtime/dynamic_map_internal.odin index 674df24d7..f8a192b02 100644 --- a/core/runtime/dynamic_map_internal.odin +++ b/core/runtime/dynamic_map_internal.odin @@ -138,16 +138,6 @@ default_hasher_cstring :: proc "contextless" (data: rawptr, seed: uintptr) -> ui } - -source_code_location_hash :: proc(s: Source_Code_Location) -> uintptr { - hash := _fnv64a(transmute([]byte)s.file_path); - hash = hash ~ (u64(s.line) * 0x100000001b3); - hash = hash ~ (u64(s.column) * 0x100000001b3); - return uintptr(hash); -} - - - __get_map_header :: proc "contextless" (m: ^$T/map[$K]$V) -> Map_Header { header := Map_Header{m = (^Raw_Map)(m)}; Entry :: struct {