Mercurial > hg > truffle
comparison src/cpu/x86/vm/frame_x86.inline.hpp @ 4668:3dbcd1013cc8
added flag PrintDeoptimizationDetails
changes so that TraceDeoptimization only prints basic information
added nicer formatting for printing interpreter stack frames
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Tue, 21 Feb 2012 16:05:46 -0800 |
parents | 07c2e7ffd1fc |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
4667:35b2cae45dc5 | 4668:3dbcd1013cc8 |
---|---|
129 inline bool frame::is_older(intptr_t* id) const { assert(this->id() != NULL && id != NULL, "NULL frame id"); | 129 inline bool frame::is_older(intptr_t* id) const { assert(this->id() != NULL && id != NULL, "NULL frame id"); |
130 return this->id() > id ; } | 130 return this->id() > id ; } |
131 | 131 |
132 | 132 |
133 | 133 |
134 inline intptr_t* frame::link() const { return (intptr_t*) *(intptr_t **)addr_at(link_offset); } | 134 inline intptr_t* frame::link() const { return (intptr_t*) *(intptr_t **)addr_at(link_offset); } |
135 inline void frame::set_link(intptr_t* addr) { *(intptr_t **)addr_at(link_offset) = addr; } | 135 inline intptr_t** frame::link_addr() const { return (intptr_t **)addr_at(link_offset); } |
136 inline void frame::set_link(intptr_t* addr) { *(intptr_t **)addr_at(link_offset) = addr; } | |
136 | 137 |
137 | 138 |
138 inline intptr_t* frame::unextended_sp() const { return _unextended_sp; } | 139 inline intptr_t* frame::unextended_sp() const { return _unextended_sp; } |
139 | 140 |
140 // Return address: | 141 // Return address: |
206 | 207 |
207 inline intptr_t* frame::interpreter_frame_last_sp() const { | 208 inline intptr_t* frame::interpreter_frame_last_sp() const { |
208 return *(intptr_t**)addr_at(interpreter_frame_last_sp_offset); | 209 return *(intptr_t**)addr_at(interpreter_frame_last_sp_offset); |
209 } | 210 } |
210 | 211 |
212 inline intptr_t** frame::interpreter_frame_last_sp_addr() const { | |
213 return (intptr_t**)addr_at(interpreter_frame_last_sp_offset); | |
214 } | |
215 | |
211 inline intptr_t* frame::interpreter_frame_bcx_addr() const { | 216 inline intptr_t* frame::interpreter_frame_bcx_addr() const { |
212 return (intptr_t*)addr_at(interpreter_frame_bcx_offset); | 217 return (intptr_t*)addr_at(interpreter_frame_bcx_offset); |
213 } | 218 } |
214 | 219 |
215 | 220 |