77 nof_fpu_regs_reg_alloc = pd_nof_fpu_regs_reg_alloc,
78
79 max_nof_caller_save_cpu_regs = pd_nof_caller_save_cpu_regs_frame_map,
80 nof_caller_save_fpu_regs = pd_nof_caller_save_fpu_regs_frame_map,
81
82 spill_slot_size_in_bytes = 4
83 };
84
85 #ifdef TARGET_ARCH_x86
86 # include "c1_FrameMap_x86.hpp"
87 #endif
88 #ifdef TARGET_ARCH_sparc
89 # include "c1_FrameMap_sparc.hpp"
90 #endif
91 #ifdef TARGET_ARCH_arm
92 # include "c1_FrameMap_arm.hpp"
93 #endif
94 #ifdef TARGET_ARCH_ppc
95 # include "c1_FrameMap_ppc.hpp"
96 #endif
97
98
99 friend class LIR_OprDesc;
100
101 private:
102 static bool _init_done;
103 static Register _cpu_rnr2reg [nof_cpu_regs];
104 static int _cpu_reg2rnr [nof_cpu_regs];
105
106 static LIR_Opr _caller_save_cpu_regs [max_nof_caller_save_cpu_regs];
107 static LIR_Opr _caller_save_fpu_regs [nof_caller_save_fpu_regs];
108
109 int _framesize;
110 int _argcount;
111 int _num_monitors;
112 int _num_spills;
113 int _reserved_argument_area_size;
114 int _oop_map_arg_count;
115
116 CallingConvention* _incoming_arguments;
|
77 nof_fpu_regs_reg_alloc = pd_nof_fpu_regs_reg_alloc,
78
79 max_nof_caller_save_cpu_regs = pd_nof_caller_save_cpu_regs_frame_map,
80 nof_caller_save_fpu_regs = pd_nof_caller_save_fpu_regs_frame_map,
81
82 spill_slot_size_in_bytes = 4
83 };
84
85 #ifdef TARGET_ARCH_x86
86 # include "c1_FrameMap_x86.hpp"
87 #endif
88 #ifdef TARGET_ARCH_sparc
89 # include "c1_FrameMap_sparc.hpp"
90 #endif
91 #ifdef TARGET_ARCH_arm
92 # include "c1_FrameMap_arm.hpp"
93 #endif
94 #ifdef TARGET_ARCH_ppc
95 # include "c1_FrameMap_ppc.hpp"
96 #endif
97 #ifdef TARGET_ARCH_aarch64
98 # include "c1_FrameMap_aarch64.hpp"
99 #endif
100
101
102 friend class LIR_OprDesc;
103
104 private:
105 static bool _init_done;
106 static Register _cpu_rnr2reg [nof_cpu_regs];
107 static int _cpu_reg2rnr [nof_cpu_regs];
108
109 static LIR_Opr _caller_save_cpu_regs [max_nof_caller_save_cpu_regs];
110 static LIR_Opr _caller_save_fpu_regs [nof_caller_save_fpu_regs];
111
112 int _framesize;
113 int _argcount;
114 int _num_monitors;
115 int _num_spills;
116 int _reserved_argument_area_size;
117 int _oop_map_arg_count;
118
119 CallingConvention* _incoming_arguments;
|