moved allot_markers_offset variable into vm struct
parent
c010afc345
commit
c6d855d494
|
@ -7,6 +7,7 @@ struct factorvm {
|
||||||
/* new objects are allocated here */
|
/* new objects are allocated here */
|
||||||
zone nursery;
|
zone nursery;
|
||||||
|
|
||||||
|
|
||||||
// segments
|
// segments
|
||||||
inline cell align_page(cell a);
|
inline cell align_page(cell a);
|
||||||
|
|
||||||
|
@ -169,6 +170,7 @@ struct factorvm {
|
||||||
|
|
||||||
|
|
||||||
//write barrier
|
//write barrier
|
||||||
|
cell allot_markers_offset;
|
||||||
inline card *addr_to_card(cell a);
|
inline card *addr_to_card(cell a);
|
||||||
inline cell card_to_addr(card *c);
|
inline cell card_to_addr(card *c);
|
||||||
inline cell card_offset(card *c);
|
inline cell card_offset(card *c);
|
||||||
|
|
|
@ -5,7 +5,3 @@ using namespace factor;
|
||||||
cell cards_offset;
|
cell cards_offset;
|
||||||
cell decks_offset;
|
cell decks_offset;
|
||||||
|
|
||||||
namespace factor
|
|
||||||
{
|
|
||||||
cell allot_markers_offset;
|
|
||||||
}
|
|
||||||
|
|
|
@ -29,6 +29,5 @@ static const cell deck_bits = (card_bits + 10);
|
||||||
static const cell deck_size = (1<<deck_bits);
|
static const cell deck_size = (1<<deck_bits);
|
||||||
static const cell addr_deck_mask = (deck_size-1);
|
static const cell addr_deck_mask = (deck_size-1);
|
||||||
static const cell invalid_allot_marker = 0xff;
|
static const cell invalid_allot_marker = 0xff;
|
||||||
extern cell allot_markers_offset;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue