solidity/test/libyul/yulOptimizerTests/expressionInliner/no_inline_mload.yul

14 lines
252 B
Plaintext

// Does not inline because mload could be moved out of sequence
{
function f(a) -> x { x := a }
let y := f(mload(2))
}
// ====
// step: expressionInliner
// ----
// {
// function f(a) -> x
// { x := a }
// let y := f(mload(2))
// }