Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
70f344ea
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看板
提交
70f344ea
编写于
4月 15, 2013
作者:
R
roland
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
b5884a6f
06d34fba
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
30 addition
and
5 deletion
+30
-5
src/share/vm/c1/c1_Canonicalizer.cpp
src/share/vm/c1/c1_Canonicalizer.cpp
+2
-0
src/share/vm/c1/c1_Canonicalizer.hpp
src/share/vm/c1/c1_Canonicalizer.hpp
+2
-0
src/share/vm/c1/c1_Instruction.hpp
src/share/vm/c1/c1_Instruction.hpp
+2
-0
src/share/vm/c1/c1_InstructionPrinter.cpp
src/share/vm/c1/c1_InstructionPrinter.cpp
+2
-0
src/share/vm/c1/c1_InstructionPrinter.hpp
src/share/vm/c1/c1_InstructionPrinter.hpp
+2
-0
src/share/vm/c1/c1_LIR.cpp
src/share/vm/c1/c1_LIR.cpp
+4
-0
src/share/vm/c1/c1_LIR.hpp
src/share/vm/c1/c1_LIR.hpp
+4
-1
src/share/vm/c1/c1_LIRGenerator.cpp
src/share/vm/c1/c1_LIRGenerator.cpp
+2
-3
src/share/vm/c1/c1_LIRGenerator.hpp
src/share/vm/c1/c1_LIRGenerator.hpp
+2
-0
src/share/vm/c1/c1_Optimizer.cpp
src/share/vm/c1/c1_Optimizer.cpp
+4
-1
src/share/vm/c1/c1_RangeCheckElimination.hpp
src/share/vm/c1/c1_RangeCheckElimination.hpp
+2
-0
src/share/vm/c1/c1_ValueMap.hpp
src/share/vm/c1/c1_ValueMap.hpp
+2
-0
未找到文件。
src/share/vm/c1/c1_Canonicalizer.cpp
浏览文件 @
70f344ea
...
...
@@ -938,5 +938,7 @@ void Canonicalizer::do_ProfileCall(ProfileCall* x) {}
void
Canonicalizer
::
do_ProfileInvoke
(
ProfileInvoke
*
x
)
{}
void
Canonicalizer
::
do_RuntimeCall
(
RuntimeCall
*
x
)
{}
void
Canonicalizer
::
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
)
{}
#ifdef ASSERT
void
Canonicalizer
::
do_Assert
(
Assert
*
x
)
{}
#endif
void
Canonicalizer
::
do_MemBar
(
MemBar
*
x
)
{}
src/share/vm/c1/c1_Canonicalizer.hpp
浏览文件 @
70f344ea
...
...
@@ -108,7 +108,9 @@ class Canonicalizer: InstructionVisitor {
virtual
void
do_RuntimeCall
(
RuntimeCall
*
x
);
virtual
void
do_MemBar
(
MemBar
*
x
);
virtual
void
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
);
#ifdef ASSERT
virtual
void
do_Assert
(
Assert
*
x
);
#endif
};
#endif // SHARE_VM_C1_C1_CANONICALIZER_HPP
src/share/vm/c1/c1_Instruction.hpp
浏览文件 @
70f344ea
...
...
@@ -111,7 +111,9 @@ class ProfileInvoke;
class
RuntimeCall
;
class
MemBar
;
class
RangeCheckPredicate
;
#ifdef ASSERT
class
Assert
;
#endif
// A Value is a reference to the instruction creating the value
typedef
Instruction
*
Value
;
...
...
src/share/vm/c1/c1_InstructionPrinter.cpp
浏览文件 @
70f344ea
...
...
@@ -871,12 +871,14 @@ void InstructionPrinter::do_RangeCheckPredicate(RangeCheckPredicate* x) {
}
}
#ifdef ASSERT
void
InstructionPrinter
::
do_Assert
(
Assert
*
x
)
{
output
()
->
print
(
"assert "
);
print_value
(
x
->
x
());
output
()
->
print
(
" %s "
,
cond_name
(
x
->
cond
()));
print_value
(
x
->
y
());
}
#endif
void
InstructionPrinter
::
do_UnsafePrefetchWrite
(
UnsafePrefetchWrite
*
x
)
{
print_unsafe_object_op
(
x
,
"UnsafePrefetchWrite"
);
...
...
src/share/vm/c1/c1_InstructionPrinter.hpp
浏览文件 @
70f344ea
...
...
@@ -136,7 +136,9 @@ class InstructionPrinter: public InstructionVisitor {
virtual
void
do_RuntimeCall
(
RuntimeCall
*
x
);
virtual
void
do_MemBar
(
MemBar
*
x
);
virtual
void
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
);
#ifdef ASSERT
virtual
void
do_Assert
(
Assert
*
x
);
#endif
};
#endif // PRODUCT
...
...
src/share/vm/c1/c1_LIR.cpp
浏览文件 @
70f344ea
...
...
@@ -1778,7 +1778,9 @@ const char * LIR_Op::name() const {
// LIR_OpProfileCall
case
lir_profile_call
:
s
=
"profile_call"
;
break
;
// LIR_OpAssert
#ifdef ASSERT
case
lir_assert
:
s
=
"assert"
;
break
;
#endif
case
lir_none
:
ShouldNotReachHere
();
break
;
default:
s
=
"illegal_op"
;
break
;
}
...
...
@@ -2025,12 +2027,14 @@ void LIR_OpLock::print_instr(outputStream* out) const {
out
->
print
(
"[lbl:0x%x]"
,
stub
()
->
entry
());
}
#ifdef ASSERT
void
LIR_OpAssert
::
print_instr
(
outputStream
*
out
)
const
{
print_condition
(
out
,
condition
());
out
->
print
(
" "
);
in_opr1
()
->
print
(
out
);
out
->
print
(
" "
);
in_opr2
()
->
print
(
out
);
out
->
print
(
",
\"
"
);
out
->
print
(
msg
());
out
->
print
(
"
\"
"
);
}
#endif
void
LIR_OpDelay
::
print_instr
(
outputStream
*
out
)
const
{
...
...
src/share/vm/c1/c1_LIR.hpp
浏览文件 @
70f344ea
...
...
@@ -881,8 +881,9 @@ class LIR_OpLock;
class
LIR_OpTypeCheck
;
class
LIR_OpCompareAndSwap
;
class
LIR_OpProfileCall
;
#ifdef ASSERT
class
LIR_OpAssert
;
#endif
// LIR operation codes
enum
LIR_Code
{
...
...
@@ -1139,7 +1140,9 @@ class LIR_Op: public CompilationResourceObj {
virtual
LIR_OpTypeCheck
*
as_OpTypeCheck
()
{
return
NULL
;
}
virtual
LIR_OpCompareAndSwap
*
as_OpCompareAndSwap
()
{
return
NULL
;
}
virtual
LIR_OpProfileCall
*
as_OpProfileCall
()
{
return
NULL
;
}
#ifdef ASSERT
virtual
LIR_OpAssert
*
as_OpAssert
()
{
return
NULL
;
}
#endif
virtual
void
verify
()
const
{}
};
...
...
src/share/vm/c1/c1_LIRGenerator.cpp
浏览文件 @
70f344ea
...
...
@@ -3103,8 +3103,8 @@ void LIRGenerator::do_RuntimeCall(RuntimeCall* x) {
}
}
void
LIRGenerator
::
do_Assert
(
Assert
*
x
)
{
#ifdef ASSERT
void
LIRGenerator
::
do_Assert
(
Assert
*
x
)
{
ValueTag
tag
=
x
->
x
()
->
type
()
->
tag
();
If
::
Condition
cond
=
x
->
cond
();
...
...
@@ -3124,9 +3124,8 @@ void LIRGenerator::do_Assert(Assert *x) {
LIR_Opr
right
=
yin
->
result
();
__
lir_assert
(
lir_cond
(
x
->
cond
()),
left
,
right
,
x
->
message
(),
true
);
#endif
}
#endif
void
LIRGenerator
::
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
)
{
...
...
src/share/vm/c1/c1_LIRGenerator.hpp
浏览文件 @
70f344ea
...
...
@@ -537,7 +537,9 @@ class LIRGenerator: public InstructionVisitor, public BlockClosure {
virtual
void
do_RuntimeCall
(
RuntimeCall
*
x
);
virtual
void
do_MemBar
(
MemBar
*
x
);
virtual
void
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
);
#ifdef ASSERT
virtual
void
do_Assert
(
Assert
*
x
);
#endif
};
...
...
src/share/vm/c1/c1_Optimizer.cpp
浏览文件 @
70f344ea
...
...
@@ -535,7 +535,9 @@ public:
void
do_RuntimeCall
(
RuntimeCall
*
x
);
void
do_MemBar
(
MemBar
*
x
);
void
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
);
#ifdef ASSERT
void
do_Assert
(
Assert
*
x
);
#endif
};
...
...
@@ -718,8 +720,9 @@ void NullCheckVisitor::do_ProfileInvoke (ProfileInvoke* x) {}
void
NullCheckVisitor
::
do_RuntimeCall
(
RuntimeCall
*
x
)
{}
void
NullCheckVisitor
::
do_MemBar
(
MemBar
*
x
)
{}
void
NullCheckVisitor
::
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
)
{}
#ifdef ASSERT
void
NullCheckVisitor
::
do_Assert
(
Assert
*
x
)
{}
#endif
void
NullCheckEliminator
::
visit
(
Value
*
p
)
{
assert
(
*
p
!=
NULL
,
"should not find NULL instructions"
);
...
...
src/share/vm/c1/c1_RangeCheckElimination.hpp
浏览文件 @
70f344ea
...
...
@@ -166,7 +166,9 @@ public:
void
do_RuntimeCall
(
RuntimeCall
*
x
)
{
/* nothing to do */
};
void
do_MemBar
(
MemBar
*
x
)
{
/* nothing to do */
};
void
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
)
{
/* nothing to do */
};
#ifdef ASSERT
void
do_Assert
(
Assert
*
x
)
{
/* nothing to do */
};
#endif
};
#ifdef ASSERT
...
...
src/share/vm/c1/c1_ValueMap.hpp
浏览文件 @
70f344ea
...
...
@@ -207,7 +207,9 @@ class ValueNumberingVisitor: public InstructionVisitor {
void
do_RuntimeCall
(
RuntimeCall
*
x
)
{
/* nothing to do */
};
void
do_MemBar
(
MemBar
*
x
)
{
/* nothing to do */
};
void
do_RangeCheckPredicate
(
RangeCheckPredicate
*
x
)
{
/* nothing to do */
};
#ifdef ASSERT
void
do_Assert
(
Assert
*
x
)
{
/* nothing to do */
};
#endif
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录