vtableStubs_zero.cpp revision 1879
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync/*
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * Copyright 2007 Red Hat, Inc.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync *
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * This code is free software; you can redistribute it and/or modify it
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * under the terms of the GNU General Public License version 2 only, as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * published by the Free Software Foundation.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync *
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * This code is distributed in the hope that it will be useful, but WITHOUT
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * version 2 for more details (a copy is included in the LICENSE file that
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * accompanied this code).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync *
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * You should have received a copy of the GNU General Public License version
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * 2 along with this work; if not, write to the Free Software Foundation,
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync *
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * or visit www.oracle.com if you need additional information or have any
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync * questions.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync *
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync */
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "precompiled.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "asm/assembler.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "assembler_zero.inline.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "code/vtableStubs.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "interp_masm_zero.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "memory/resourceArea.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "oops/instanceKlass.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "oops/klassVtable.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "runtime/sharedRuntime.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "vmreg_zero.inline.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#ifdef COMPILER2
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#include "opto/runtime.hpp"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#endif
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncVtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync ShouldNotCallThis();
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync}
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncVtableStub* VtableStubs::create_itable_stub(int vtable_index) {
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync ShouldNotCallThis();
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync}
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncint VtableStub::pd_code_size_limit(bool is_vtable_stub) {
ShouldNotCallThis();
}
int VtableStub::pd_code_alignment() {
ShouldNotCallThis();
}