Mercurial > hg > truffle
comparison src/cpu/zero/vm/methodHandles_zero.hpp @ 3847:a3142bdb6707
7071823: Zero: zero/shark doesn't build after b147-fcs
Reviewed-by: gbenson, twisti
Contributed-by: Chris Phillips <chphilli@redhat.com>
author | twisti |
---|---|
date | Mon, 08 Aug 2011 05:49:04 -0700 |
parents | |
children | 15d394228cfa |
comparison
equal
deleted
inserted
replaced
3846:4aa5974a06dd | 3847:a3142bdb6707 |
---|---|
1 /* | |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. | |
3 * Copyright 2011 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 | |
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 * version 2 for more details (a copy is included in the LICENSE file that | |
14 * accompanied this code). | |
15 * | |
16 * You should have received a copy of the GNU General Public License version | |
17 * 2 along with this work; if not, write to the Free Software Foundation, | |
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 | |
27 // Adapters | |
28 enum /* platform_dependent_constants */ { | |
29 adapter_code_size = 0 | |
30 }; | |
31 | |
32 #define TARGET_ARCH_NYI_6939861 1 | |
33 // ..#ifdef TARGET_ARCH_NYI_6939861 | |
34 // .. // Here are some backward compatible declarations until the 6939861 ports are updated. | |
35 // .. #define _adapter_flyby (_EK_LIMIT + 10) | |
36 // .. #define _adapter_ricochet (_EK_LIMIT + 11) | |
37 // .. #define _adapter_opt_spread_1 _adapter_opt_spread_1_ref | |
38 // .. #define _adapter_opt_spread_more _adapter_opt_spread_ref | |
39 // .. enum { | |
40 // .. _INSERT_NO_MASK = -1, | |
41 // .. _INSERT_REF_MASK = 0, | |
42 // .. _INSERT_INT_MASK = 1, | |
43 // .. _INSERT_LONG_MASK = 3 | |
44 // .. }; | |
45 // .. static void get_ek_bound_mh_info(EntryKind ek, BasicType& arg_type, int& arg_mask, int& arg_slots) { | |
46 // .. arg_type = ek_bound_mh_arg_type(ek); | |
47 // .. arg_mask = 0; | |
48 // .. arg_slots = type2size[arg_type];; | |
49 // .. } | |
50 // .. static void get_ek_adapter_opt_swap_rot_info(EntryKind ek, int& swap_bytes, int& rotate) { | |
51 // .. int swap_slots = ek_adapter_opt_swap_slots(ek); | |
52 // .. rotate = ek_adapter_opt_swap_mode(ek); | |
53 // .. swap_bytes = swap_slots * Interpreter::stackElementSize; | |
54 // .. } | |
55 // .. static int get_ek_adapter_opt_spread_info(EntryKind ek) { | |
56 // .. return ek_adapter_opt_spread_count(ek); | |
57 // .. } | |
58 // .. | |
59 // .. static void insert_arg_slots(MacroAssembler* _masm, | |
60 // .. RegisterOrConstant arg_slots, | |
61 // .. int arg_mask, | |
62 // .. Register argslot_reg, | |
63 // .. Register temp_reg, Register temp2_reg, Register temp3_reg = noreg); | |
64 // .. | |
65 // .. static void remove_arg_slots(MacroAssembler* _masm, | |
66 // .. RegisterOrConstant arg_slots, | |
67 // .. Register argslot_reg, | |
68 // .. Register temp_reg, Register temp2_reg, Register temp3_reg = noreg); | |
69 // .. | |
70 // .. static void trace_method_handle(MacroAssembler* _masm, const char* adaptername) PRODUCT_RETURN; | |
71 // ..#endif //TARGET_ARCH_NYI_6939861 |