comparison src/share/vm/graal/graalVmIds.hpp @ 5747:120820e30baa

added basic high-level interpreter support to HotSpot
author Christian Haeubl <haeubl@ssw.jku.at>
date Tue, 03 Jul 2012 16:56:40 +0200
parents 14a00ee82980
children 5aa05e6f9dee
comparison
equal deleted inserted replaced
5746:17d2c3b72762 5747:120820e30baa
18 * 18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23
24 #ifndef SHARE_VM_GRAAL_GRAAL_VM_IDS_HPP
25 #define SHARE_VM_GRAAL_GRAAL_VM_IDS_HPP
23 26
24 #include "memory/allocation.hpp" 27 #include "memory/allocation.hpp"
25 #include "utilities/growableArray.hpp" 28 #include "utilities/growableArray.hpp"
26 #include "oops/oop.hpp" 29 #include "oops/oop.hpp"
27 #include "runtime/handles.hpp" 30 #include "runtime/handles.hpp"
78 inline jlong VmIds::getBoxedLong(oop obj) { 81 inline jlong VmIds::getBoxedLong(oop obj) {
79 assert(obj->is_oop(true), "cannot unbox null or non-oop"); 82 assert(obj->is_oop(true), "cannot unbox null or non-oop");
80 return obj->long_field(java_lang_boxing_object::value_offset_in_bytes(T_LONG)); 83 return obj->long_field(java_lang_boxing_object::value_offset_in_bytes(T_LONG));
81 } 84 }
82 85
86 #endif // SHARE_VM_GRAAL_GRAAL_VM_IDS_HPP