decomp: generic (#611)

* decomp: Fix casting issue with uint64's from static data

* decomp: `generic`

* add forward declaration

Co-authored-by: water111 <48171810+water111@users.noreply.github.com>
This commit is contained in:
Tyler Wilding
2021-06-20 16:02:15 -04:00
committed by GitHub
parent 4f8403d8e6
commit 87961bdb3b
11 changed files with 328 additions and 20 deletions
@@ -160,7 +160,10 @@
;; definition for method 5 of type type
;; INFO: Return type mismatch uint vs int.
(defmethod asize-of type ((obj type))
(the-as int (logand #xfffffff0 (+ (* (-> obj allocated-length) 4) 43)))
(the-as
int
(logand (the-as uint #xfffffff0) (+ (* (-> obj allocated-length) 4) 43))
)
)
;; definition for function basic-type?