Created
February 1, 2021 19:28
-
-
Save hrkrshnn/504922e5c95cc2e7966c4e7564842868 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u /tmp/old.txt /tmp/new.txt | |
--- /tmp/old.txt 2021-02-01 20:13:33.637282924 +0100 | |
+++ /tmp/new.txt 2021-02-01 20:14:02.415177046 +0100 | |
@@ -1,7 +1,7 @@ | |
-======= <stdin>:C ======= | |
+======= optimizer_inliner_inc/input.sol:C ======= | |
EVM assembly: | |
- /* "<stdin>":157:279 contract C {... */ | |
+ /* "optimizer_inliner_inc/input.sol":157:279 contract C {... */ | |
mstore(0x40, 0x80) | |
callvalue | |
dup1 | |
@@ -23,7 +23,7 @@ | |
stop | |
sub_0: assembly { | |
- /* "<stdin>":157:279 contract C {... */ | |
+ /* "optimizer_inliner_inc/input.sol":157:279 contract C {... */ | |
mstore(0x40, 0x80) | |
callvalue | |
dup1 | |
@@ -46,7 +46,7 @@ | |
0x00 | |
dup1 | |
revert | |
- /* "<stdin>":174:277 function f() public pure {... */ | |
+ /* "optimizer_inliner_inc/input.sol":174:277 function f() public pure {... */ | |
tag_3: | |
tag_4 | |
tag_5 | |
@@ -54,49 +54,30 @@ | |
tag_4: | |
stop | |
tag_5: | |
- /* "<stdin>":213:219 uint x */ | |
+ /* "optimizer_inliner_inc/input.sol":213:219 uint x */ | |
0x00 | |
- /* "<stdin>":209:271 for(uint x = 0; x < 10; x = unsafe_inc(x))... */ | |
+ /* "optimizer_inliner_inc/input.sol":209:271 for(uint x = 0; x < 10; x = unsafe_inc(x))... */ | |
tag_7: | |
- /* "<stdin>":229:231 10 */ | |
+ /* "optimizer_inliner_inc/input.sol":229:231 10 */ | |
0x0a | |
- /* "<stdin>":225:226 x */ | |
+ /* "optimizer_inliner_inc/input.sol":225:226 x */ | |
dup2 | |
- /* "<stdin>":225:231 x < 10 */ | |
+ /* "optimizer_inliner_inc/input.sol":225:231 x < 10 */ | |
lt | |
- /* "<stdin>":209:271 for(uint x = 0; x < 10; x = unsafe_inc(x))... */ | |
+ /* "optimizer_inliner_inc/input.sol":209:271 for(uint x = 0; x < 10; x = unsafe_inc(x))... */ | |
iszero | |
tag_8 | |
jumpi | |
- /* "<stdin>":237:250 unsafe_inc(x) */ | |
- tag_10 | |
- /* "<stdin>":248:249 x */ | |
- dup2 | |
- /* "<stdin>":237:247 unsafe_inc */ | |
- tag_11 | |
- /* "<stdin>":237:250 unsafe_inc(x) */ | |
- jump // in | |
- tag_10: | |
- /* "<stdin>":233:250 x = unsafe_inc(x) */ | |
- swap1 | |
- pop | |
- /* "<stdin>":209:271 for(uint x = 0; x < 10; x = unsafe_inc(x))... */ | |
+ /* "optimizer_inliner_inc/input.sol":145:146 1 */ | |
+ 0x01 | |
+ /* "optimizer_inliner_inc/input.sol":141:146 x + 1 */ | |
+ add | |
+ /* "optimizer_inliner_inc/input.sol":209:271 for(uint x = 0; x < 10; x = unsafe_inc(x))... */ | |
jump(tag_7) | |
tag_8: | |
pop | |
- /* "<stdin>":174:277 function f() public pure {... */ | |
- jump // out | |
- /* "<stdin>":60:155 function unsafe_inc(uint x) pure returns (uint)... */ | |
- tag_11: | |
- /* "<stdin>":145:146 1 */ | |
- 0x01 | |
- /* "<stdin>":141:146 x + 1 */ | |
- add | |
- swap1 | |
- /* "<stdin>":60:155 function unsafe_inc(uint x) pure returns (uint)... */ | |
+ /* "optimizer_inliner_inc/input.sol":174:277 function f() public pure {... */ | |
jump // out | |
- auxdata: 0xa164736f6c637827302e382e312d646576656c6f702e323032312e312e31352b636f6d6d69742e6361336535323564002f | |
+ auxdata: <AUXDATA REMOVED> | |
} | |
- | |
-#+end_example | |
Diff finished. Mon Feb 1 20:14:09 2021 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment