/
settings.h
50 lines (42 loc) · 1.31 KB
/
settings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* settings.h
* Copyright (C) 2001-2004, Parrot Foundation.
* Overview:
* Overall settings for Parrot
* Data Structure and Algorithms:
* History: initial version 2004.08.13
* Notes:
* References:
*/
#ifndef PARROT_SETTINGS_H_GUARD
#define PARROT_SETTINGS_H_GUARD
/*
* GC switches
*/
/* If you are trying to debug GC problems which only occur on large test cases,
* turning on GC_DEBUG should help make the problem appear with smaller data
* samples by reducing various numbers, and causing GC runs to occur more
* frequently. It does significantly reduce performance. */
#ifndef DISABLE_GC_DEBUG
# define DISABLE_GC_DEBUG 0
#endif /* DISABLE_GC_DEBUG */
/* Helpful internal macro for testing whether we are currently
* debugging garbage collection and memory management. */
#if DISABLE_GC_DEBUG
# define GC_DEBUG(interp) 0
#else
# define GC_DEBUG(interp) Interp_flags_TEST((interp), PARROT_GC_DEBUG_FLAG)
#endif /* DISABLE_GC_DEBUG */
/*
* JIT/i386 can use the CGP run core for external functions instead
* of calling the function version of the opcode
*
* This is for some reason currently slower, so it's turned off
*/
#define PARROT_I386_JIT_CGP 0
#endif /* PARROT_SETTINGS_H_GUARD */
/*
* Local variables:
* c-file-style: "parrot"
* End:
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
*/