summaryrefslogtreecommitdiff
path: root/kernel/byterun/coq_values.h
blob: a186d62aa6760eae31d7c364a816732a0acdd91d (plain)
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
/***********************************************************************/
/*                                                                     */
/*                           Coq Compiler                              */
/*                                                                     */
/*        Benjamin Gregoire, projets Logical and Cristal               */
/*                        INRIA Rocquencourt                           */
/*                                                                     */
/*                                                                     */
/***********************************************************************/

#ifndef _COQ_VALUES_
#define _COQ_VALUES_

#include "alloc.h"
#include "mlvalues.h"

#define ATOM_FIX_TAG 3
#define ATOM_SWITCH_TAG 4

#define Accu_tag 0
#define Default_tag 0

/* Les blocs accumulate */
#define Is_accu(v) (Is_block(v) && (Tag_val(v) == Accu_tag))

#endif /* _COQ_VALUES_ */