src/hotspot/share/runtime/frame.inline.hpp
changeset 49480 d7df2dd501ce
parent 47687 fb290fd1f9d4
child 53244 9807daeb47c4
equal deleted inserted replaced
49479:5865398439d4 49480:d7df2dd501ce
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, 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.
    61     int sp_offset_in_bytes = reg->reg2stack() * VMRegImpl::stack_slot_size;
    61     int sp_offset_in_bytes = reg->reg2stack() * VMRegImpl::stack_slot_size;
    62     return (oop*)(((address)unextended_sp()) + sp_offset_in_bytes);
    62     return (oop*)(((address)unextended_sp()) + sp_offset_in_bytes);
    63   }
    63   }
    64 }
    64 }
    65 
    65 
       
    66 inline bool StackFrameStream::is_done() {
       
    67   return (_is_done) ? true : (_is_done = _fr.is_first_frame(), false);
       
    68 }
       
    69 
    66 #endif // SHARE_VM_RUNTIME_FRAME_INLINE_HPP
    70 #endif // SHARE_VM_RUNTIME_FRAME_INLINE_HPP