gctest: Avoid use of deprecated GC_dont_gc and GC_stackbottom
authorIvan Maidanski <ivmai@mail.ru>
Wed, 1 Feb 2012 16:49:25 +0000 (20:49 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 1 Feb 2012 16:49:25 +0000 (20:49 +0400)
commitbf828ba79277bca2c8b145f4379a4da0a1b6423e
treead778bdaf15452f793debcf2c49aba461efc4ee3
parentd7894c73cffaf8ce94ab8461b18410cedd1d1a48
gctest: Avoid use of deprecated GC_dont_gc and GC_stackbottom

* tests/test.c (GC_amiga_gctest_malloc_explicitly_typed,
GC_amiga_gctest_calloc_explicitly_typed): Do not unnecessarily check
GC_dont_gc value.
* tests/test.c (check_heap_stats): Get stack base via
GC_get_stack_base() (report error if failed) instead of accessing
GC_stackbottom.
tests/test.c