< prev index next >

src/share/vm/opto/memnode.cpp

Print this page
rev 12121 : [mq]: all_changes.patch

*** 2715,2727 **** return phase->type(in(2))->higher_equal(TypeX::ZERO) ? in(1) : this; } //------------------------------Idealize--------------------------------------- // Clearing a short array is faster with stores ! Node *ClearArrayNode::Ideal(PhaseGVN *phase, bool can_reshape){ // Already know this is a large node, do not try to ideal it ! if (_is_large) return NULL; const int unit = BytesPerLong; const TypeX* t = phase->type(in(2))->isa_intptr_t(); if (!t) return NULL; if (!t->is_con()) return NULL; --- 2715,2727 ---- return phase->type(in(2))->higher_equal(TypeX::ZERO) ? in(1) : this; } //------------------------------Idealize--------------------------------------- // Clearing a short array is faster with stores ! Node *ClearArrayNode::Ideal(PhaseGVN *phase, bool can_reshape) { // Already know this is a large node, do not try to ideal it ! if (!IdealizeClearArrayNode || _is_large) return NULL; const int unit = BytesPerLong; const TypeX* t = phase->type(in(2))->isa_intptr_t(); if (!t) return NULL; if (!t->is_con()) return NULL;
< prev index next >