Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/graalCodeInstaller_sparc.cpp @ 18222:a8cff27ca2e1
converted HotSpotResolvedJavaMethod to an interface
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 03 Nov 2014 16:08:06 +0100 |
parents | c2270ad35f57 |
children | f7d45e2426d4 |
comparison
equal
deleted
inserted
replaced
18221:2c68474cc893 | 18222:a8cff27ca2e1 |
---|---|
90 | 90 |
91 void CodeInstaller::pd_relocate_JavaMethod(oop hotspot_method, jint pc_offset) { | 91 void CodeInstaller::pd_relocate_JavaMethod(oop hotspot_method, jint pc_offset) { |
92 #ifdef ASSERT | 92 #ifdef ASSERT |
93 Method* method = NULL; | 93 Method* method = NULL; |
94 // we need to check, this might also be an unresolved method | 94 // we need to check, this might also be an unresolved method |
95 if (hotspot_method->is_a(HotSpotResolvedJavaMethod::klass())) { | 95 if (hotspot_method->is_a(HotSpotResolvedJavaMethodImpl::klass())) { |
96 method = getMethodFromHotSpotMethod(hotspot_method); | 96 method = getMethodFromHotSpotMethod(hotspot_method); |
97 } | 97 } |
98 #endif | 98 #endif |
99 switch (_next_call_type) { | 99 switch (_next_call_type) { |
100 case INLINE_INVOKE: | 100 case INLINE_INVOKE: |