-
Notifications
You must be signed in to change notification settings - Fork 31
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
Migrate to opaque pointers #112
Closed
Closed
Changes from 8 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ad70b42
temporarily disable Aqua
miguelraz 23b80fa
fix expandload
miguelraz 5eb62ea
cripple tests for faster feedback
miguelraz 24c5868
take out JULIAPOINTERTYPE -> ptr
miguelraz 7eeea13
first pass
miguelraz 0e8a192
fix offest_ptr
miguelraz 03683dc
find first segfaults
miguelraz e6fd5e4
prep for first draft
miguelraz e019f1f
use load %0, not load ptr, ptr %0
miguelraz ac7d9a8
use load *, ptr %0, not some other stuff
miguelraz 856f371
use load *, ptr %0, not some other stuff 2
miguelraz cc2473c
just delete stuff, rename %0 to %ptr.0
miguelraz 8d805a3
replace vtyp where sensible, restore ptr.i-1's
miguelraz c4cab11
don't bork vttyp returns when decalring them
miguelraz 2017591
fix a ptr return type
miguelraz 358e3c4
only gep and store errors for now
miguelraz 8b19ddb
gep and store errors remain
miguelraz d0340fd
small fix for lifetime.end
miguelraz 84f77f1
only gep stuff remains
miguelraz 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 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 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 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.
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.
They shouldn't be loads at all. There shouldn't be statements here at all; they should simply be deleted.
I'd suggest renaming the argument from
@foo(ptr %0)
to@foo(ptr %ptr.0)
so that you don't need special handling here for the initial definition.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.
Ok, this maneuver to get a
%ptr.0
is a bit trickier than I though. I reannotated the call sites of@foo(ptr %ptr.0)
but am still not finding all the ccases.