[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 294/437: Correct change of possibly wrong bitmask in jit
From: |
Andy Wingo |
Subject: |
[Guile-commits] 294/437: Correct change of possibly wrong bitmask in jit_update |
Date: |
Mon, 2 Jul 2018 05:14:39 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit f79f9777b1584dad6ac6e53a247d5f7e47171893
Author: pcpa <address@hidden>
Date: Sun Aug 10 11:36:08 2014 -0300
Correct change of possibly wrong bitmask in jit_update
* lib/lightning.c: Change the correct live bitmask of
return registers after a function call in jit_update.
---
ChangeLog | 5 +++++
lib/lightning.c | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c4d7df1..1097a72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-08-10 Paulo Andrade <address@hidden>
+ * lib/lightning.c: Change the correct live bitmask of
+ return registers after a function call in jit_update.
+
+2014-08-10 Paulo Andrade <address@hidden>
+
* lib/lightning.c: Change assertions to have an int
result and correct a bad bit mask assertion.
diff --git a/lib/lightning.c b/lib/lightning.c
index 2a89dd1..ecad2be 100644
--- a/lib/lightning.c
+++ b/lib/lightning.c
@@ -2043,19 +2043,19 @@ _jit_update(jit_state_t *_jit, jit_node_t *node,
case jit_code_calli:
#if defined(JIT_RET)
if (jit_regset_tstbit(mask, JIT_RET)) {
- jit_regset_setbit(&_jitc->reglive, JIT_RET);
+ jit_regset_setbit(live, JIT_RET);
jit_regset_clrbit(mask, JIT_RET);
}
# if __arm__
if (jit_regset_tstbit(mask, _R1)) {
- jit_regset_setbit(&_jitc->reglive, _R1);
+ jit_regset_setbit(live, _R1);
jit_regset_clrbit(mask, _R1);
}
# endif
#endif
#if defined(JIT_FRET)
if (jit_regset_tstbit(mask, JIT_FRET)) {
- jit_regset_setbit(&_jitc->reglive, JIT_FRET);
+ jit_regset_setbit(live, JIT_FRET);
jit_regset_clrbit(mask, JIT_FRET);
}
#endif
- [Guile-commits] 259/437: Correct wrong dates in ChangeLog, (continued)
- [Guile-commits] 259/437: Correct wrong dates in ChangeLog, Andy Wingo, 2018/07/02
- [Guile-commits] 258/437: MIPS: Correct abi detection., Andy Wingo, 2018/07/02
- [Guile-commits] 261/437: MIPS: Build and pass all test cases on mips64., Andy Wingo, 2018/07/02
- [Guile-commits] 181/437: Correct description of the jmpi instruction., Andy Wingo, 2018/07/02
- [Guile-commits] 141/437: Correct test cases in i586 build., Andy Wingo, 2018/07/02
- [Guile-commits] 274/437: x86: Correct wrong x87 optimization., Andy Wingo, 2018/07/02
- [Guile-commits] 271/437: Correct wrong call in ldi_f if address does not fit in 32 bit., Andy Wingo, 2018/07/02
- [Guile-commits] 238/437: test for zlib in configure.ac, Andy Wingo, 2018/07/02
- [Guile-commits] 266/437: Add assertion to detect double patching., Andy Wingo, 2018/07/02
- [Guile-commits] 199/437: Correct wrong shift value for 32 bit, Andy Wingo, 2018/07/02
- [Guile-commits] 294/437: Correct change of possibly wrong bitmask in jit_update,
Andy Wingo <=
- [Guile-commits] 291/437: MIPS: Correct use of wrong test register, Andy Wingo, 2018/07/02
- [Guile-commits] 303/437: Only mark callee save regs as live on jumps that cannot be tracked., Andy Wingo, 2018/07/02
- [Guile-commits] 218/437: Build and pass all test cases on a multiprocessor HP-UX., Andy Wingo, 2018/07/02
- [Guile-commits] 285/437: GNU lightning 2.0.4 release, Andy Wingo, 2018/07/02
- [Guile-commits] 193/437: Make code and data buffer readonly., Andy Wingo, 2018/07/02
- [Guile-commits] 145/437: Add new test case for int/float to/from conversion., Andy Wingo, 2018/07/02
- [Guile-commits] 308/437: x86: Update instruction size information for Windows x64, Andy Wingo, 2018/07/02
- [Guile-commits] 313/437: Implement the jit_align interface, Andy Wingo, 2018/07/02
- [Guile-commits] 250/437: Add the new jit_pointer_p predicate interface., Andy Wingo, 2018/07/02
- [Guile-commits] 286/437: Do not export private definitions and types., Andy Wingo, 2018/07/02