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

14 lines
247 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))
}
// ----
// step: expressionInliner
//
2018-10-11 14:58:21 +00:00
// {
// function f(a) -> x
// { x := a }
2018-10-11 14:58:21 +00:00
// let y := f(mload(2))
// }