1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: use malloc_noscan more (for map metas and in []byte.hex())

This commit is contained in:
Delyan Angelov
2022-03-11 11:07:00 +02:00
parent 1993bf2a12
commit 8dc4b1d9a3
4 changed files with 4 additions and 4 deletions

View File

@@ -324,7 +324,7 @@ pub fn malloc_noscan(n int) &byte {
}
$if trace_malloc ? {
total_m += n
C.fprintf(C.stderr, c'_v_malloc %6d total %10d\n', n, total_m)
C.fprintf(C.stderr, c'malloc_noscan %6d total %10d\n', n, total_m)
// print_backtrace()
}
mut res := &byte(0)