summaryrefslogtreecommitdiff
path: root/libguile/jit.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-07-29 11:28:52 +0200
committerAndy Wingo <wingo@pobox.com>2018-07-29 15:47:07 +0200
commit5077e6737128b04e840b96775627b000e29c63f1 (patch)
tree088f8733aceaf4d529e6cda499c1ade4210ef165 /libguile/jit.h
parent5c2e155fd725906cf86093d251460ed158d96aff (diff)
downloadguile-5077e6737128b04e840b96775627b000e29c63f1.tar.gz
Fix function bound offsets of JIT data to be signed
* libguile/jit.h (struct scm_jit_function_data): Start and end offsets are signed.
Diffstat (limited to 'libguile/jit.h')
-rw-r--r--libguile/jit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/jit.h b/libguile/jit.h
index fe5332028..09e8d1be4 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;