Skip to content

Commit d2d13a1

Browse files
committed
markused: uppercase the stats name to MARKUSED in the output of -show-timings
1 parent 49e1012 commit d2d13a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vlib/v/markused/markused.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import v.pref
99
// mark_used walks the AST, starting at main() and marks all used fns transitively
1010
pub fn mark_used(mut table ast.Table, mut pref_ pref.Preferences, ast_files []&ast.File) {
1111
mut all_fns, all_consts, all_globals := all_fn_const_and_global(ast_files)
12-
util.timing_start(@METHOD)
12+
util.timing_start('MARKUSED')
1313
defer {
14-
util.timing_measure(@METHOD)
14+
util.timing_measure('MARKUSED')
1515
}
1616
// Functions that must be generated and can't be skipped
1717
mut all_fn_root_names := []string{}

0 commit comments

Comments
 (0)