Skip to content
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

Merged
merged 1 commit into from
Jul 20, 2014

Conversation

WalterBright
Copy link
Member

@WalterBright
Copy link
Member Author

Pull this one before the druntime one, so the autotester can work.

@JinShil
Copy link
Contributor

JinShil commented Jul 16, 2014

This is essentially DIP20 (http://wiki.dlang.org/DIP20)

@WalterBright
Copy link
Member Author

Yes, that's right. I updated bugzilla to reflect this.

@JinShil
Copy link
Contributor

JinShil commented Jul 17, 2014

Shouldn't there be some accompanying documentation for this in the spec and/or library reference?

@WalterBright
Copy link
Member Author

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:
Copy link
Member

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.

@dnadlinger
Copy link
Member

Auto-merge toggled on

@dnadlinger
Copy link
Member

Obviously trusting you on the backend/glue layer details, but seems sensible.

dnadlinger added a commit that referenced this pull request Jul 20, 2014
fix Issue 13138 add peek/poke to core.bitop
@dnadlinger dnadlinger merged commit 3661022 into dlang:master Jul 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants