mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 20:50:52 -08:00
Mps master zmess.c, zcoll.c (integ from br/timing): oops, need to (re-)initialise myroot array for each script, before declaring it a root.
Copied from Perforce Change: 167402 ServerID: perforce.ravenbrook.com
This commit is contained in:
commit
e71890f15b
2 changed files with 7 additions and 0 deletions
|
|
@ -513,6 +513,7 @@ static void *testscriptB(void *arg, size_t s)
|
|||
mps_fmt_t fmt;
|
||||
mps_chain_t chain;
|
||||
mps_pool_t amc;
|
||||
int i;
|
||||
mps_root_t root_table;
|
||||
mps_ap_t ap;
|
||||
mps_root_t root_stackreg;
|
||||
|
|
@ -528,6 +529,9 @@ static void *testscriptB(void *arg, size_t s)
|
|||
die(mps_chain_create(&chain, arena, genCOUNT, testChain), "chain_create");
|
||||
die(mps_pool_create(&amc, arena, mps_class_amc(), fmt, chain),
|
||||
"pool_create amc");
|
||||
for(i = 0; i < myrootCOUNT; ++i) {
|
||||
myroot[i] = NULL;
|
||||
}
|
||||
die(mps_root_create_table(&root_table, arena, MPS_RANK_EXACT, (mps_rm_t)0,
|
||||
myroot, (size_t)myrootCOUNT),
|
||||
"root_create");
|
||||
|
|
|
|||
|
|
@ -323,6 +323,9 @@ static void *testscriptB(void *arg, size_t s)
|
|||
die(mps_chain_create(&chain, arena, genCOUNT, testChain), "chain_create");
|
||||
die(mps_pool_create(&amc, arena, mps_class_amc(), fmt, chain),
|
||||
"pool_create amc");
|
||||
for(i = 0; i < myrootCOUNT; ++i) {
|
||||
myroot[i] = NULL;
|
||||
}
|
||||
die(mps_root_create_table(&root_table, arena, MPS_RANK_EXACT, (mps_rm_t)0,
|
||||
myroot, (size_t)myrootCOUNT),
|
||||
"root_create");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue