Created
April 17, 2021 17:19
-
-
Save Sarah-C/730c5e6d02aa0894769244e7162d7089 to your computer and use it in GitHub Desktop.
This file contains 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
using System; | |
public class C { | |
int x=5; | |
public void check() { | |
if( x > 20) x=6; | |
} | |
} |
This file contains 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
; Core CLR v5.0.421.11614 on amd64 | |
C..ctor() | |
L0000: mov dword ptr [rcx+8], 5 | |
L0007: ret | |
C.check() | |
L0000: cmp dword ptr [rcx+8], 0x14 | |
L0004: jle short L000d | |
L0006: mov dword ptr [rcx+8], 6 | |
L000d: ret |
This file contains 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
{ | |
"version": 1, | |
"target": "JIT ASM", | |
"mode": "Release", | |
"branch": "core-x64" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment