Skip to content

Commit f097054

Browse files
Merge pull request #5121 from owen-mc-diffblue/owen-mc-diffblue/extremely-minor-code-improvement
Extremely minor code improvement
2 parents 9c0e0d3 + c156475 commit f097054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbmc/src/java_bytecode/java_bytecode_convert_method.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,10 @@ void java_bytecode_convert_methodt::convert(
605605
method_has_this = method_type.has_this();
606606
if((!m.is_abstract) && (!m.is_native))
607607
{
608-
code_blockt code(convert_parameter_annotations(m, method_type));
609608
// Do not convert if method is not in context
610609
if(!method_context || (*method_context)(id2string(method_identifier)))
611610
{
611+
code_blockt code{convert_parameter_annotations(m, method_type)};
612612
code.append(convert_instructions(m));
613613
method_symbol.value = std::move(code);
614614
}

0 commit comments

Comments
 (0)