< prev index next >

src/hotspot/share/jvmci/jvmciCompilerToVM.hpp

Print this page
@@ -159,11 +159,11 @@
  
   private:
    friend class SignatureIterator;  // so do_parameters_on can call do_type
    void do_type(BasicType type) {
      if (is_reference_type(type)) {
-       _jca->push_oop(next_arg(T_OBJECT));
+       (type == T_PRIMITIVE_OBJECT) ? _jca->push_oop(next_arg(T_PRIMITIVE_OBJECT)) : _jca->push_oop(next_arg(T_OBJECT));
        return;
      }
      Handle arg = next_arg(type);
      int box_offset = java_lang_boxing_object::value_offset(type);
      switch (type) {
< prev index next >