~dexter/parrot-pkg/maverick

« back to all changes in this revision

Viewing changes to compilers/pirc/src/pirpcc.h

  • Committer: Piotr Roszatycki
  • Date: 2011-01-11 14:34:28 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: piotr.roszatycki@gmail.com-20110111143428-s7pa7qz38m61o4tw
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * $Id: pirpcc.h 44010 2010-02-16 11:12:18Z bacek $
3
 
 * Copyright (C) 2008-2009, Parrot Foundation.
4
 
 */
5
 
 
6
 
#ifndef PARROT_PIR_PIRPCC_H_GUARD
7
 
#define PARROT_PIR_PIRPCC_H_GUARD
8
 
 
9
 
#include "pircompunit.h"
10
 
#include "pircompiler.h"
11
 
 
12
 
/* HEADERIZER BEGIN: compilers/pirc/src/pirpcc.c */
13
 
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
14
 
 
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);
20
 
 
21
 
void emit_sub_epilogue(ARGIN(lexer_state * const lexer))
22
 
        __attribute__nonnull__(1);
23
 
 
24
 
void generate_getresults_instr(
25
 
    ARGIN(lexer_state * const lexer),
26
 
    ARGIN(target * const targetlist))
27
 
        __attribute__nonnull__(1)
28
 
        __attribute__nonnull__(2);
29
 
 
30
 
void generate_parameters_instr(
31
 
    ARGIN(lexer_state * const lexer),
32
 
    unsigned num_parameters)
33
 
        __attribute__nonnull__(1);
34
 
 
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 */
47
 
 
48
 
#endif /* PARROT_PIR_PIRPCC_H_GUARD */
49
 
 
50
 
/*
51
 
 * Local variables:
52
 
 *   c-file-style: "parrot"
53
 
 * End:
54
 
 * vim: expandtab shiftwidth=4:
55
 
 */
56