src/hotspot/share/code/compiledMethod.cpp
changeset 47687 fb290fd1f9d4
parent 47216 71c04702a3d5
child 48007 ab3959df2115
--- a/src/hotspot/share/code/compiledMethod.cpp	Wed Oct 18 16:06:39 2017 +0200
+++ b/src/hotspot/share/code/compiledMethod.cpp	Sun Oct 15 22:54:03 2017 +0200
@@ -294,7 +294,6 @@
 // Method that knows how to preserve outgoing arguments at call. This method must be
 // called with a frame corresponding to a Java invoke
 void CompiledMethod::preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) {
-#ifndef SHARK
   if (method() != NULL && !method()->is_native()) {
     address pc = fr.pc();
     SimpleScopeDesc ssd(this, pc);
@@ -314,7 +313,6 @@
 
     fr.oops_compiled_arguments_do(signature, has_receiver, has_appendix, reg_map, f);
   }
-#endif // !SHARK
 }
 
 Method* CompiledMethod::attached_method(address call_instr) {