mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-22 13:40:44 -08:00
Lifting stack and register area scanner into mps interface to allow generalisation of stack format.
Copied from Perforce Change: 189195 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
9d0ae49fc9
commit
2ad27f73b1
14 changed files with 40 additions and 19 deletions
|
|
@ -352,7 +352,9 @@ Res RootCreateReg(Root *rootReturn, Arena arena,
|
|||
|
||||
Res RootCreateRegMasked(Root *rootReturn, Arena arena,
|
||||
Rank rank, Thread thread,
|
||||
Word mask, Word pattern, Word *stackBot)
|
||||
mps_area_scan_t scan_area,
|
||||
Word mask, Word pattern,
|
||||
Word *stackBot)
|
||||
{
|
||||
union RootUnion theUnion;
|
||||
|
||||
|
|
@ -364,7 +366,7 @@ Res RootCreateRegMasked(Root *rootReturn, Arena arena,
|
|||
AVER((~mask & pattern) == 0);
|
||||
|
||||
theUnion.regMasked.thread = thread;
|
||||
theUnion.regMasked.scan_area = mps_scan_area_tagged;
|
||||
theUnion.regMasked.scan_area = scan_area;
|
||||
theUnion.regMasked.tag.mask = mask;
|
||||
theUnion.regMasked.tag.pattern = pattern;
|
||||
theUnion.regMasked.stackBot = stackBot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue