-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewriting C code for scan_object, get_size, and get_object_start_ref …
…in Rust (#82) This PR refactors the code for scanning Julia objects in Rust and removes the C variant. It does the same for the functions `get_so_object_size` and `get_object_start_ref`. It also updates the types in `mmtk_julia_types.h`, from which we generate a new version of `julia_types.rs` using Bindgen. Since Bindgen generates inefficient code for accessing bitfields, I've also added "custom" functions to access those fields (only the ones used in `scan_object`, `get_so_object_size` and `get_object_start_ref`). NB: needs to be merged with mmtk/julia#25
- Loading branch information
Showing
13 changed files
with
2,048 additions
and
865 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.