< prev index next >

src/hotspot/cpu/ppc/registerMap_ppc.hpp

Print this page

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_PPC_REGISTERMAP_PPC_HPP
27 #define CPU_PPC_REGISTERMAP_PPC_HPP
28 
29 // machine-dependent implemention for register maps
30   friend class frame;
31 
32  private:
33   // This is the hook for finding a register in an "well-known" location,
34   // such as a register block of a predetermined format.
35   // Since there is none, we just return NULL.
36   address pd_location(VMReg reg) const { return NULL; }
37 
38   address pd_location(VMReg base_reg, int slot_idx) const {
39     return location(base_reg->next(slot_idx));
40   }
41 
42   // no PD state to clear or copy:
43   void pd_clear() {}
44   void pd_initialize() {}
45   void pd_initialize_from(const RegisterMap* map) {}
46 
47 #endif // CPU_PPC_REGISTERMAP_PPC_HPP

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_PPC_REGISTERMAP_PPC_HPP
27 #define CPU_PPC_REGISTERMAP_PPC_HPP
28 
29 // machine-dependent implemention for register maps
30   friend class frame;
31 
32  private:
33   // This is the hook for finding a register in an "well-known" location,
34   // such as a register block of a predetermined format.
35   // Since there is none, we just return NULL.
36   address pd_location(VMReg reg) const { return NULL; }
37 
38   address pd_location(VMReg base_reg, int slot_idx) const {
39     return location(base_reg->next(slot_idx), (intptr_t*)NULL);
40   }
41 
42   // no PD state to clear or copy:
43   void pd_clear() {}
44   void pd_initialize() {}
45   void pd_initialize_from(const RegisterMap* map) {}
46 
47 #endif // CPU_PPC_REGISTERMAP_PPC_HPP
< prev index next >