diff options
| Commit | 42b419a77464197337255f2c167c3bbf8d7af794 (patch) | |
|---|---|---|
| Author | 2022-10-05 21:11:13 +0300 | |
| Committer | 2022-10-05 21:11:13 +0300 | |
| Files | e0a8569b7a9456bf86bf9056dce58b715f95e8b7 | |
| IPL-42b419a77464197337255f2c167c3bbf8d7af794.tar IPL-42b419a77464197337255f2c167c3bbf8d7af794.tar.gz IPL-42b419a77464197337255f2c167c3bbf8d7af794.zip | ||
| Parent | 79fc291f7032e75881e416f14441fefd898d316d (diff) | |
Fixed formating of .NET CIL code
1 files changed, 9 insertions, 9 deletions
| -rw-r--r-- | website/content/slides/01_dragons/_index.md | 18 |
diff --git a/website/content/slides/01_dragons/_index.md b/website/content/slides/01_dragons/_index.md index 42bb8a5..427cbeb 100644 --- a/website/content/slides/01_dragons/_index.md +++ b/website/content/slides/01_dragons/_index.md @@ -270,17 +270,17 @@ WebAssembly is actually an IR. - C#, F#, Basic (some versions), etc target the .NET virtual machine - Common Intermediate Language - .class public Foo - { - .method public static int32 Add(int32, int32) cil managed + .class public Foo { - .maxstack 2 - ldarg.0 // load the first argument; - ldarg.1 // load the second argument; - add // add them; - ret // return the result; + .method public static int32 Add(int32, int32) cil managed + { + .maxstack 2 + ldarg.0 // load the first argument; + ldarg.1 // load the second argument; + add // add them; + ret // return the result; + } } - } --- ### Back end |
