Commits

Bartosz Skowron  committed fa3d3b0

add SignedCallDescr

  • Participants
  • Parent commits 3ce2292
  • Branches fast-ctypes

Comments (0)

Files changed (1)

File pypy/jit/backend/llsupport/descr.py

     def get_result_size(self, translate_support_code):
         return symbolic.get_size_of_ptr(translate_support_code)
 
+class SignedCallDescr(BaseIntCallDescr):
+    _clsname = 'SignedCallDescr'
+    def get_result_size(self, translate_support_code):
+        return symbolic.get_size(lltype.Signed, translate_support_code)
+
 class GcPtrCallDescr(BaseCallDescr):
     _clsname = 'GcPtrCallDescr'
     _return_type = history.REF