We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MARKUSED
-show-timings
1 parent 49e1012 commit d2d13a1Copy full SHA for d2d13a1
vlib/v/markused/markused.v
@@ -9,9 +9,9 @@ import v.pref
9
// mark_used walks the AST, starting at main() and marks all used fns transitively
10
pub fn mark_used(mut table ast.Table, mut pref_ pref.Preferences, ast_files []&ast.File) {
11
mut all_fns, all_consts, all_globals := all_fn_const_and_global(ast_files)
12
- util.timing_start(@METHOD)
+ util.timing_start('MARKUSED')
13
defer {
14
- util.timing_measure(@METHOD)
+ util.timing_measure('MARKUSED')
15
}
16
// Functions that must be generated and can't be skipped
17
mut all_fn_root_names := []string{}
0 commit comments