add nmem to opdesc for use in the spiller

This new machine-independent mechanism might not be general
enough in the long term but, now, it provides a flexible way
to inform the spiller about the maximum number of arguments
of an instruction that can be spill locations.
This commit is contained in:
Quentin Carbonneaux 2015-08-08 18:06:47 -04:00
parent 9966a181c1
commit 76bf96b268
4 changed files with 36 additions and 34 deletions

View file

@ -161,7 +161,7 @@ enum {
struct OpDesc {
char *name;
int arity;
B3 comm;
int nmem;
};
struct Ins {