This commit is contained in:
Tom Rodriguez 2010-08-09 17:51:56 -07:00
commit 68ff9b2b00
31 changed files with 245 additions and 124 deletions

View file

@ -446,6 +446,11 @@ public:
void set_stack_size(size_t size) { _stack_size = size; }
void record_stack_base_and_size();
bool on_local_stack(address adr) const {
/* QQQ this has knowledge of direction, ought to be a stack method */
return (_stack_base >= adr && adr >= (_stack_base - _stack_size));
}
int lgrp_id() const { return _lgrp_id; }
void set_lgrp_id(int value) { _lgrp_id = value; }