Mercurial > hg > truffle
comparison src/cpu/sparc/vm/frame_sparc.inline.hpp @ 4898:d851f3714641
Merge
author | dholmes |
---|---|
date | Wed, 25 Jan 2012 19:26:35 -0500 |
parents | eaa9557116a2 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
4897:1ac084126285 | 4898:d851f3714641 |
---|---|
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 } |