-
Notifications
You must be signed in to change notification settings - Fork 279
Value set: lift offset from numeric constants to expressions #8647
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
Changes from all commits
2ce536c
1f2fd5a
7fc006e
056be83
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -982,7 +982,7 @@ normalize(const object_descriptor_exprt &expr, const namespacet &ns) | |
{ | ||
return expr; | ||
} | ||
if(expr.offset().id() == ID_unknown) | ||
if(!expr.offset().is_constant()) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we get a high level description of what is the normal form we're trying to reach ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To root object + constant offset, as object can be an arbitrary access path into the object. Pointer equality checks become trivial then - maybe simplify_expr has become good enough in the meanwhile. |
||
{ | ||
return expr; | ||
} | ||
|
Uh oh!
There was an error while loading. Please reload this page.