< prev index next >

src/cpu/sparc/vm/abstractInterpreter_sparc.cpp

Print this page
rev 13183 : 8183232: Avoid resolving method_kind in AbstractInterpreter::can_be_compiled
Reviewed-by: coleenp, mdoerr, neliasso

@@ -50,23 +50,10 @@
   }
   assert(0 <= i && i < AbstractInterpreter::number_of_result_handlers, "index out of bounds");
   return i;
 }
 
-// These should never be compiled since the interpreter will prefer the compiled
-// version to the intrinsic version.
-bool AbstractInterpreter::can_be_compiled(methodHandle m) {
-  switch (method_kind(m)) {
-    case Interpreter::java_lang_math_fmaD:
-    case Interpreter::java_lang_math_fmaF:
-      return false;
-    default:
-      break;
-  }
-  return true;
-}
-
 static int size_activation_helper(int callee_extra_locals, int max_stack, int monitor_size) {
 
   // Figure out the size of an interpreter frame (in words) given that we have a fully allocated
   // expression stack, the callee will have callee_extra_locals (so we can account for
   // frame extension) and monitor_size for monitors. Basically we need to calculate
< prev index next >