Mercurial > hg > graal-jvmci-8
comparison src/share/vm/shark/sharkNativeWrapper.cpp @ 2376:c7f3d0b4570f
7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
author | never |
---|---|
date | Fri, 18 Mar 2011 16:00:34 -0700 |
parents | f95d63e2154a |
children | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2375:d673ef06fe96 | 2376:c7f3d0b4570f |
---|---|
99 // For static methods, the second argument is the class | 99 // For static methods, the second argument is the class |
100 if (is_static()) { | 100 if (is_static()) { |
101 builder()->CreateStore( | 101 builder()->CreateStore( |
102 builder()->CreateInlineOop( | 102 builder()->CreateInlineOop( |
103 JNIHandles::make_local( | 103 JNIHandles::make_local( |
104 target()->method_holder()->klass_part()->java_mirror())), | 104 target()->method_holder()->java_mirror())), |
105 oop_tmp_slot()); | 105 oop_tmp_slot()); |
106 | 106 |
107 param_types.push_back(box_type); | 107 param_types.push_back(box_type); |
108 param_values.push_back(oop_tmp_slot()); | 108 param_values.push_back(oop_tmp_slot()); |
109 | 109 |