Files
jak-project/goal_src/test/test-inline-array-field.gc
T
water111 cee6c21603 Add basic features for types and objects (#52)
* started adding simple functions in gcommon

* more tests and features

* more tests, debug windows

* debug prints for windows

* back up some regs for windows

* remove debugging prints
2020-09-19 13:22:14 -04:00

6 lines
184 B
Common Lisp

(let* ((base (the int integer))
(field (the int (-> integer method-table)))
(offset (- field base)))
;;(format #t "offset of methods table is ~d~%" offset)
offset
)