summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Methodical/flowgraph
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2015-09-03 17:36:18 -0700
committerBruce Forstall <brucefo@microsoft.com>2015-09-03 17:36:18 -0700
commitcc9fcb43ed083d97ed337e9a617728da03cde55d (patch)
tree8c036834e60fa760094ebb4314d022a2e717d0d8 /tests/src/JIT/Methodical/flowgraph
parent3913d10b8cfdc5927872e5d63bb994ceaf0e21b3 (diff)
downloadcoreclr-cc9fcb43ed083d97ed337e9a617728da03cde55d.tar.gz
coreclr-cc9fcb43ed083d97ed337e9a617728da03cde55d.tar.bz2
coreclr-cc9fcb43ed083d97ed337e9a617728da03cde55d.zip
Add System.Console references and replace usages with [System.Console]
Diffstat (limited to 'tests/src/JIT/Methodical/flowgraph')
-rw-r--r--tests/src/JIT/Methodical/flowgraph/bug619534/ILStackAllocRepro.il8
-rw-r--r--tests/src/JIT/Methodical/flowgraph/dev10_bug642944/GCMaskForGSCookie.il10
2 files changed, 15 insertions, 3 deletions
diff --git a/tests/src/JIT/Methodical/flowgraph/bug619534/ILStackAllocRepro.il b/tests/src/JIT/Methodical/flowgraph/bug619534/ILStackAllocRepro.il
index 905630714a..1e2f56bbd0 100644
--- a/tests/src/JIT/Methodical/flowgraph/bug619534/ILStackAllocRepro.il
+++ b/tests/src/JIT/Methodical/flowgraph/bug619534/ILStackAllocRepro.il
@@ -1,6 +1,12 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+.assembly extern System.Console
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
+ .ver 4:0:0:0
+}
+
.assembly ILStackAllocRepro {}
.assembly extern mscorlib{auto}
@@ -20,7 +26,7 @@
IL_0003: stsfld int32* Foo::buffer
IL_0008: ldsfld int32* Foo::buffer
IL_000d: ldind.i4
- IL_000e: call void [mscorlib]System.Console::WriteLine(int32)
+ IL_000e: call void [System.Console]System.Console::WriteLine(int32)
ldc.i4 100
IL_0013: ret
} // end of method Foo::Main
diff --git a/tests/src/JIT/Methodical/flowgraph/dev10_bug642944/GCMaskForGSCookie.il b/tests/src/JIT/Methodical/flowgraph/dev10_bug642944/GCMaskForGSCookie.il
index bac9dc42a8..6874848536 100644
--- a/tests/src/JIT/Methodical/flowgraph/dev10_bug642944/GCMaskForGSCookie.il
+++ b/tests/src/JIT/Methodical/flowgraph/dev10_bug642944/GCMaskForGSCookie.il
@@ -1,6 +1,12 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+.assembly extern System.Console
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
+ .ver 4:0:0:0
+}
+
// Metadata version: v4.0.x86chk
.assembly extern mscorlib
{
@@ -25,7 +31,7 @@
.maxstack 8
IL_0000: ldstr "In JumpCallTarget, this={0}"
IL_0005: ldarg.0
- IL_0006: call void [mscorlib]System.Console::WriteLine(string,
+ IL_0006: call void [System.Console]System.Console::WriteLine(string,
object)
IL_000b: ldstr "JumpCall"
IL_0010: ret
@@ -52,7 +58,7 @@
IL_0007: callvirt instance string JumpBug::BugRepro()
IL_000c: stloc.1
IL_000d: ldloc.1
- IL_000e: call void [mscorlib]System.Console::WriteLine(string)
+ IL_000e: call void [System.Console]System.Console::WriteLine(string)
ldc.i4 100
IL_0013: ret
} // end of method JumpBug::Main