-
Notifications
You must be signed in to change notification settings - Fork 26
Supporting vtables for closures #872
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
Open
ssyram
wants to merge
27
commits into
AeneasVerif:main
Choose a base branch
from
ssyram:vtable-closure
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
7aa1d87
initial vtable support for closures
ssyram 2870141
minor: cargo fmt
Sam-Ni d0bc90b
rerun of 'make test'
Sam-Ni 18ccb35
refactor gen_vtable_instance_init_body to handle the closure case
Sam-Ni 1e0f973
Merge remote-tracking branch 'upstream/main' into vtable-closure
Sam-Ni ed5744b
rerun 'make test'
Sam-Ni 7d27900
remove expect_dead_code on translate_item_no_enqueue
Sam-Ni 1310b6e
Merge remote-tracking branch 'upstream/main' into vtable-closure
Sam-Ni ff38c8f
minor: fmt
Sam-Ni 82b9778
remove useless comment
Sam-Ni 5f6c36b
nit: rearrange match order
Sam-Ni d03a926
undo translation of builtin traits
Sam-Ni 139d6f2
emit an error for non-dyn-compatible builtin traits
Sam-Ni 097ff36
minor: rephrase comment
Sam-Ni 1e83794
directly add items and closure methods
Sam-Ni e475fb8
ignore opacity for closure traits
Sam-Ni 6fc59e8
move generate_closure_method_shim_ref
Sam-Ni 29d6a7c
add an example for dyn-closure-regions
Sam-Ni 2616df7
minor: dead_code annotation
Sam-Ni c480b0b
Merge branch 'main' into vtable-closure
Sam-Ni e92c07c
Merge remote-tracking branch 'upstream/main' into vtable-closure
Sam-Ni d3ee59f
Merge branch 'main' of github.com:AeneasVerif/charon into vtable-closure
Sam-Ni 550b9fc
make test
Sam-Ni d94ce01
Merge branch 'main' of github.com:AeneasVerif/charon into vtable-closure
Sam-Ni 86b2af7
support vtable method and drop shim for closure
Sam-Ni 9935474
Merge remote-tracking branch 'upstream/main' into vtable-closure
Sam-Ni 83d2e51
Merge branch 'vtable-closure' of github.com:ssyram/charon into vtable…
Sam-Ni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Please use the appropriate
translate_closure_bound_ref_etcmethod here instead of most of this function