guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 06/14: Return a function pointer from jit_address


From: Andy Wingo
Subject: [Guile-commits] 06/14: Return a function pointer from jit_address
Date: Fri, 12 Jun 2020 10:18:42 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit 8045386a4597454507b31139ad87e5ea6fe5164a
Author: Icecream95 <ixn@keemail.me>
AuthorDate: Thu Apr 9 19:30:18 2020 +1200

    Return a function pointer from jit_address
    
    This will allow supporting ARM code on armv7 without having to change
    any users of Lightening.
---
 lightening/lightening.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lightening/lightening.c b/lightening/lightening.c
index 0940263..92e40c4 100644
--- a/lightening/lightening.c
+++ b/lightening/lightening.c
@@ -171,7 +171,7 @@ jit_pointer_t
 jit_address(jit_state_t *_jit)
 {
   ASSERT (_jit->start);
-  return _jit->pc.uc;
+  return jit_address_to_function_pointer (_jit->pc.uc);
 }
 
 void



reply via email to

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