Author: David Malcolm <[email protected]>
Branch: libgccjit-backend
Changeset: r75066:8b2b47726e8a
Date: 2014-12-22 14:35 -0500
http://bitbucket.org/pypy/pypy/changeset/8b2b47726e8a/

Log:    Bind gcc_jit_object_get_debug_string

diff --git a/rpython/jit/backend/libgccjit/rffi_bindings.py 
b/rpython/jit/backend/libgccjit/rffi_bindings.py
--- a/rpython/jit/backend/libgccjit/rffi_bindings.py
+++ b/rpython/jit/backend/libgccjit/rffi_bindings.py
@@ -64,6 +64,8 @@
                                                     compilation_info=eci))
         self.GCC_JIT_RESULT_P = lltype.Ptr(COpaque(name='gcc_jit_result',
                                                    compilation_info=eci))
+        self.GCC_JIT_OBJECT_P = lltype.Ptr(COpaque(name='gcc_jit_object',
+                                                   compilation_info=eci))
         self.GCC_JIT_TYPE_P = lltype.Ptr(COpaque(name='gcc_jit_type',
                                                  compilation_info=eci))
         self.GCC_JIT_FIELD_P = lltype.Ptr(COpaque(name='gcc_jit_field',
@@ -129,6 +131,9 @@
                 (lltype.Void,
                  'gcc_jit_result_release', [self.GCC_JIT_RESULT_P]),
 
+                (CCHARP,
+                 'gcc_jit_object_get_debug_string', [self.GCC_JIT_OBJECT_P]),
+
                 ############################################################
                 # Types
                 ############################################################
@@ -206,6 +211,10 @@
                                                   INT,
                                                   self.PARAM_P_P,
                                                   INT]),
+
+                (self.GCC_JIT_OBJECT_P,
+                 'gcc_jit_function_as_object', [self.GCC_JIT_FUNCTION_P]),
+
                 (self.GCC_JIT_LVALUE_P,
                  'gcc_jit_function_new_local', [self.GCC_JIT_FUNCTION_P,
                                                 self.GCC_JIT_LOCATION_P,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to