diff options
author | Andy Wingo <wingo@igalia.com> | 2019-04-25 19:12:55 +0200 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2019-04-25 19:12:55 +0200 |
commit | 2602f17fb4e472b5a89af026fe00bffe662f1d43 (patch) | |
tree | a336517941be65a8bdf5d797779f348ac71c9e6b /tests/qdivr_u.c | |
parent | af4e0422aee14918b6845bf23aa95a3980179027 (diff) | |
download | guile-2602f17fb4e472b5a89af026fe00bffe662f1d43.tar.gz |
Simplify register representation again
There's only one flag, "callee-save". Also the regno range is limited
to 0-63 inclusive, to allow for cheap register sets as uint64_t values.
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 0471e9ed2..30849bd54 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_gpr_is_callee_save (j, reg)) + if (jit_gpr_is_callee_save (reg)) jit_pushr(j, reg); } static void maybe_restore(jit_state_t *j, jit_gpr_t reg) { - if (jit_gpr_is_callee_save (j, reg)) + if (jit_gpr_is_callee_save (reg)) jit_popr(j, reg); } |