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

15 lines
256 B
Plaintext
Raw Normal View History

2018-10-11 14:58:21 +00:00
// Does not inline because mload could be moved out of sequence
{
function f(a) -> x { x := a }
let y := f(mload(2))
}
// ----
// expressionInliner
// {
// function f(a) -> x
// {
// x := a
// }
// let y := f(mload(2))
// }