guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 05/06: Fix function bound offsets of JIT data to be sign


From: Andy Wingo
Subject: [Guile-commits] 05/06: Fix function bound offsets of JIT data to be signed
Date: Sun, 29 Jul 2018 10:10:57 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit 5077e6737128b04e840b96775627b000e29c63f1
Author: Andy Wingo <address@hidden>
Date:   Sun Jul 29 11:28:52 2018 +0200

    Fix function bound offsets of JIT data to be signed
    
    * libguile/jit.h (struct scm_jit_function_data): Start and end offsets
      are signed.
---
 libguile/jit.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libguile/jit.h b/libguile/jit.h
index fe53320..09e8d1b 100644
--- a/libguile/jit.h
+++ b/libguile/jit.h
@@ -33,8 +33,8 @@ struct scm_jit_function_data
 {
   uint8_t *mcode;
   uint32_t counter;
-  uint32_t start;
-  uint32_t end;
+  int32_t start;
+  int32_t end;
 #if SCM_SIZEOF_UINTPTR_T == 4
 #elif SCM_SIZEOF_UINTPTR_T == 8
   uint32_t pad;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]