< prev index next >
src/share/vm/opto/addnode.cpp
Print this page
rev 10589 : [backport] Purge support for ShenandoahConcurrentEvacCodeRoots and ShenandoahBarriersForConst
@@ -687,11 +687,11 @@
const TypeX *tx = t->is_intptr_t();
intptr_t txoffset = Type::OffsetBot;
if (tx->is_con()) { // Left input is an add of a constant?
txoffset = tx->get_con();
}
- return ShenandoahBarrierNode::fix_addp_type(tp->add_offset(txoffset), in(Base));
+ return tp->add_offset(txoffset);
}
//------------------------------Value------------------------------------------
const Type *AddPNode::Value( PhaseTransform *phase ) const {
// Either input is TOP ==> the result is TOP
@@ -707,11 +707,11 @@
// Add 'em
intptr_t p2offset = Type::OffsetBot;
if (p2->is_con()) { // Left input is an add of a constant?
p2offset = p2->get_con();
}
- return ShenandoahBarrierNode::fix_addp_type(p1->add_offset(p2offset), in(Base));
+ return p1->add_offset(p2offset);
}
//------------------------Ideal_base_and_offset--------------------------------
// Split an oop pointer into a base and offset.
// (The offset might be Type::OffsetBot in the case of an array.)
< prev index next >