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

Export more PartLLVMVal functionality. #175

Merged
merged 1 commit into from
Mar 8, 2019
Merged

Conversation

andreistefanescu
Copy link
Contributor

No description provided.

@@ -91,6 +91,8 @@ module Lang.Crucible.LLVM.MemModel
, constToLLVMVal
, constToLLVMValP
, ptrMessage
, Partial.PartLLVMVal
, pattern Partial.PartLLVMVal
Copy link
Contributor

Choose a reason for hiding this comment

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

I would hope that it would be rarely necessary to actually pattern match on a partial value. 90% of the time you should be able to use assertSafe to extract the value. If we find this to be necessary in a bunch of places, we could also consider parameterizing assertSafe over the function that actually makes assertions.

@andreistefanescu andreistefanescu merged commit 4dac1b6 into master Mar 8, 2019
@andreistefanescu andreistefanescu deleted the part-llvm-val branch March 8, 2019 02:17
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.

None yet

2 participants