1.1 --- a/src/share/vm/c1/c1_GraphBuilder.cpp Sat Apr 02 10:54:15 2011 -0700 1.2 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Sun Apr 03 12:00:54 2011 +0200 1.3 @@ -2824,7 +2824,7 @@ 1.4 int idx = 0; 1.5 if (!method()->is_static()) { 1.6 // we should always see the receiver 1.7 - state->store_local(idx, new Local(objectType, idx)); 1.8 + state->store_local(idx, new Local(method()->holder(), objectType, idx)); 1.9 idx = 1; 1.10 } 1.11 1.12 @@ -2836,7 +2836,7 @@ 1.13 // don't allow T_ARRAY to propagate into locals types 1.14 if (basic_type == T_ARRAY) basic_type = T_OBJECT; 1.15 ValueType* vt = as_ValueType(basic_type); 1.16 - state->store_local(idx, new Local(vt, idx)); 1.17 + state->store_local(idx, new Local(type, vt, idx)); 1.18 idx += type->size(); 1.19 } 1.20