Skip to content

Commit

Permalink
inline should_instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox committed Jul 14, 2019
1 parent 7f67d37 commit 19ee9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/breakpoint_rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Returns true if according to the rules, the specified
method or function should be instrumented with potential breakpoints.
The default is to instrument everything.
"""
function should_instrument(rules::BreakpointRules, method)
@inline function should_instrument(rules::BreakpointRules, method)
# If we are going to break on it, then definately instrument it
for rule in rules.breakon_rules
match(rule, method) && return true
Expand Down

0 comments on commit 19ee9f6

Please sign in to comment.