src/cpu/x86/vm/sharedRuntime_x86_32.cpp

changeset 4251
18fb7da42534
parent 4103
137868b7aa6f
child 4318
cd3d6a6b95d9
     1.1 --- a/src/cpu/x86/vm/sharedRuntime_x86_32.cpp	Thu Oct 04 14:55:57 2012 +0200
     1.2 +++ b/src/cpu/x86/vm/sharedRuntime_x86_32.cpp	Tue Nov 06 15:09:37 2012 -0500
     1.3 @@ -1936,7 +1936,7 @@
     1.4    if (method->is_static() && !is_critical_native) {
     1.5  
     1.6      //  load opp into a register
     1.7 -    __ movoop(oop_handle_reg, JNIHandles::make_local(Klass::cast(method->method_holder())->java_mirror()));
     1.8 +    __ movoop(oop_handle_reg, JNIHandles::make_local(method->method_holder()->java_mirror()));
     1.9  
    1.10      // Now handlize the static class mirror it's known not-null.
    1.11      __ movptr(Address(rsp, klass_offset), oop_handle_reg);

mercurial