src/hotspot/cpu/s390/frame_s390.inline.hpp
changeset 53547 9d1a788dea3d
parent 53244 9807daeb47c4
equal deleted inserted replaced
53546:63eb7e38ce84 53547:9d1a788dea3d
   109 inline intptr_t* frame::id(void) const {
   109 inline intptr_t* frame::id(void) const {
   110   // Use _fp. _sp or _unextended_sp wouldn't be correct due to resizing.
   110   // Use _fp. _sp or _unextended_sp wouldn't be correct due to resizing.
   111   return _fp;
   111   return _fp;
   112 }
   112 }
   113 
   113 
   114 // Return true if this frame is younger (more recent activation) than
       
   115 // the frame represented by id.
       
   116 inline bool frame::is_younger(intptr_t* id) const {
       
   117   assert(this->id() != NULL && id != NULL, "NULL frame id");
       
   118   // Stack grows towards smaller addresses on z/Architecture.
       
   119   return this->id() < id;
       
   120 }
       
   121 
       
   122 // Return true if this frame is older (less recent activation) than
   114 // Return true if this frame is older (less recent activation) than
   123 // the frame represented by id.
   115 // the frame represented by id.
   124 inline bool frame::is_older(intptr_t* id) const {
   116 inline bool frame::is_older(intptr_t* id) const {
   125   assert(this->id() != NULL && id != NULL, "NULL frame id");
   117   assert(this->id() != NULL && id != NULL, "NULL frame id");
   126   // Stack grows towards smaller addresses on z/Architecture.
   118   // Stack grows towards smaller addresses on z/Architecture.