提交 6da3b7ee 编写于 作者: A andrew

6884552: remove some unnecessary #ifdef's introduced in the fix for 4957990

Summary: Removed the unnecessary #ifdef's which were interfering with the build of the Zero-assembler port
Reviewed-by: ysr, jcoomes
上级 f4d2063c
...@@ -2752,7 +2752,6 @@ PSParallelCompact::revisit_weak_klass_link(ParCompactionManager* cm, Klass* k) { ...@@ -2752,7 +2752,6 @@ PSParallelCompact::revisit_weak_klass_link(ParCompactionManager* cm, Klass* k) {
cm->revisit_klass_stack()->push(k); cm->revisit_klass_stack()->push(k);
} }
#if ( defined(COMPILER1) || defined(COMPILER2) )
void PSParallelCompact::revisit_mdo(ParCompactionManager* cm, DataLayout* p) { void PSParallelCompact::revisit_mdo(ParCompactionManager* cm, DataLayout* p) {
cm->revisit_mdo_stack()->push(p); cm->revisit_mdo_stack()->push(p);
} }
...@@ -2778,7 +2777,6 @@ void PSParallelCompact::follow_mdo_weak_refs() { ...@@ -2778,7 +2777,6 @@ void PSParallelCompact::follow_mdo_weak_refs() {
follow_stack(cm); follow_stack(cm);
} }
} }
#endif // ( COMPILER1 || COMPILER2 )
#ifdef VALIDATE_MARK_SWEEP #ifdef VALIDATE_MARK_SWEEP
......
...@@ -73,7 +73,6 @@ void MarkSweep::follow_weak_klass_links() { ...@@ -73,7 +73,6 @@ void MarkSweep::follow_weak_klass_links() {
follow_stack(); follow_stack();
} }
#if ( defined(COMPILER1) || defined(COMPILER2) )
void MarkSweep::revisit_mdo(DataLayout* p) { void MarkSweep::revisit_mdo(DataLayout* p) {
_revisit_mdo_stack->push(p); _revisit_mdo_stack->push(p);
} }
...@@ -92,7 +91,6 @@ void MarkSweep::follow_mdo_weak_refs() { ...@@ -92,7 +91,6 @@ void MarkSweep::follow_mdo_weak_refs() {
} }
follow_stack(); follow_stack();
} }
#endif // ( COMPILER1 || COMPILER2 )
MarkSweep::FollowRootClosure MarkSweep::follow_root_closure; MarkSweep::FollowRootClosure MarkSweep::follow_root_closure;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册