2672N/A/*
4155N/A * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
4155N/A * Copyright (c) 2011, 2013, Red Hat, Inc.
2672N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2672N/A *
2672N/A * This code is free software; you can redistribute it and/or modify it
2672N/A * under the terms of the GNU General Public License version 2 only, as
2672N/A * published by the Free Software Foundation.
2672N/A *
2672N/A * This code is distributed in the hope that it will be useful, but WITHOUT
2672N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2672N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2672N/A * version 2 for more details (a copy is included in the LICENSE file that
2672N/A * accompanied this code).
2672N/A *
2672N/A * You should have received a copy of the GNU General Public License version
2672N/A * 2 along with this work; if not, write to the Free Software Foundation,
2672N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2672N/A *
2672N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2672N/A * or visit www.oracle.com if you need additional information or have any
2672N/A * questions.
2672N/A *
2672N/A */
2672N/A
2672N/A
2672N/A// Adapters
2672N/Aenum /* platform_dependent_constants */ {
4155N/A adapter_code_size = sizeof(ZeroEntry) * (Interpreter::method_handle_invoke_LAST - Interpreter::method_handle_invoke_FIRST + 1)
2672N/A};
2672N/A
4155N/Aprivate:
4155N/A static oop popFromStack(TRAPS);
4155N/A static void invoke_target(methodOop method, TRAPS);
4155N/A static int method_handle_entry_invokeBasic(methodOop method, intptr_t UNUSED, TRAPS);
4155N/A static int method_handle_entry_linkToStaticOrSpecial(methodOop method, intptr_t UNUSED, TRAPS);
4155N/A static int method_handle_entry_linkToVirtual(methodOop method, intptr_t UNUSED, TRAPS);
4155N/A static int method_handle_entry_linkToInterface(methodOop method, intptr_t UNUSED, TRAPS);
4155N/A static int method_handle_entry_invalid(methodOop method, intptr_t UNUSED, TRAPS);