/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "precompiled.hpp"
#include "ci/ciMethodType.hpp"
#include "ci/ciSignature.hpp"
#include "ci/ciUtilities.hpp"
#include "memory/allocation.inline.hpp"
#include "oops/oop.inline.hpp"
#include "runtime/signature.hpp"
// ciSignature
//
// This class represents the signature of a method.
// ------------------------------------------------------------------
// ciSignature::ciSignature
int size = 0;
int count = 0;
// Process one element of the signature
} else {
if (HAS_PENDING_EXCEPTION) {
} else {
}
}
if (ss.at_return_type()) {
// Done processing the return type; do not add it into the count.
break;
}
count++;
}
}
// ------------------------------------------------------------------
// ciSignature::ciSignature
{
for (int i = 0; i < _count; i++) {
}
}
// ------------------------------------------------------------------
// ciSignature::return_type
//
// What is the return type of this signature?
}
// ------------------------------------------------------------------
// ciSignature::type_at
//
// What is the type of the index'th element of this
// signature?
// The first _klasses element holds the return klass.
}
// ------------------------------------------------------------------
// ciSignature::equals
//
// Compare this signature to another one. Signatures with different
// accessing classes but with signature-types resolved to the same
// types are defined to be equal.
// Compare signature
// Compare all types of the arguments
for (int i = 0; i < _count; i++) {
}
// Compare the return type
return true;
}
// ------------------------------------------------------------------
// ciSignature::print_signature
_symbol->print_symbol();
}
// ------------------------------------------------------------------
// ciSignature::print
}