diff options
author | chriseth <chris@ethereum.org> | 2018-10-11 23:59:45 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-10-12 00:41:26 +0800 |
commit | 6dfd0adc0ba5673071f280ee5f68806f5aeecebd (patch) | |
tree | 7398f2f4dd497b254e5eac001f4316985b63daa7 /test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul | |
parent | 49958e4720528e4ba325dfc0892888f319649aa9 (diff) | |
download | dexon-solidity-6dfd0adc0ba5673071f280ee5f68806f5aeecebd.tar.gz dexon-solidity-6dfd0adc0ba5673071f280ee5f68806f5aeecebd.tar.zst dexon-solidity-6dfd0adc0ba5673071f280ee5f68806f5aeecebd.zip |
Move rematerialiser tests.
Diffstat (limited to 'test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul')
-rw-r--r-- | test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul b/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul new file mode 100644 index 00000000..8767abc9 --- /dev/null +++ b/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul @@ -0,0 +1,14 @@ +{ + let a := 1 + let b := mload(a) + let c := a + mstore(add(a, b), c) +} +// ---- +// rematerialiser +// { +// let a := 1 +// let b := mload(1) +// let c := 1 +// mstore(add(1, b), 1) +// } |