diff options
author | Andy Wingo <wingo@igalia.com> | 2019-04-04 11:08:54 +0200 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2019-04-04 11:08:54 +0200 |
commit | bbfb03ac300c9c389319c0e4351b308b0ecb1c94 (patch) | |
tree | cd66943acb203c97d58e7a3e36f63f12b44fcd61 /tests/qdivr_u.c | |
parent | 0903a018121e18de06fae12301e1a03775848ba5 (diff) | |
download | guile-bbfb03ac300c9c389319c0e4351b308b0ecb1c94.tar.gz |
Fix implementation of jit_{gpr,fpr}_is_callee_save
Diffstat (limited to 'tests/qdivr_u.c')
-rw-r--r-- | tests/qdivr_u.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qdivr_u.c b/tests/qdivr_u.c index 84f101f56..8b2f63ee3 100644 --- a/tests/qdivr_u.c +++ b/tests/qdivr_u.c @@ -3,14 +3,14 @@ static void maybe_save(jit_state_t *j, jit_gpr_t reg) { - if (jit_class(reg.bits) & jit_class_sav) + if (jit_gpr_is_callee_save (j, reg)) jit_pushr(j, reg); } static void maybe_restore(jit_state_t *j, jit_gpr_t reg) { - if (jit_class(reg.bits) & jit_class_sav) + if (jit_gpr_is_callee_save (j, reg)) jit_popr(j, reg); } |