~ubuntu-branches/ubuntu/wily/parrot/wily-proposed

« back to all changes in this revision

Viewing changes to compilers/imcc/debug.h

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont
  • Date: 2014-04-26 08:41:44 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20140426084144-ycocevtjth7nij5s
Tags: 6.3.0-1
ImportedĀ UpstreamĀ versionĀ 6.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2002-2009, Parrot Foundation.
 
2
 * Copyright (C) 2002-2014, Parrot Foundation.
3
3
 */
4
4
 
5
5
#ifndef PARROT_IMCC_DEBUG_H_GUARD
7
7
 
8
8
 
9
9
#define DEBUG_PARROT 0x0001
 
10
/* unused:
10
11
#define DEBUG_LEXER  0x0002
 
12
*/
11
13
#define DEBUG_PARSER 0x0004
12
14
#define DEBUG_IMC    0x0008
13
15
#define DEBUG_CFG    0x0010
16
18
#define DEBUG_SPILL  0x0080
17
19
 
18
20
#define DEBUG_AST    0x0100
 
21
/* unused:
19
22
#define DEBUG_REG    0x0200
20
23
#define DEBUG_REG2   0x0400
 
24
*/
21
25
 
22
 
#define DEBUG_PBC    0x1000
 
26
#define DEBUG_PBC          0x1000
23
27
#define DEBUG_PBC_CONST    0x2000
24
28
#define DEBUG_PBC_FIXUP    0x4000
25
29
 
60
64
        __attribute__nonnull__(3)
61
65
        FUNC_MODIFIES(* imcc);
62
66
 
 
67
void IMCC_debug_ins(
 
68
    ARGMOD(imc_info_t *imcc),
 
69
    int level,
 
70
    ARGIN(const Instruction *ins))
 
71
        __attribute__nonnull__(1)
 
72
        __attribute__nonnull__(3)
 
73
        FUNC_MODIFIES(*imcc);
 
74
 
63
75
PARROT_DOES_NOT_RETURN
64
76
void IMCC_fatal(
65
77
    ARGMOD(imc_info_t * imcc),
122
134
#define ASSERT_ARGS_IMCC_debug __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
123
135
       PARROT_ASSERT_ARG(imcc) \
124
136
    , PARROT_ASSERT_ARG(fmt))
 
137
#define ASSERT_ARGS_IMCC_debug_ins __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
 
138
       PARROT_ASSERT_ARG(imcc) \
 
139
    , PARROT_ASSERT_ARG(ins))
125
140
#define ASSERT_ARGS_IMCC_fatal __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
126
141
       PARROT_ASSERT_ARG(imcc) \
127
142
    , PARROT_ASSERT_ARG(fmt))
140
155
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
141
156
/* HEADERIZER END: compilers/imcc/debug.c */
142
157
 
143
 
 
144
158
#endif /* PARROT_IMCC_DEBUG_H_GUARD */
145
159
 
146
160
/*