Skip to content

Commit

Permalink
markused: uppercase the stats name to MARKUSED in the output of `-s…
Browse files Browse the repository at this point in the history
…how-timings`
  • Loading branch information
spytheman committed Dec 9, 2024
1 parent 49e1012 commit d2d13a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/v/markused/markused.v
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import v.pref
// mark_used walks the AST, starting at main() and marks all used fns transitively
pub fn mark_used(mut table ast.Table, mut pref_ pref.Preferences, ast_files []&ast.File) {
mut all_fns, all_consts, all_globals := all_fn_const_and_global(ast_files)
util.timing_start(@METHOD)
util.timing_start('MARKUSED')
defer {
util.timing_measure(@METHOD)
util.timing_measure('MARKUSED')
}
// Functions that must be generated and can't be skipped
mut all_fn_root_names := []string{}
Expand Down

0 comments on commit d2d13a1

Please sign in to comment.