2
* $Id: pirpcc.h 44010 2010-02-16 11:12:18Z bacek $
3
* Copyright (C) 2008-2009, Parrot Foundation.
6
#ifndef PARROT_PIR_PIRPCC_H_GUARD
7
#define PARROT_PIR_PIRPCC_H_GUARD
9
#include "pircompunit.h"
10
#include "pircompiler.h"
12
/* HEADERIZER BEGIN: compilers/pirc/src/pirpcc.c */
13
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
15
void convert_inv_to_instr(
16
ARGIN(lexer_state * const lexer),
17
ARGIN(invocation * const inv))
18
__attribute__nonnull__(1)
19
__attribute__nonnull__(2);
21
void emit_sub_epilogue(ARGIN(lexer_state * const lexer))
22
__attribute__nonnull__(1);
24
void generate_getresults_instr(
25
ARGIN(lexer_state * const lexer),
26
ARGIN(target * const targetlist))
27
__attribute__nonnull__(1)
28
__attribute__nonnull__(2);
30
void generate_parameters_instr(
31
ARGIN(lexer_state * const lexer),
32
unsigned num_parameters)
33
__attribute__nonnull__(1);
35
#define ASSERT_ARGS_convert_inv_to_instr __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
36
PARROT_ASSERT_ARG(lexer) \
37
, PARROT_ASSERT_ARG(inv))
38
#define ASSERT_ARGS_emit_sub_epilogue __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
39
PARROT_ASSERT_ARG(lexer))
40
#define ASSERT_ARGS_generate_getresults_instr __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
41
PARROT_ASSERT_ARG(lexer) \
42
, PARROT_ASSERT_ARG(targetlist))
43
#define ASSERT_ARGS_generate_parameters_instr __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
44
PARROT_ASSERT_ARG(lexer))
45
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
46
/* HEADERIZER END: compilers/pirc/src/pirpcc.c */
48
#endif /* PARROT_PIR_PIRPCC_H_GUARD */
52
* c-file-style: "parrot"
54
* vim: expandtab shiftwidth=4: