src/hotspot/cpu/sparc/sharedRuntime_sparc.cpp
changeset 54847 59ea39bb2809
parent 52460 f1bb77833b59
child 57710 05ff6e27de45
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54846:e4049522b074 54847:59ea39bb2809
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  1904     for (int i = 0; i < total_in_args ; i++ ) {
  1904     for (int i = 0; i < total_in_args ; i++ ) {
  1905       if (in_sig_bt[i] == T_ARRAY) {
  1905       if (in_sig_bt[i] == T_ARRAY) {
  1906         // Arrays are passed as int, elem* pair
  1906         // Arrays are passed as int, elem* pair
  1907         out_sig_bt[argc++] = T_INT;
  1907         out_sig_bt[argc++] = T_INT;
  1908         out_sig_bt[argc++] = T_ADDRESS;
  1908         out_sig_bt[argc++] = T_ADDRESS;
  1909         Symbol* atype = ss.as_symbol(CHECK_NULL);
  1909         Symbol* atype = ss.as_symbol();
  1910         const char* at = atype->as_C_string();
  1910         const char* at = atype->as_C_string();
  1911         if (strlen(at) == 2) {
  1911         if (strlen(at) == 2) {
  1912           assert(at[0] == '[', "must be");
  1912           assert(at[0] == '[', "must be");
  1913           switch (at[1]) {
  1913           switch (at[1]) {
  1914             case 'B': in_elem_bt[i]  = T_BYTE; break;
  1914             case 'B': in_elem_bt[i]  = T_BYTE; break;