Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
57272a26
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
57272a26
编写于
3月 30, 2018
作者:
J
Julien Couvreur
提交者:
GitHub
3月 30, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix stackalloc test broken in merge (#25854)
上级
4394d070
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
73 addition
and
80 deletion
+73
-80
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenStackAllocInitializerTests.cs
...rp/Test/Emit/CodeGen/CodeGenStackAllocInitializerTests.cs
+73
-80
未找到文件。
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenStackAllocInitializerTests.cs
浏览文件 @
57272a26
...
...
@@ -133,88 +133,81 @@ class Test
CompileAndVerify
(
comp
,
verify
:
Verification
.
Fails
).
VerifyIL
(
"Test.M<T>(T)"
,
@"{
// Code size 1
75 (0xaf
)
// Code size 1
69 (0xa9
)
.maxstack 4
.locals init (int V_0)
IL_0000: ldc.i4.3
IL_0001: stloc.0
IL_0002: ldloc.0
IL_0003: conv.u
IL_0004: sizeof ""T""
IL_000a: mul.ovf.un
IL_000b: localloc
IL_000d: dup
IL_000e: ldarg.1
IL_000f: stobj ""T""
IL_0014: dup
IL_0015: sizeof ""T""
IL_001b: add
IL_001c: ldarg.1
IL_001d: stobj ""T""
IL_0022: dup
IL_0023: ldc.i4.2
IL_0024: conv.i
IL_0025: sizeof ""T""
IL_002b: mul
IL_002c: add
IL_002d: ldarg.1
IL_002e: stobj ""T""
IL_0033: ldloc.0
IL_0034: newobj ""System.Span<T>..ctor(void*, int)""
IL_0039: pop
IL_003a: ldc.i4.3
IL_003b: stloc.0
IL_003c: ldloc.0
IL_003d: conv.u
IL_003e: sizeof ""T""
IL_0044: mul.ovf.un
IL_0045: localloc
IL_0047: dup
IL_0048: ldarg.1
IL_0049: stobj ""T""
IL_004e: dup
IL_004f: sizeof ""T""
IL_0055: add
IL_0056: ldarg.1
IL_0057: stobj ""T""
IL_005c: dup
IL_005d: ldc.i4.2
IL_005e: conv.i
IL_005f: sizeof ""T""
IL_0065: mul
IL_0066: add
IL_0067: ldarg.1
IL_0068: stobj ""T""
IL_006d: ldloc.0
IL_006e: newobj ""System.Span<T>..ctor(void*, int)""
IL_0073: pop
IL_0074: ldc.i4.3
IL_0075: stloc.0
IL_0076: ldloc.0
IL_0077: conv.u
IL_0078: sizeof ""T""
IL_007e: mul.ovf.un
IL_007f: localloc
IL_0081: dup
IL_0082: ldarg.1
IL_0083: stobj ""T""
IL_0088: dup
IL_0089: sizeof ""T""
IL_008f: add
IL_0090: ldarg.1
IL_0091: stobj ""T""
IL_0096: dup
IL_0097: ldc.i4.2
IL_0098: conv.i
IL_0099: sizeof ""T""
IL_009f: mul
IL_00a0: add
IL_00a1: ldarg.1
IL_00a2: stobj ""T""
IL_00a7: ldloc.0
IL_00a8: newobj ""System.Span<T>..ctor(void*, int)""
IL_00ad: pop
IL_00ae: ret
IL_0001: conv.u
IL_0002: sizeof ""T""
IL_0008: mul.ovf.un
IL_0009: localloc
IL_000b: dup
IL_000c: ldarg.1
IL_000d: stobj ""T""
IL_0012: dup
IL_0013: sizeof ""T""
IL_0019: add
IL_001a: ldarg.1
IL_001b: stobj ""T""
IL_0020: dup
IL_0021: ldc.i4.2
IL_0022: conv.i
IL_0023: sizeof ""T""
IL_0029: mul
IL_002a: add
IL_002b: ldarg.1
IL_002c: stobj ""T""
IL_0031: ldc.i4.3
IL_0032: newobj ""System.Span<T>..ctor(void*, int)""
IL_0037: pop
IL_0038: ldc.i4.3
IL_0039: conv.u
IL_003a: sizeof ""T""
IL_0040: mul.ovf.un
IL_0041: localloc
IL_0043: dup
IL_0044: ldarg.1
IL_0045: stobj ""T""
IL_004a: dup
IL_004b: sizeof ""T""
IL_0051: add
IL_0052: ldarg.1
IL_0053: stobj ""T""
IL_0058: dup
IL_0059: ldc.i4.2
IL_005a: conv.i
IL_005b: sizeof ""T""
IL_0061: mul
IL_0062: add
IL_0063: ldarg.1
IL_0064: stobj ""T""
IL_0069: ldc.i4.3
IL_006a: newobj ""System.Span<T>..ctor(void*, int)""
IL_006f: pop
IL_0070: ldc.i4.3
IL_0071: conv.u
IL_0072: sizeof ""T""
IL_0078: mul.ovf.un
IL_0079: localloc
IL_007b: dup
IL_007c: ldarg.1
IL_007d: stobj ""T""
IL_0082: dup
IL_0083: sizeof ""T""
IL_0089: add
IL_008a: ldarg.1
IL_008b: stobj ""T""
IL_0090: dup
IL_0091: ldc.i4.2
IL_0092: conv.i
IL_0093: sizeof ""T""
IL_0099: mul
IL_009a: add
IL_009b: ldarg.1
IL_009c: stobj ""T""
IL_00a1: ldc.i4.3
IL_00a2: newobj ""System.Span<T>..ctor(void*, int)""
IL_00a7: pop
IL_00a8: ret
}"
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录