From 9008a021104fb99a2250e71402c9bf3ba7e10da8 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 2 Aug 2018 14:26:20 +0100 Subject: [PATCH] Use mps_class_mvff_debug. Copied from Perforce Change: 194866 --- mps/test/function/161.c | 2 +- mps/test/function/162.c | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mps/test/function/161.c b/mps/test/function/161.c index 307bfdf399b..64724aea4a0 100644 --- a/mps/test/function/161.c +++ b/mps/test/function/161.c @@ -34,7 +34,7 @@ static void test(void) MPS_ARGS_BEGIN(args) { MPS_ARGS_ADD(args, MPS_KEY_POOL_DEBUG_OPTIONS, &debugOpts); - die(mps_pool_create(&pool, arena, mps_class_mv_debug(), args), + die(mps_pool_create_k(&pool, arena, mps_class_mvff_debug(), args), "create MVFF pool"); } MPS_ARGS_END(args); diff --git a/mps/test/function/162.c b/mps/test/function/162.c index d6485ce779c..7d5179fb659 100644 --- a/mps/test/function/162.c +++ b/mps/test/function/162.c @@ -31,16 +31,17 @@ static void test(void) { MPS_ARGS_BEGIN(args) { MPS_ARGS_ADD(args, MPS_KEY_POOL_DEBUG_OPTIONS, &debugOpts); - die(mps_pool_create_k(&pool, arena, mps_class_mv_debug(), args), + MPS_ARGS_ADD(args, MPS_KEY_ALIGN, 8); + die(mps_pool_create_k(&pool, arena, mps_class_mvff_debug(), args), "create MVFF pool"); } MPS_ARGS_END(args); - die(mps_alloc(&a, pool, 63), "alloc a"); + die(mps_alloc(&a, pool, 64), "alloc a"); c = a; - c += 63; + c += 64; *c = 0; - mps_free(pool, a, 63); + mps_free(pool, a, 64); mps_pool_destroy(pool); mps_thread_dereg(thread);