src/hotspot/cpu/aarch64/c1_FrameMap_aarch64.hpp
changeset 53244 9807daeb47c4
parent 47216 71c04702a3d5
equal deleted inserted replaced
53243:8bea4144b21c 53244:9807daeb47c4
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2014, Red Hat Inc. All rights reserved.
     3  * Copyright (c) 2014, Red Hat Inc. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     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
     7  * under the terms of the GNU General Public License version 2 only, as
    21  * or visit www.oracle.com if you need additional information or have any
    21  * or visit www.oracle.com if you need additional information or have any
    22  * questions.
    22  * questions.
    23  *
    23  *
    24  */
    24  */
    25 
    25 
    26 #ifndef CPU_AARCH64_VM_C1_FRAMEMAP_AARCH64_HPP
    26 #ifndef CPU_AARCH64_C1_FRAMEMAP_AARCH64_HPP
    27 #define CPU_AARCH64_VM_C1_FRAMEMAP_AARCH64_HPP
    27 #define CPU_AARCH64_C1_FRAMEMAP_AARCH64_HPP
    28 
    28 
    29 //  On AArch64 the frame looks as follows:
    29 //  On AArch64 the frame looks as follows:
    30 //
    30 //
    31 //  +-----------------------------+---------+----------------------------------------+----------------+-----------
    31 //  +-----------------------------+---------+----------------------------------------+----------------+-----------
    32 //  | size_arguments-nof_reg_args | 2 words | size_locals-size_arguments+numreg_args | _size_monitors | spilling .
    32 //  | size_arguments-nof_reg_args | 2 words | size_locals-size_arguments+numreg_args | _size_monitors | spilling .
   142 
   142 
   143   static int nof_caller_save_cpu_regs() { return pd_nof_caller_save_cpu_regs_frame_map; }
   143   static int nof_caller_save_cpu_regs() { return pd_nof_caller_save_cpu_regs_frame_map; }
   144   static int last_cpu_reg()             { return pd_last_cpu_reg;  }
   144   static int last_cpu_reg()             { return pd_last_cpu_reg;  }
   145   static int last_byte_reg()            { return pd_last_byte_reg; }
   145   static int last_byte_reg()            { return pd_last_byte_reg; }
   146 
   146 
   147 #endif // CPU_AARCH64_VM_C1_FRAMEMAP_AARCH64_HPP
   147 #endif // CPU_AARCH64_C1_FRAMEMAP_AARCH64_HPP
   148