comparison src/cpu/sparc/vm/frame_sparc.inline.hpp @ 4806:eaa9557116a2

7120448: Fix FP values for compiled frames in frame::describe Summary: fix for debug method frame::describe Reviewed-by: never, kvn
author bdelsart
date Wed, 18 Jan 2012 16:18:31 +0100
parents f95d63e2154a
children da91efe96a93
comparison
equal deleted inserted replaced
4792:89d0a5d40008 4806:eaa9557116a2
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 }