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

Move more useful functions into module UnboxedSmallWord #245

Merged
merged 6 commits into from
Mar 16, 2019

Conversation

nomeata
Copy link
Collaborator

@nomeata nomeata commented Mar 15, 2019

as they will be needed in module Serialize, and also they really
belong here, as they are more closely related to our representation of
small words, rather than to the code that deals with the acutal Ir AST.

@ggreif: If this is too crude I am happy for you to take over this branch, or
to do it on your own. The main goal here is to have the functions lsb_adjust
and msb_adjust available in the Serialization module.

as they will be needed in `module Serialize`, and also they really
belong here, as they are more closely related to our representation of
small words, rather than to the code that deals with the acutal Ir AST.
@nomeata nomeata requested a review from ggreif March 15, 2019 22:25
Copy link
Contributor

@ggreif ggreif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, that these could find a cosy new home in module UnboxedSmallWord.

I am happy to bring this patch to master.

src/compile.ml Outdated Show resolved Hide resolved
@ggreif ggreif self-assigned this Mar 16, 2019
@ggreif ggreif merged commit e207b2d into master Mar 16, 2019
@nomeata nomeata deleted the joachim/UnboxedSmallWord branch March 16, 2019 18:18
dfinity-bot added a commit that referenced this pull request Sep 2, 2020
## Changelog for common:
Branch: master
Commits: [dfinity-lab/[email protected]](https://github.com/dfinity-lab/common/compare/e7da7f4fa6d58e242bb7406721e9cd6c10cdb83e...ba29553a96f338b7ba8abf8c47adb7904b9f78e8)

* [`f0a9530e`](https://github.com/dfinity-lab/common/commit/f0a9530eda23667d337a1ac501e0e6edb0ef20a7) INF-1483: Update niv-updater-action
* [`b079b6d5`](https://github.com/dfinity-lab/common/commit/b079b6d52ecef4a7930d9dad562a07e0f840f8ea) Revert "Revert "Revert "[INF-1384] rustc: 1.43 => 1.45, add rust-analyzer" ([dfinity-lab/common⁠#244](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/244))" ([dfinity-lab/common⁠#245](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/245))" ([dfinity-lab/common⁠#261](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/261))
* [`2a0a8ef1`](https://github.com/dfinity-lab/common/commit/2a0a8ef1f7591300ad6cfc807548376734660ace) INF-1486: Document how to perform a rustc upgrade
* [`20f8a1f1`](https://github.com/dfinity-lab/common/commit/20f8a1f1ac78265ebaefe12d613e9931283c671f) Add ssh keys for Ryan Stout
* [`5d5d566a`](https://github.com/dfinity-lab/common/commit/5d5d566a51ce9f82e9860dec6dd65aa3a75e7402) Adding account for ianblenke
* [`bcc5333c`](https://github.com/dfinity-lab/common/commit/bcc5333c93718da7f34c01d8926877db082d7b3c) Formatting update
* [`650d5edf`](https://github.com/dfinity-lab/common/commit/650d5edf31108143a7e9ce5cda3f1667eef65f56) Update accounts.nix
* [`9be72c0b`](https://github.com/dfinity-lab/common/commit/9be72c0b2d60f35a716de0363ac7b8361e643106) nix-fmt
mergify bot pushed a commit that referenced this pull request Sep 2, 2020
## Changelog for common:
Branch: master
Commits: [dfinity-lab/[email protected]](https://github.com/dfinity-lab/common/compare/e7da7f4fa6d58e242bb7406721e9cd6c10cdb83e...ba29553a96f338b7ba8abf8c47adb7904b9f78e8)

* [`f0a9530e`](https://github.com/dfinity-lab/common/commit/f0a9530eda23667d337a1ac501e0e6edb0ef20a7) INF-1483: Update niv-updater-action
* [`b079b6d5`](https://github.com/dfinity-lab/common/commit/b079b6d52ecef4a7930d9dad562a07e0f840f8ea) Revert "Revert "Revert "[INF-1384] rustc: 1.43 => 1.45, add rust-analyzer" ([dfinity-lab/common⁠#244](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/244))" ([dfinity-lab/common⁠#245](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/245))" ([dfinity-lab/common⁠#261](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/261))
* [`2a0a8ef1`](https://github.com/dfinity-lab/common/commit/2a0a8ef1f7591300ad6cfc807548376734660ace) INF-1486: Document how to perform a rustc upgrade
* [`20f8a1f1`](https://github.com/dfinity-lab/common/commit/20f8a1f1ac78265ebaefe12d613e9931283c671f) Add ssh keys for Ryan Stout
* [`5d5d566a`](https://github.com/dfinity-lab/common/commit/5d5d566a51ce9f82e9860dec6dd65aa3a75e7402) Adding account for ianblenke
* [`bcc5333c`](https://github.com/dfinity-lab/common/commit/bcc5333c93718da7f34c01d8926877db082d7b3c) Formatting update
* [`650d5edf`](https://github.com/dfinity-lab/common/commit/650d5edf31108143a7e9ce5cda3f1667eef65f56) Update accounts.nix
* [`9be72c0b`](https://github.com/dfinity-lab/common/commit/9be72c0b2d60f35a716de0363ac7b8361e643106) nix-fmt


[INF-1384]: https://dfinity.atlassian.net/browse/INF-1384
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.

2 participants