Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
509b091f
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
509b091f
编写于
1月 30, 2014
作者:
G
goetz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8033168: PPC64: gcc 4.8 warning in output_c.cpp
Summary: fix warnings Reviewed-by: kvn
上级
a541bef6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
src/share/vm/adlc/output_c.cpp
src/share/vm/adlc/output_c.cpp
+8
-8
未找到文件。
src/share/vm/adlc/output_c.cpp
浏览文件 @
509b091f
...
...
@@ -2519,7 +2519,7 @@ void ArchDesc::defineSize(FILE *fp, InstructForm &inst) {
fprintf
(
fp
,
"}
\n\n
"
);
}
// Emit
late
expand function.
// Emit
postalloc
expand function.
void
ArchDesc
::
define_postalloc_expand
(
FILE
*
fp
,
InstructForm
&
inst
)
{
InsEncode
*
ins_encode
=
inst
.
_insencode
;
...
...
@@ -2536,7 +2536,7 @@ void ArchDesc::define_postalloc_expand(FILE *fp, InstructForm &inst) {
// for each parameter <par_name> specified in the encoding.
ins_encode
->
reset
();
const
char
*
ec_name
=
ins_encode
->
encode_class_iter
();
assert
(
ec_name
!=
NULL
,
"
late expand must specify an encoding
"
);
assert
(
ec_name
!=
NULL
,
"
Postalloc expand must specify an encoding.
"
);
EncClass
*
encoding
=
_encode
->
encClass
(
ec_name
);
if
(
encoding
==
NULL
)
{
...
...
@@ -2549,11 +2549,11 @@ void ArchDesc::define_postalloc_expand(FILE *fp, InstructForm &inst) {
ec_name
,
encoding
->
num_args
());
}
fprintf
(
fp
,
" // Access to ins and operands for
late
expand.
\n
"
);
fprintf
(
fp
,
" // Access to ins and operands for
postalloc
expand.
\n
"
);
const
int
buflen
=
2000
;
char
idxbuf
[
buflen
];
char
*
ib
=
idxbuf
;
sprintf
(
ib
,
""
)
;
char
nbuf
[
buflen
];
char
*
nb
=
nbuf
;
sprintf
(
nb
,
""
)
;
char
opbuf
[
buflen
];
char
*
ob
=
opbuf
;
sprintf
(
ob
,
""
)
;
char
idxbuf
[
buflen
];
char
*
ib
=
idxbuf
;
idxbuf
[
0
]
=
'\0'
;
char
nbuf
[
buflen
];
char
*
nb
=
nbuf
;
nbuf
[
0
]
=
'\0'
;
char
opbuf
[
buflen
];
char
*
ob
=
opbuf
;
opbuf
[
0
]
=
'\0'
;
encoding
->
_parameter_type
.
reset
();
encoding
->
_parameter_name
.
reset
();
...
...
@@ -2571,7 +2571,7 @@ void ArchDesc::define_postalloc_expand(FILE *fp, InstructForm &inst) {
// There is no operand for the constanttablebase.
}
else
if
(
inst
.
is_noninput_operand
(
idx
))
{
globalAD
->
syntax_err
(
inst
.
_linenum
,
"In %s: you can not pass the non-input %s to a
late
expand encoding.
\n
"
,
"In %s: you can not pass the non-input %s to a
postalloc
expand encoding.
\n
"
,
inst
.
_ident
,
arg_name
);
}
else
{
ib
+=
sprintf
(
ib
,
" unsigned idx_%-5s = idx%d;
\t
// %s,
\t
%s
\n
"
,
...
...
@@ -2622,7 +2622,7 @@ void ArchDesc::define_postalloc_expand(FILE *fp, InstructForm &inst) {
fprintf
(
fp
,
"}
\n\n
"
);
ec_name
=
ins_encode
->
encode_class_iter
();
assert
(
ec_name
==
NULL
,
"
Late
expand may only have one encoding."
);
assert
(
ec_name
==
NULL
,
"
Postalloc
expand may only have one encoding."
);
}
// defineEmit -----------------------------------------------------------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录