src/share/vm/c1/c1_GraphBuilder.cpp

Print this page

        

*** 3087,3097 **** // Set up locals for receiver int idx = 0; if (!method()->is_static()) { // we should always see the receiver ! state->store_local(idx, new Local(method()->holder(), objectType, idx)); idx = 1; } // Set up locals for incoming arguments ciSignature* sig = method()->signature(); --- 3087,3097 ---- // Set up locals for receiver int idx = 0; if (!method()->is_static()) { // we should always see the receiver ! state->store_local(idx, new Local(method()->holder(), objectType, idx, true)); idx = 1; } // Set up locals for incoming arguments ciSignature* sig = method()->signature();
*** 3099,3109 **** ciType* type = sig->type_at(i); BasicType basic_type = type->basic_type(); // don't allow T_ARRAY to propagate into locals types if (basic_type == T_ARRAY) basic_type = T_OBJECT; ValueType* vt = as_ValueType(basic_type); ! state->store_local(idx, new Local(type, vt, idx)); idx += type->size(); } // lock synchronized method if (method()->is_synchronized()) { --- 3099,3109 ---- ciType* type = sig->type_at(i); BasicType basic_type = type->basic_type(); // don't allow T_ARRAY to propagate into locals types if (basic_type == T_ARRAY) basic_type = T_OBJECT; ValueType* vt = as_ValueType(basic_type); ! state->store_local(idx, new Local(type, vt, idx, false)); idx += type->size(); } // lock synchronized method if (method()->is_synchronized()) {