mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: change all '$expr' to '${expr}' (#16428)
This commit is contained in:
@ -82,10 +82,10 @@ fn prealloc_vcleanup() {
|
||||
mut mb := g_memory_block
|
||||
for unsafe { mb != 0 } {
|
||||
nr_mallocs += mb.mallocs
|
||||
eprintln('> freeing mb.id: ${mb.id:3} | cap: ${mb.cap:7} | rem: ${mb.remaining:7} | start: ${voidptr(mb.start)} | current: ${voidptr(mb.current)} | diff: ${u64(mb.current) - u64(mb.start):7} bytes | mallocs: $mb.mallocs')
|
||||
eprintln('> freeing mb.id: ${mb.id:3} | cap: ${mb.cap:7} | rem: ${mb.remaining:7} | start: ${voidptr(mb.start)} | current: ${voidptr(mb.current)} | diff: ${u64(mb.current) - u64(mb.start):7} bytes | mallocs: ${mb.mallocs}')
|
||||
mb = mb.previous
|
||||
}
|
||||
eprintln('> nr_mallocs: $nr_mallocs')
|
||||
eprintln('> nr_mallocs: ${nr_mallocs}')
|
||||
}
|
||||
unsafe {
|
||||
for g_memory_block != 0 {
|
||||
|
Reference in New Issue
Block a user