Skip to content

Commit 29cd63c

Browse files
committed
Update baselines
1 parent 655fdcd commit 29cd63c

4 files changed

Lines changed: 22 additions & 23 deletions

File tree

tests/FSharp.Compiler.ComponentTests/EmittedIL/Misc/NoBoxingOnDispose01.fs.il.net472.bsl

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,33 +49,32 @@
4949
.maxstack 3
5050
.locals init (valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!!T> V_0,
5151
!!T V_1)
52-
IL_0000: nop
53-
IL_0001: ldarg.0
54-
IL_0002: callvirt instance valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!0> class [runtime]System.Collections.Generic.List`1<!!T>::GetEnumerator()
55-
IL_0007: stloc.0
52+
IL_0000: ldarg.0
53+
IL_0001: callvirt instance valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!0> class [runtime]System.Collections.Generic.List`1<!!T>::GetEnumerator()
54+
IL_0006: stloc.0
5655
.try
5756
{
58-
IL_0008: br.s IL_0013
57+
IL_0007: br.s IL_0012
5958

60-
IL_000a: ldloca.s V_0
61-
IL_000c: call instance !0 valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!!T>::get_Current()
62-
IL_0011: stloc.1
63-
IL_0012: nop
64-
IL_0013: ldloca.s V_0
65-
IL_0015: call instance bool valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!!T>::MoveNext()
66-
IL_001a: brtrue.s IL_000a
59+
IL_0009: ldloca.s V_0
60+
IL_000b: call instance !0 valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!!T>::get_Current()
61+
IL_0010: stloc.1
62+
IL_0011: nop
63+
IL_0012: ldloca.s V_0
64+
IL_0014: call instance bool valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!!T>::MoveNext()
65+
IL_0019: brtrue.s IL_0009
6766

68-
IL_001c: leave.s IL_002c
67+
IL_001b: leave.s IL_002b
6968

7069
}
7170
finally
7271
{
73-
IL_001e: ldloca.s V_0
74-
IL_0020: constrained. valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!!T>
75-
IL_0026: callvirt instance void [runtime]System.IDisposable::Dispose()
76-
IL_002b: endfinally
72+
IL_001d: ldloca.s V_0
73+
IL_001f: constrained. valuetype [runtime]System.Collections.Generic.List`1/Enumerator<!!T>
74+
IL_0025: callvirt instance void [runtime]System.IDisposable::Dispose()
75+
IL_002a: endfinally
7776
}
78-
IL_002c: ret
77+
IL_002b: ret
7978
}
8079

8180
}

tests/FSharp.Compiler.Service.Tests/ExprTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ let ``Test Optimized Declarations Project1`` () =
900900
"let test11(s) = let Pipe #1 input at line 238: Microsoft.FSharp.Core.string = s in M.last2 (Pipe #1 input at line 238) @ (238,4--238,14)";
901901
"let badLoop = badLoop@240.Force<Microsoft.FSharp.Core.int -> Microsoft.FSharp.Core.int>(()) @ (240,8--240,15)";
902902
"type LetLambda";
903-
"let f = fun a -> fun b -> Operators.op_Addition<Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int> (fun arg0_0 -> fun arg1_0 -> LanguagePrimitives.AdditionDynamic<Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int> (arg0_0,arg1_0),a,b) @ (247,8--247,24)";
903+
"let f = ((); fun a -> fun b -> Operators.op_Addition<Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int> (fun arg0_0 -> fun arg1_0 -> LanguagePrimitives.AdditionDynamic<Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int> (arg0_0,arg1_0),a,b)) @ (246,8--247,24)";
904904
"let letLambdaRes = let Pipe #1 input at line 249: (Microsoft.FSharp.Core.int * Microsoft.FSharp.Core.int) Microsoft.FSharp.Collections.list = Cons((1,2),Empty()) in ListModule.Map<Microsoft.FSharp.Core.int * Microsoft.FSharp.Core.int,Microsoft.FSharp.Core.int> (fun tupledArg -> let a: Microsoft.FSharp.Core.int = tupledArg.Item0 in let b: Microsoft.FSharp.Core.int = tupledArg.Item1 in (LetLambda.f () a) b,Pipe #1 input at line 249) @ (249,19--249,71)";
905905
"let anonRecd = {X = 1; Y = 2} @ (251,15--251,33)";
906906
"let anonRecdGet = (M.anonRecd ().X,M.anonRecd ().Y) @ (252,19--252,41)"]

tests/FSharp.Compiler.Service.Tests/StructureTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ for x in 0 .. 100 ->
453453
()
454454
"""
455455
=> [ (2, 0, 4, 14), (2, 0, 4, 14)
456-
(2, 18, 4, 14), (2, 18, 4, 14) ]
456+
(3, 12, 4, 14), (3, 12, 4, 14) ]
457457

458458
[<Fact>]
459459
let ``tuple``() =

tests/fsharp/Compiler/CodeGen/EmittedIL/ComputedListExpressions.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ let ListExpressionSteppingTest5 () =
245245
IL_0004: stloc.2
246246
IL_0005: br.s IL_0033
247247
248-
IL_0007: ldloca.s V_0
249-
IL_0009: ldloc.2
250-
IL_000a: stloc.3
248+
IL_0007: ldloc.2
249+
IL_0008: stloc.3
250+
IL_0009: ldloca.s V_0
251251
IL_000b: stloc.s V_4
252252
IL_000d: ldloc.s V_4
253253
IL_000f: ldstr "hello"

0 commit comments

Comments
 (0)