-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
fix Issue 13138 add peek/poke to core.bitop #3773
Conversation
Pull this one before the druntime one, so the autotester can work. |
This is essentially DIP20 (http://wiki.dlang.org/DIP20) |
Yes, that's right. I updated bugzilla to reflect this. |
Shouldn't there be some accompanying documentation for this in the spec and/or library reference? |
It's in the documentation in the druntime PR. |
@@ -329,6 +329,12 @@ if (I32) assert(tysize[TYnptr] == 4); | |||
ep->Eoper = op; | |||
ep->Ety = tyret; | |||
e = ep; | |||
if (op == OPeq) | |||
{ /* This was a poke(ptr, value) operation, rewrite as: |
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.
Comment needs updating to the new name.
Auto-merge toggled on |
Obviously trusting you on the backend/glue layer details, but seems sensible. |
fix Issue 13138 add peek/poke to core.bitop
https://issues.dlang.org/show_bug.cgi?id=13138
Requires dlang/druntime#892