src/cpu/mips/vm/jni_mips.h

Tue, 31 May 2016 00:22:06 -0400

author
aoqi
date
Tue, 31 May 2016 00:22:06 -0400
changeset 16
3cedde979d75
parent 1
2d8a650513c2
child 424
9e7d5da78a5b
permissions
-rw-r--r--

[Code Reorganization] load_two_bytes_from_at_bcp -> get_2_byte_integer_at_bcp
remove useless MacroAssembler::store_two_byts_to_at_bcp
change MacroAssembler::load_two_bytes_from_at_bcp to InterpreterMacroAssembler::get_2_byte_integer_at_bcp
change MacroAssembler::get_4_byte_integer_at_bcp to InterpreterMacroAssembler::get_4_byte_integer_at_bcp

aoqi@1 1 /*
aoqi@1 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
aoqi@1 3 * Copyright (c) 2015, 2016, Loongson Technology. All rights reserved.
aoqi@1 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
aoqi@1 5 *
aoqi@1 6 * This code is free software; you can redistribute it and/or modify it
aoqi@1 7 * under the terms of the GNU General Public License version 2 only, as
aoqi@1 8 * published by the Free Software Foundation. Oracle designates this
aoqi@1 9 * particular file as subject to the "Classpath" exception as provided
aoqi@1 10 * by Oracle in the LICENSE file that accompanied this code.
aoqi@1 11 *
aoqi@1 12 * This code is distributed in the hope that it will be useful, but WITHOUT
aoqi@1 13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
aoqi@1 14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
aoqi@1 15 * version 2 for more details (a copy is included in the LICENSE file that
aoqi@1 16 * accompanied this code).
aoqi@1 17 *
aoqi@1 18 * You should have received a copy of the GNU General Public License version
aoqi@1 19 * 2 along with this work; if not, write to the Free Software Foundation,
aoqi@1 20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
aoqi@1 21 *
aoqi@1 22 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
aoqi@1 23 * or visit www.oracle.com if you need additional information or have any
aoqi@1 24 * questions.
aoqi@1 25 */
aoqi@1 26
aoqi@1 27 #ifndef _JAVASOFT_JNI_MD_H_
aoqi@1 28 #define _JAVASOFT_JNI_MD_H_
aoqi@1 29 #define JNICALL
aoqi@1 30
aoqi@1 31 #if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2)
aoqi@1 32 #define JNIEXPORT __attribute__((visibility("default")))
aoqi@1 33 #define JNIIMPORT __attribute__((visibility("default")))
aoqi@1 34 #else
aoqi@1 35 #define JNIEXPORT
aoqi@1 36 #define JNIIMPORT
aoqi@1 37 #endif
aoqi@1 38
aoqi@1 39 typedef int jint;
aoqi@1 40 typedef long long jlong;
aoqi@1 41 typedef unsigned long long ujlong;
aoqi@1 42 typedef signed char jbyte;
aoqi@1 43 #endif

mercurial