Make minor improvements
This commit is contained in:
4
third_party/chibicc/asm.c
vendored
4
third_party/chibicc/asm.c
vendored
@@ -20,6 +20,8 @@
|
||||
|
||||
#define PRECIOUS 0b1111000000101000 // bx,bp,r12-r15
|
||||
|
||||
StaticAsm *staticasms;
|
||||
|
||||
static const char kGreg[4][16][5] = {
|
||||
{"al", "cl", "dl", "bl", "spl", "bpl", "sil", "dil", "r8b", "r9b", "r10b",
|
||||
"r11b", "r12b", "r13b", "r14b", "r15b"},
|
||||
@@ -31,8 +33,6 @@ static const char kGreg[4][16][5] = {
|
||||
"r11", "r12", "r13", "r14", "r15"},
|
||||
};
|
||||
|
||||
StaticAsm *staticasms;
|
||||
|
||||
static void DecodeAsmConstraints(AsmOperand *op) {
|
||||
int i;
|
||||
char c;
|
||||
|
||||
Reference in New Issue
Block a user