src/share/vm/interpreter/bytecodeInterpreter.inline.hpp

Sun, 25 Sep 2011 16:03:29 -0700

author
never
date
Sun, 25 Sep 2011 16:03:29 -0700
changeset 3156
f08d439fab8c
parent 2708
1d1603768966
child 6876
710a3c8b516e
permissions
-rw-r--r--

7089790: integrate bsd-port changes
Reviewed-by: kvn, twisti, jrose
Contributed-by: Kurt Miller <kurt@intricatesoftware.com>, Greg Lewis <glewis@eyesbeyond.com>, Jung-uk Kim <jkim@freebsd.org>, Christos Zoulas <christos@zoulas.com>, Landon Fuller <landonf@plausible.coop>, The FreeBSD Foundation <board@freebsdfoundation.org>, Michael Franz <mvfranz@gmail.com>, Roger Hoover <rhoover@apple.com>, Alexander Strange <astrange@apple.com>

duke@435 1 /*
trims@2708 2 * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
duke@435 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@435 4 *
duke@435 5 * This code is free software; you can redistribute it and/or modify it
duke@435 6 * under the terms of the GNU General Public License version 2 only, as
duke@435 7 * published by the Free Software Foundation.
duke@435 8 *
duke@435 9 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@435 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@435 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@435 12 * version 2 for more details (a copy is included in the LICENSE file that
duke@435 13 * accompanied this code).
duke@435 14 *
duke@435 15 * You should have received a copy of the GNU General Public License version
duke@435 16 * 2 along with this work; if not, write to the Free Software Foundation,
duke@435 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@435 18 *
trims@1907 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1907 20 * or visit www.oracle.com if you need additional information or have any
trims@1907 21 * questions.
duke@435 22 *
duke@435 23 */
duke@435 24
stefank@2314 25 #ifndef SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_INLINE_HPP
stefank@2314 26 #define SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_INLINE_HPP
stefank@2314 27
stefank@2314 28 #include "interpreter/bytecodeInterpreter.hpp"
stefank@2314 29 #include "runtime/stubRoutines.hpp"
stefank@2314 30
twisti@1040 31 // This file holds platform-independent bodies of inline functions for the C++ based interpreter
duke@435 32
duke@435 33 #ifdef CC_INTERP
duke@435 34
duke@435 35 #ifdef ASSERT
bobv@2036 36 #define VERIFY_OOP(o_) \
bobv@2036 37 if (VerifyOops) { \
bobv@2036 38 assert((oop(o_))->is_oop_or_null(), "Not an oop!"); \
bobv@2036 39 StubRoutines::_verify_oop_count++; \
bobv@2036 40 }
duke@435 41 #else
duke@435 42 #define VERIFY_OOP(o)
duke@435 43 #endif
duke@435 44
duke@435 45 // Platform dependent data manipulation
stefank@2314 46 #ifdef TARGET_ARCH_x86
stefank@2314 47 # include "bytecodeInterpreter_x86.inline.hpp"
stefank@2314 48 #endif
stefank@2314 49 #ifdef TARGET_ARCH_sparc
stefank@2314 50 # include "bytecodeInterpreter_sparc.inline.hpp"
stefank@2314 51 #endif
stefank@2314 52 #ifdef TARGET_ARCH_zero
stefank@2314 53 # include "bytecodeInterpreter_zero.inline.hpp"
stefank@2314 54 #endif
bobv@2508 55 #ifdef TARGET_ARCH_arm
bobv@2508 56 # include "bytecodeInterpreter_arm.inline.hpp"
bobv@2508 57 #endif
bobv@2508 58 #ifdef TARGET_ARCH_ppc
bobv@2508 59 # include "bytecodeInterpreter_ppc.inline.hpp"
bobv@2508 60 #endif
stefank@2314 61
duke@435 62 #endif // CC_INTERP
stefank@2314 63
stefank@2314 64 #endif // SHARE_VM_INTERPRETER_BYTECODEINTERPRETER_INLINE_HPP

mercurial