Skip to content

Commit 68c3710

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Remove enable_before_stmt_instrumentation
Summary: Dead code. Reviewed By: bobyangyf Differential Revision: D38523316 fbshipit-source-id: 284de028be32f8725b1c55883f7fb9722bc788b9
1 parent 73330f5 commit 68c3710

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

starlark/src/eval/runtime/evaluator.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,6 @@ impl<'v, 'a> Evaluator<'v, 'a> {
249249
}
250250
}
251251

252-
/// Generate instructions to invoke before stmt callbacks when evaluating the module,
253-
/// even if this module does not use any such callbacks.
254-
///
255-
/// This function need to be called when evaluating a dependency of a module, if a module
256-
/// registers `before_stmt` callback.
257-
pub fn enable_before_stmt_instrumentation(&mut self) {
258-
self.before_stmt.instrument = true;
259-
}
260-
261252
/// Enable instrumentation in module which is loaded by a module to be profiled.
262253
///
263254
/// This function need to be called when evaluating a dependency of a module, if a module

0 commit comments

Comments
 (0)