hotspot/src/cpu/sparc/vm/frame_sparc.inline.hpp
changeset 11486 cdc636532368
parent 7397 5b173b4ca846
child 13728 882756847a04
equal deleted inserted replaced
11460:06e676d0b512 11486:cdc636532368
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    80 inline address* frame::O7_addr() const  { return (address*) &younger_sp()[ I7->sp_offset_in_saved_window()]; }
    80 inline address* frame::O7_addr() const  { return (address*) &younger_sp()[ I7->sp_offset_in_saved_window()]; }
    81 inline address* frame::O0_addr() const  { return (address*) &younger_sp()[ I0->sp_offset_in_saved_window()]; }
    81 inline address* frame::O0_addr() const  { return (address*) &younger_sp()[ I0->sp_offset_in_saved_window()]; }
    82 
    82 
    83 inline intptr_t*    frame::sender_sp() const  { return fp(); }
    83 inline intptr_t*    frame::sender_sp() const  { return fp(); }
    84 
    84 
       
    85 inline intptr_t* frame::real_fp() const { return fp(); }
       
    86 
    85 // Used only in frame::oopmapreg_to_location
    87 // Used only in frame::oopmapreg_to_location
    86 // This return a value in VMRegImpl::slot_size
    88 // This return a value in VMRegImpl::slot_size
    87 inline int frame::pd_oop_map_offset_adjustment() const {
    89 inline int frame::pd_oop_map_offset_adjustment() const {
    88   return _sp_adjustment_by_callee * VMRegImpl::slots_per_word;
    90   return _sp_adjustment_by_callee * VMRegImpl::slots_per_word;
    89 }
    91 }