diff --git a/src/hotspot/share/opto/superword.cpp b/src/hotspot/share/opto/superword.cpp index 60a5393775a20..69353a02aacf2 100644 --- a/src/hotspot/share/opto/superword.cpp +++ b/src/hotspot/share/opto/superword.cpp @@ -1029,7 +1029,7 @@ void SuperWord::dependence_graph() { // First, assign a dependence node to each memory node for (int i = 0; i < _body_nodes.length(); i++ ) { - Node *n = _body_nodes.at(i); + Node* n = _body_nodes.at(i); if (n->is_Mem() || n->is_memory_phi()) { _dg.make_node(n); } @@ -3537,9 +3537,9 @@ void SuperWord::align_initial_loop_index(MemNode* align_to_ref) { int v_align = vw / elt_size; assert(v_align > 1, "sanity"); int offset = align_to_ref_p.offset_in_bytes() / elt_size; - Node *offsn = igvn()->intcon(offset); + Node* offsn = igvn()->intcon(offset); - Node *e = offsn; + Node* e = offsn; if (align_to_ref_p.invar() != nullptr) { // incorporate any extra invariant piece producing (offset +/- invar) >>> log2(elt) Node* log2_elt = igvn()->intcon(exact_log2(elt_size)); diff --git a/src/hotspot/share/opto/vectorization.cpp b/src/hotspot/share/opto/vectorization.cpp index cc2f0a8569a17..9d4b50bf1ef77 100644 --- a/src/hotspot/share/opto/vectorization.cpp +++ b/src/hotspot/share/opto/vectorization.cpp @@ -31,7 +31,10 @@ #include "opto/rootnode.hpp" #include "opto/vectorization.hpp" +#ifndef PRODUCT uintx Vectorizer::_vector_loop_debug = 0; +int VPointer::Tracer::_depth = 0; +#endif Vectorizer::Vectorizer(PhaseIdealLoop* phase) : _phase(phase), @@ -177,10 +180,6 @@ void Vectorizer::print_body_nodes() { #endif } -#ifndef PRODUCT -int VPointer::Tracer::_depth = 0; -#endif - VPointer::VPointer(MemNode* mem, PhaseIdealLoop* phase, IdealLoopTree* lpt, Node_Stack* nstack, bool analyze_only) : _mem(mem), _phase(phase), _lpt(lpt),