interpreterRT_zero.hpp (1765:a222fcfba398) interpreterRT_zero.hpp (1879:f95d63e2154a)
1/*
1/*
2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2007, 2008 Red Hat, Inc.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation.
9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT

--- 7 unchanged lines hidden (view full) ---

18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
3 * Copyright 2007, 2008 Red Hat, Inc.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation.
9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT

--- 7 unchanged lines hidden (view full) ---

18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26#ifndef CPU_ZERO_VM_INTERPRETERRT_ZERO_HPP
27#define CPU_ZERO_VM_INTERPRETERRT_ZERO_HPP
28
29#include "memory/allocation.hpp"
30
26class SignatureHandler {
27 public:
28 static SignatureHandler *from_handlerAddr(address handlerAddr) {
29 return (SignatureHandler *) handlerAddr;
30 }
31
32 public:
33 ffi_cif* cif() const {

--- 86 unchanged lines hidden (view full) ---

120 *(_dst++) = value;
121 }
122
123 public:
124 SignatureHandler *handler() const {
125 return (SignatureHandler *) cif();
126 }
127};
31class SignatureHandler {
32 public:
33 static SignatureHandler *from_handlerAddr(address handlerAddr) {
34 return (SignatureHandler *) handlerAddr;
35 }
36
37 public:
38 ffi_cif* cif() const {

--- 86 unchanged lines hidden (view full) ---

125 *(_dst++) = value;
126 }
127
128 public:
129 SignatureHandler *handler() const {
130 return (SignatureHandler *) cif();
131 }
132};
133
134#endif // CPU_ZERO_VM_INTERPRETERRT_ZERO_HPP