equal
deleted
inserted
replaced
135 // Return unique id for this frame. The id must have a value where we can distinguish |
135 // Return unique id for this frame. The id must have a value where we can distinguish |
136 // identity and younger/older relationship. NULL represents an invalid (incomparable) |
136 // identity and younger/older relationship. NULL represents an invalid (incomparable) |
137 // frame. |
137 // frame. |
138 inline intptr_t* frame::id(void) const { return unextended_sp(); } |
138 inline intptr_t* frame::id(void) const { return unextended_sp(); } |
139 |
139 |
140 // Relationals on frames based |
|
141 // Return true if the frame is younger (more recent activation) than the frame represented by id |
|
142 inline bool frame::is_younger(intptr_t* id) const { assert(this->id() != NULL && id != NULL, "NULL frame id"); |
|
143 return this->id() < id ; } |
|
144 |
|
145 // Return true if the frame is older (less recent activation) than the frame represented by id |
140 // Return true if the frame is older (less recent activation) than the frame represented by id |
146 inline bool frame::is_older(intptr_t* id) const { assert(this->id() != NULL && id != NULL, "NULL frame id"); |
141 inline bool frame::is_older(intptr_t* id) const { assert(this->id() != NULL && id != NULL, "NULL frame id"); |
147 return this->id() > id ; } |
142 return this->id() > id ; } |
148 |
143 |
149 |
144 |