Skip to content

Commit

Permalink
Merge pull request #15640 from ethereum/fix_ghost_call_fn_name
Browse files Browse the repository at this point in the history
Yul CFG Builder: Fix ghost call function name
  • Loading branch information
clonker authored Dec 12, 2024
2 parents 3b3586c + e6bca73 commit 87b76ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libyul/backends/evm/ControlFlowGraphBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void ControlFlowGraphBuilder::operator()(Switch const& _switch)
auto makeValueCompare = [&](Case const& _case) {
yul::FunctionCall const& ghostCall = m_graph.ghostCalls.emplace_back(yul::FunctionCall{
debugDataOf(_case),
yul::Identifier{{}, "eq"_yulname},
BuiltinName{{}, *equalityBuiltinHandle},
{*_case.value, Identifier{{}, ghostVariableName}}
});
BuiltinFunction const& equalityBuiltin = m_dialect.builtin(*equalityBuiltinHandle);
Expand Down

0 comments on commit 87b76ad

Please sign in to comment.