Skip to content

Commit

Permalink
Fix verbatim control flow size effects.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodiazet committed Oct 23, 2024
1 parent b16d811 commit 58c8cb5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libyul/backends/evm/EVMDialect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,12 @@ BuiltinFunctionForEVM EVMDialect::createVerbatimFunction(size_t _arguments, size
);
}
);
// Worse control flow side effects because verbatim can do anything.
builtinFunction.controlFlowSideEffects = {
true, // canTerminate
true, // canRevert
true // canContinue
};
builtinFunction.isMSize = true;
return builtinFunction;
}
Expand Down

0 comments on commit 58c8cb5

Please sign in to comment.