Disable check_cycles_fast for places
svn: r16157
This commit is contained in:
parent
1d95e97c29
commit
090f5eb474
|
@ -862,7 +862,11 @@ print_to_string(Scheme_Object *obj,
|
||||||
cycles = 1;
|
cycles = 1;
|
||||||
else {
|
else {
|
||||||
int fast_checker_counter = 50;
|
int fast_checker_counter = 50;
|
||||||
|
#ifdef MZ_USE_PLACES
|
||||||
|
cycles = -1;
|
||||||
|
#else
|
||||||
cycles = check_cycles_fast(obj, (PrintParams *)¶ms, &fast_checker_counter);
|
cycles = check_cycles_fast(obj, (PrintParams *)¶ms, &fast_checker_counter);
|
||||||
|
#endif
|
||||||
if (cycles == -1) {
|
if (cycles == -1) {
|
||||||
ht = scheme_make_hash_table(SCHEME_hash_ptr);
|
ht = scheme_make_hash_table(SCHEME_hash_ptr);
|
||||||
cycles = check_cycles(obj, write, ht, (PrintParams *)¶ms);
|
cycles = check_cycles(obj, write, ht, (PrintParams *)¶ms);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user