< prev index next >

src/hotspot/share/code/compiledMethod.cpp

Print this page

@@ -356,11 +356,11 @@
       has_appendix = false;
       signature = callee->signature();
 
       // If value types are passed as fields, use the extended signature
       // which contains the types of all (oop) fields of the value type.
-      if (callee->has_scalarized_args()) {
+      if (this->is_compiled_by_c2() && callee->has_scalarized_args()) {
         const GrowableArray<SigEntry>* sig = callee->adapter()->get_sig_cc();
         assert(sig != NULL, "sig should never be null");
         signature = SigEntry::create_symbol(sig);
         has_receiver = false; // The extended signature contains the receiver type
       }
< prev index next >