-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use to_address for SFT access #1122
Conversation
Changed convenient methods in `ObjectReference` so that if they use SFT, we use `self.to_address()` to get the address instead of `self.0` which returns the raw address.
Upstream change: mmtk/mmtk-core#1122
Upstream change: mmtk/mmtk-core#1122
Upstream change: mmtk/mmtk-core#1122
Upstream change: mmtk/mmtk-core#1122
Upstream change: mmtk/mmtk-core#1122
Upstream change: mmtk/mmtk-core#1122
binding-refs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Upstream change: mmtk/mmtk-core#1122 --------- Co-authored-by: mmtkgc-bot <[email protected]>
Upstream change: mmtk/mmtk-core#1122 --------- Co-authored-by: mmtkgc-bot <[email protected]>
Upstream change: mmtk/mmtk-core#1122 --------- Co-authored-by: mmtkgc-bot <[email protected]>
Upstream change: mmtk/mmtk-core#1122 --------- Co-authored-by: mmtkgc-bot <[email protected]>
Upstream change: mmtk/mmtk-core#1122 --------- Co-authored-by: mmtkgc-bot <[email protected]>
Upstream change: mmtk/mmtk-core#1122 --------- Co-authored-by: mmtkgc-bot <[email protected]>
Changed convenient methods in
ObjectReference
so that if they use SFT, we useself.to_address()
to get the address instead ofself.0
which returns the raw address.Also removed
ObjectReference::value()
to force users to use the more explicitObjectReference::to_raw_address()
.