|
1 | 1 |
|
2 |
| -// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.81.0 |
| 2 | +// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0 |
3 | 3 | // Copyright (c) Microsoft Corporation. All rights reserved.
|
4 | 4 |
|
5 | 5 |
|
|
26 | 26 | int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 )
|
27 | 27 |
|
28 | 28 | // --- The following custom attribute is added automatically, do not uncomment -------
|
29 |
| - // .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 00 01 00 00 00 00 ) |
| 29 | + // .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 01 01 00 00 00 00 ) |
30 | 30 |
|
31 | 31 | .hash algorithm 0x00008004
|
32 | 32 | .ver 0:0:0:0
|
|
40 | 40 | // Offset: 0x00000218 Length: 0x0000007D
|
41 | 41 | }
|
42 | 42 | .module ComputationExpr04.exe
|
43 |
| -// MVID: {5775B6C9-366A-E566-A745-0383C9B67557} |
| 43 | +// MVID: {594BFA7F-366A-E566-A745-03837FFA4B59} |
44 | 44 | .imagebase 0x00400000
|
45 | 45 | .file alignment 0x00000200
|
46 | 46 | .stackreserve 0x00100000
|
47 | 47 | .subsystem 0x0003 // WINDOWS_CUI
|
48 | 48 | .corflags 0x00000001 // ILONLY
|
49 |
| -// Image base: 0x00B80000 |
| 49 | +// Image base: 0x00300000 |
50 | 50 |
|
51 | 51 |
|
52 | 52 | // =============== CLASS MEMBERS DECLARATION ===================
|
|
77 | 77 | .method public strict virtual instance class [ComputationExprLibrary]Library.Eventually`1<int32>
|
78 | 78 | Invoke(class [FSharp.Core]Microsoft.FSharp.Core.Unit unitVar) cil managed
|
79 | 79 | {
|
80 |
| - // Code size 55 (0x37) |
| 80 | + // Code size 69 (0x45) |
81 | 81 | .maxstack 6
|
82 |
| - .locals init ([0] int32 x) |
| 82 | + .locals init ([0] int32 x, |
| 83 | + [1] string V_1) |
83 | 84 | .language '{AB4F38C9-B6E6-43BA-BE3B-58080B2CCCE3}', '{994B45C4-E6E9-11D2-903F-00C04FA302A1}', '{5A869D0B-6611-11D3-BD2A-0000F80849BD}'
|
84 | 85 | .line 7,7 : 13,54 'C:\\GitHub\\dsyme\\visualfsharp\\tests\\fsharpqa\\Source\\CodeGen\\EmittedIL\\ComputationExpressions\\ComputationExpr04.fs'
|
85 | 86 | IL_0000: nop
|
86 | 87 | IL_0001: nop
|
87 |
| - .line 7,7 : 22,37 |
| 88 | + .line 7,7 : 22,37 '' |
88 | 89 | IL_0002: ldstr "hello"
|
89 | 90 | IL_0007: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [mscorlib]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string)
|
90 | 91 | IL_000c: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [mscorlib]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>)
|
91 | 92 | IL_0011: pop
|
92 |
| - .line 7,7 : 39,53 |
| 93 | + .line 7,7 : 39,53 '' |
93 | 94 | IL_0012: ldstr "hello"
|
94 | 95 | IL_0017: callvirt instance int32 [mscorlib]System.String::get_Length()
|
95 | 96 | IL_001c: stloc.0
|
96 |
| - .line 8,8 : 13,28 |
| 97 | + .line 8,8 : 13,28 '' |
97 | 98 | IL_001d: ldstr "fail"
|
98 |
| - IL_0022: call !!0 [FSharp.Core]Microsoft.FSharp.Core.Operators::FailWith<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(string) |
99 |
| - IL_0027: pop |
100 |
| - .line 9,9 : 13,21 |
101 |
| - IL_0028: ldarg.0 |
102 |
| - IL_0029: ldfld class [ComputationExprLibrary]Library.EventuallyBuilder ComputationExpr04/'res4@7-1'::builder@ |
103 |
| - IL_002e: ldloc.0 |
104 |
| - IL_002f: tail. |
105 |
| - IL_0031: callvirt instance class [ComputationExprLibrary]Library.Eventually`1<!!0> [ComputationExprLibrary]Library.EventuallyBuilder::Return<int32>(!!0) |
106 |
| - IL_0036: ret |
| 99 | + IL_0022: stloc.1 |
| 100 | + IL_0023: ldc.i4.0 |
| 101 | + IL_0024: brfalse.s IL_002e |
| 102 | + |
| 103 | + IL_0026: ldnull |
| 104 | + IL_0027: unbox.any [FSharp.Core]Microsoft.FSharp.Core.Unit |
| 105 | + IL_002c: br.s IL_0035 |
| 106 | + |
| 107 | + IL_002e: ldloc.1 |
| 108 | + IL_002f: call class [mscorlib]System.Exception [FSharp.Core]Microsoft.FSharp.Core.Operators::Failure(string) |
| 109 | + IL_0034: throw |
| 110 | + |
| 111 | + IL_0035: pop |
| 112 | + .line 9,9 : 13,21 '' |
| 113 | + IL_0036: ldarg.0 |
| 114 | + IL_0037: ldfld class [ComputationExprLibrary]Library.EventuallyBuilder ComputationExpr04/'res4@7-1'::builder@ |
| 115 | + IL_003c: ldloc.0 |
| 116 | + IL_003d: tail. |
| 117 | + IL_003f: callvirt instance class [ComputationExprLibrary]Library.Eventually`1<!!0> [ComputationExprLibrary]Library.EventuallyBuilder::Return<int32>(!!0) |
| 118 | + IL_0044: ret |
107 | 119 | } // end of method 'res4@7-1'::Invoke
|
108 | 120 |
|
109 | 121 | } // end of class 'res4@7-1'
|
|
134 | 146 | .maxstack 6
|
135 | 147 | .locals init ([0] class [mscorlib]System.Exception V_0,
|
136 | 148 | [1] int32 x)
|
137 |
| - .line 6,12 : 9,21 |
| 149 | + .line 6,12 : 9,21 '' |
138 | 150 | IL_0000: nop
|
139 | 151 | IL_0001: ldarg.1
|
140 | 152 | IL_0002: stloc.0
|
141 |
| - .line 11,11 : 13,54 |
| 153 | + .line 11,11 : 13,54 '' |
142 | 154 | IL_0003: nop
|
143 |
| - .line 11,11 : 22,37 |
| 155 | + .line 11,11 : 22,37 '' |
144 | 156 | IL_0004: ldstr "hello"
|
145 | 157 | IL_0009: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [mscorlib]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string)
|
146 | 158 | IL_000e: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [mscorlib]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>)
|
147 | 159 | IL_0013: pop
|
148 |
| - .line 11,11 : 39,53 |
| 160 | + .line 11,11 : 39,53 '' |
149 | 161 | IL_0014: ldstr "hello"
|
150 | 162 | IL_0019: callvirt instance int32 [mscorlib]System.String::get_Length()
|
151 | 163 | IL_001e: stloc.1
|
152 |
| - .line 12,12 : 13,21 |
| 164 | + .line 12,12 : 13,21 '' |
153 | 165 | IL_001f: ldarg.0
|
154 | 166 | IL_0020: ldfld class [ComputationExprLibrary]Library.EventuallyBuilder ComputationExpr04/'res4@6-2'::builder@
|
155 | 167 | IL_0025: ldloc.1
|
|
184 | 196 | {
|
185 | 197 | // Code size 48 (0x30)
|
186 | 198 | .maxstack 8
|
187 |
| - .line 6,6 : 9,12 |
| 199 | + .line 6,6 : 9,12 '' |
188 | 200 | IL_0000: nop
|
189 | 201 | IL_0001: ldarg.0
|
190 | 202 | IL_0002: ldfld class [ComputationExprLibrary]Library.EventuallyBuilder ComputationExpr04/res4@6::builder@
|
|
238 | 250 | .maxstack 4
|
239 | 251 | .locals init ([0] class [ComputationExprLibrary]Library.Eventually`1<int32> res4,
|
240 | 252 | [1] class [ComputationExprLibrary]Library.EventuallyBuilder builder@)
|
241 |
| - .line 14,14 : 1,25 |
| 253 | + .line 14,14 : 1,25 '' |
242 | 254 | IL_0000: call class [ComputationExprLibrary]Library.EventuallyBuilder [ComputationExprLibrary]Library.TheEventuallyBuilder::get_eventually()
|
243 | 255 | IL_0005: stloc.1
|
244 | 256 | IL_0006: ldloc.1
|
|
0 commit comments