Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
bbc1443f
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看板
提交
bbc1443f
编写于
6月 05, 2008
作者:
N
never
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6614100: EXCEPTION_ACCESS_VIOLATION while running Eclipse with 1.6.0_05-ea
Reviewed-by: kvn, jrose, rasbold
上级
db5f19e6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
58 deletion
+0
-58
src/share/vm/opto/cfgnode.cpp
src/share/vm/opto/cfgnode.cpp
+0
-58
未找到文件。
src/share/vm/opto/cfgnode.cpp
浏览文件 @
bbc1443f
...
...
@@ -1621,64 +1621,6 @@ Node *PhiNode::Ideal(PhaseGVN *phase, bool can_reshape) {
if
(
opt
!=
NULL
)
return
opt
;
}
if
(
in
(
1
)
!=
NULL
&&
in
(
1
)
->
Opcode
()
==
Op_AddP
&&
can_reshape
)
{
// Try to undo Phi of AddP:
// (Phi (AddP base base y) (AddP base2 base2 y))
// becomes:
// newbase := (Phi base base2)
// (AddP newbase newbase y)
//
// This occurs as a result of unsuccessful split_thru_phi and
// interferes with taking advantage of addressing modes. See the
// clone_shift_expressions code in matcher.cpp
Node
*
addp
=
in
(
1
);
const
Type
*
type
=
addp
->
in
(
AddPNode
::
Base
)
->
bottom_type
();
Node
*
y
=
addp
->
in
(
AddPNode
::
Offset
);
if
(
y
!=
NULL
&&
addp
->
in
(
AddPNode
::
Base
)
==
addp
->
in
(
AddPNode
::
Address
))
{
// make sure that all the inputs are similar to the first one,
// i.e. AddP with base == address and same offset as first AddP
bool
doit
=
true
;
for
(
uint
i
=
2
;
i
<
req
();
i
++
)
{
if
(
in
(
i
)
==
NULL
||
in
(
i
)
->
Opcode
()
!=
Op_AddP
||
in
(
i
)
->
in
(
AddPNode
::
Base
)
!=
in
(
i
)
->
in
(
AddPNode
::
Address
)
||
in
(
i
)
->
in
(
AddPNode
::
Offset
)
!=
y
)
{
doit
=
false
;
break
;
}
// Accumulate type for resulting Phi
type
=
type
->
meet
(
in
(
i
)
->
in
(
AddPNode
::
Base
)
->
bottom_type
());
}
Node
*
base
=
NULL
;
if
(
doit
)
{
// Check for neighboring AddP nodes in a tree.
// If they have a base, use that it.
for
(
DUIterator_Fast
kmax
,
k
=
this
->
fast_outs
(
kmax
);
k
<
kmax
;
k
++
)
{
Node
*
u
=
this
->
fast_out
(
k
);
if
(
u
->
is_AddP
())
{
Node
*
base2
=
u
->
in
(
AddPNode
::
Base
);
if
(
base2
!=
NULL
&&
!
base2
->
is_top
())
{
if
(
base
==
NULL
)
base
=
base2
;
else
if
(
base
!=
base2
)
{
doit
=
false
;
break
;
}
}
}
}
}
if
(
doit
)
{
if
(
base
==
NULL
)
{
base
=
new
(
phase
->
C
,
in
(
0
)
->
req
())
PhiNode
(
in
(
0
),
type
,
NULL
);
for
(
uint
i
=
1
;
i
<
req
();
i
++
)
{
base
->
init_req
(
i
,
in
(
i
)
->
in
(
AddPNode
::
Base
));
}
phase
->
is_IterGVN
()
->
register_new_node_with_optimizer
(
base
);
}
return
new
(
phase
->
C
,
4
)
AddPNode
(
base
,
base
,
y
);
}
}
}
// Split phis through memory merges, so that the memory merges will go away.
// Piggy-back this transformation on the search for a unique input....
// It will be as if the merged memory is the unique value of the phi.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录