178 } 179 #endif 180 181 public: 182 // Constructors 183 184 frame(intptr_t* sp, intptr_t* fp, address pc); 185 186 frame(intptr_t* sp, intptr_t* unextended_sp, intptr_t* fp, address pc); 187 188 frame(intptr_t* sp, intptr_t* fp); 189 190 void init(intptr_t* sp, intptr_t* fp, address pc); 191 192 // accessors for the instance variables 193 // Note: not necessarily the real 'frame pointer' (see real_fp) 194 intptr_t* fp() const { return _fp; } 195 196 inline address* sender_pc_addr() const; 197 198 // return address of param, zero origin index. 199 inline address* native_param_addr(int idx) const; 200 201 // expression stack tos if we are nested in a java call 202 intptr_t* interpreter_frame_last_sp() const; 203 204 // helper to update a map with callee-saved RBP 205 static void update_map_with_saved_link(RegisterMap* map, intptr_t** link_addr); 206 207 #ifndef CC_INTERP 208 // deoptimization support 209 void interpreter_frame_set_last_sp(intptr_t* sp); 210 #endif // CC_INTERP 211 212 #ifdef CC_INTERP 213 inline interpreterState get_interpreterState() const; 214 #endif // CC_INTERP 215 216 #endif // CPU_X86_VM_FRAME_X86_HPP | 178 } 179 #endif 180 181 public: 182 // Constructors 183 184 frame(intptr_t* sp, intptr_t* fp, address pc); 185 186 frame(intptr_t* sp, intptr_t* unextended_sp, intptr_t* fp, address pc); 187 188 frame(intptr_t* sp, intptr_t* fp); 189 190 void init(intptr_t* sp, intptr_t* fp, address pc); 191 192 // accessors for the instance variables 193 // Note: not necessarily the real 'frame pointer' (see real_fp) 194 intptr_t* fp() const { return _fp; } 195 196 inline address* sender_pc_addr() const; 197 198 // expression stack tos if we are nested in a java call 199 intptr_t* interpreter_frame_last_sp() const; 200 201 // helper to update a map with callee-saved RBP 202 static void update_map_with_saved_link(RegisterMap* map, intptr_t** link_addr); 203 204 #ifndef CC_INTERP 205 // deoptimization support 206 void interpreter_frame_set_last_sp(intptr_t* sp); 207 #endif // CC_INTERP 208 209 #ifdef CC_INTERP 210 inline interpreterState get_interpreterState() const; 211 #endif // CC_INTERP 212 213 #endif // CPU_X86_VM_FRAME_X86_HPP |