From 7f2a066e8f704afdd03aed184854ecade809e772 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 24 Sep 2025 12:09:59 -0700 Subject: [PATCH] tear out old file stream tick; switch disasm to using new file stream for interleaved text lines --- src/disasm/disasm.c | 2 +- src/file_stream/file_stream.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/disasm/disasm.c b/src/disasm/disasm.c index e2d8f743..783a91a3 100644 --- a/src/disasm/disasm.c +++ b/src/disasm/disasm.c @@ -362,7 +362,7 @@ dasm_artifact_create(String8 key, B32 *retry_out) { // TODO(rjf): need redirection path - this may map to a different path on the local machine, // need frontend to communicate path remapping info to this layer - C_Key key = fs_key_from_path_range(file_normalized_full_path, r1u64(0, max_U64), 0); + C_Key key = fs_key_from_path_range_new(file_normalized_full_path, r1u64(0, max_U64), 0); TXT_LangKind lang_kind = txt_lang_kind_from_extension(file_normalized_full_path); U64 endt_us = max_U64; U128 hash = {0}; diff --git a/src/file_stream/file_stream.c b/src/file_stream/file_stream.c index b3d72097..4c4d44f0 100644 --- a/src/file_stream/file_stream.c +++ b/src/file_stream/file_stream.c @@ -372,6 +372,7 @@ fs_hash_from_path_range(String8 path, Rng1U64 range, U64 endt_us) internal void fs_async_tick(void) { +#if 0 ProfBeginFunction(); Temp scratch = scratch_begin(0, 0); @@ -530,4 +531,5 @@ fs_async_tick(void) scratch_end(scratch); ProfEnd(); +#endif }