Skip to content

Commit 0f0aaf1

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Explicitly handle all profile mode variants in enable_profile_instrumentation
Summary: More clear this way. Reviewed By: bobyangyf Differential Revision: D38523440 fbshipit-source-id: 39d7384793114fd370f473a35e12b1fa87ec37c7
1 parent 68c3710 commit 0f0aaf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starlark/src/eval/runtime/evaluator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ impl<'v, 'a> Evaluator<'v, 'a> {
268268
| ProfileMode::TimeFlame => {
269269
self.heap_or_flame_profile = true;
270270
}
271-
_ => {}
271+
ProfileMode::Typecheck => {}
272272
}
273273
}
274274

0 commit comments

Comments
 (0)