-
Notifications
You must be signed in to change notification settings - Fork 274
introduce instructiont::assign_lhs() and assign_rhs() #5865
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
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #5865 +/- ##
===========================================
- Coverage 75.33% 75.24% -0.09%
===========================================
Files 1447 1447
Lines 157988 158053 +65
===========================================
- Hits 119013 118926 -87
- Misses 38975 39127 +152
Continue to review full report at Codecov.
|
8121569
to
e261c0d
Compare
@kroening This is failing some tests. |
src/goto-programs/goto_program.h
Outdated
@@ -183,13 +183,43 @@ class goto_programt | |||
codet code; | |||
|
|||
/// Get the assignment for ASSIGN | |||
DEPRECATED(SINCE(2021, 2, 24, "Use dead_symbol instead")) |
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.
Copy&paste error?
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.
Fixed
src/goto-programs/goto_program.h
Outdated
/// Set the assignment for ASSIGN | ||
DEPRECATED(SINCE(2021, 2, 24, "Use dead_symbol instead")) |
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.
Copy&paste error?
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.
Fixed
2c0dec0
to
32a78bf
Compare
32a78bf
to
946e12c
Compare
This mirrors the change in #5861 by replacing the use of code_assignt by directly returning the lhs and rhs expressions. The client code is simplified.
946e12c
to
9ff5919
Compare
This mirrors the change in #5861 by replacing the use of
code_assignt
bydirectly returning the lhs and rhs expressions. The client code is
simplified.