19 lines
338 B
C
19 lines
338 B
C
#ifndef MIE_MSG_H_
|
|
#define MIE_MSG_H_
|
|
|
|
#include <mie/ir/instr.h>
|
|
#include <mie/type.h>
|
|
|
|
#define MIE_MSG(p) ((struct mie_msg *)(p))
|
|
|
|
struct mie_msg {
|
|
struct mie_instr msg_base;
|
|
struct mie_type *msg_ret_type;
|
|
struct mie_value *msg_recipient;
|
|
struct mie_value *msg_selector;
|
|
size_t msg_nr_args;
|
|
struct mie_value **msg_args;
|
|
};
|
|
|
|
#endif
|