aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/ir.h3
-rw-r--r--src/t_aarch64_aapcs.c1
-rw-r--r--src/t_x86-64_sysv.c1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/ir.h b/src/ir.h
index 434c2a7..cd115ff 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -177,7 +177,7 @@ rsiter(int *i, u64int rs)
return 1;
}
-enum {
+enum fnprop {
FNBLKID = 1<<0,
FNUSE = 1<<1,
FNRPO = 1<<2,
@@ -206,7 +206,6 @@ typedef struct Function {
typedef struct MCTarg {
short gpr0, /* first gpr */
ngpr, /* gpr count */
- bpr, /* frame/base pointer reg */
gprscratch, fprscratch, /* scratch registers for regalloc */
fpr0, /* first fpr */
nfpr; /* fpr count */
diff --git a/src/t_aarch64_aapcs.c b/src/t_aarch64_aapcs.c
index 1cf3a61..5389a49 100644
--- a/src/t_aarch64_aapcs.c
+++ b/src/t_aarch64_aapcs.c
@@ -158,7 +158,6 @@ static const char aarch64_rnames[][6] = {
const MCTarg t_aarch64_aapcs = {
.gpr0 = R0, .ngpr = 31,
- .bpr = FP,
.gprscratch = R(16), .fprscratch = V(31),
.fpr0 = V0, .nfpr = 32,
.rcallee = BIT(R(19)) | BIT(R(20)) | BIT(R(21)) | BIT(R(22)) | BIT(R(23))
diff --git a/src/t_x86-64_sysv.c b/src/t_x86-64_sysv.c
index 2404a86..8686571 100644
--- a/src/t_x86-64_sysv.c
+++ b/src/t_x86-64_sysv.c
@@ -295,7 +295,6 @@ static const char x86_64_rnames[][6] = {
const MCTarg t_x86_64_sysv = {
.gpr0 = RAX, .ngpr = R15 - RAX + 1,
- .bpr = RBP,
.gprscratch = R11, .fprscratch = XMM15,
.fpr0 = XMM0, .nfpr = XMM15 - XMM0 + 1,
.rcallee = 1<<RBX | 1<<R12 | 1<<R13 | 1<<R14 | 1<<R15,