Get llvm value with expected type (#256) #259
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#259
Loading…
Reference in New Issue
No description provided.
Delete Branch "get_symbol_val_with_type"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds an extra parameter to indicate the expected type for getting the llvm value of the host value as discussed here, since some of them like
[]
ornone
is essentailly polymorphic.55a5927280
toc7a37217ae
force-pushed to update on current master branch
It might be better to split the last commit into the symbol resolver change (
get_obj_value
now accepts anexpected_ty
param) and the refactoring (adding expected type to allto_basic_value_enum
calls)c7a37217ae
to73bcf7fc3f
73bcf7fc3f
tof66f66b3a4
Thanks for the suggestion! force-pushed to split the commit.