mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
add cheapo static assert in isel
This commit is contained in:
parent
8d1f2f9d2c
commit
2c351452b1
@ -461,11 +461,14 @@ classify(Ins *i0, Ins *i1, AClass *ac, int op)
|
||||
return (6-nint) << 4;
|
||||
}
|
||||
|
||||
int rsave[NRSave] = {
|
||||
int rsave[/* NRSave */] = {
|
||||
RDI, RSI, RDX, RCX, R8, R9, R10, R11, RAX,
|
||||
XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7, XMM8,
|
||||
XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15
|
||||
XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7,
|
||||
XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14
|
||||
};
|
||||
typedef char make_sure_rsave_has_correct_size[
|
||||
sizeof rsave == NRSave * sizeof(int) ? 1 : -1
|
||||
];
|
||||
int rclob[NRClob] = {RBX, R12, R13, R14, R15};
|
||||
|
||||
ulong
|
||||
|
||||
Loading…
Reference in New Issue
Block a user