Rename muldiv and update tests for LLVM 20

This commit is contained in:
Christoffer Lerno
2024-08-09 23:56:20 +02:00
parent f85c4cd79f
commit 274e5280cb
11 changed files with 56 additions and 98 deletions

View File

@@ -21,7 +21,7 @@ fn Clock native_clock()
}
Win32_LARGE_INTEGER counter @noinit;
if (!win32_QueryPerformanceCounter(&counter)) return 0;
return (Clock)counter.quadPart.mult_div(1_000_000_000, freq.quadPart);
return (Clock)counter.quadPart.muldiv(1_000_000_000, freq.quadPart);
}
fn Time native_timestamp()