ack/util/mcgg/ircodes.h
David Given 9977ce841a Remove the bytes1, bytes2, bytes4, bytes8 attributes; remove the concept of a
register 'type'; now use int/float/long/double throughout to identify
registers. Lots of register allocator tweaks and table bugfixes --- we now get
through the dreading Mathlib.mod!
2016-10-25 23:04:20 +02:00

29 lines
384 B
C

#ifndef IRCODES_H
#define IRCODES_H
enum
{
IRF_SIZED = 1,
};
struct ir_data
{
const char* name;
int flags;
char returntype;
char lefttype;
char righttype;
};
extern const struct ir_data ir_data[];
#define TYPE_ATTRS \
(burm_int_ATTR | burm_long_ATTR | burm_float_ATTR | burm_double_ATTR)
#include "ircodes-dyn.h"
#endif
/* vim: set sw=4 ts=4 expandtab : */