Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Iris Iris
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 171
    • Issues 171
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Iris
  • IrisIris
  • Merge requests
  • !854

Add order operations for locations in HeapLang.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Arthur Azevedo de Amorim requested to merge arthuraa/iris:heaplang-pointer-comparison into master Oct 14, 2022
  • Overview 13
  • Commits 5
  • Pipelines 10
  • Changes 7

As noted in #487, it does not make sense to prevent comparing two locations for their relative order. This MR extends HeapLang to allow that.

One thing that is not clear to me is how we should express the comparison. Right now, the implementation calls loc_car to extract the underlying integer. This is a bit ugly, but I don't know if it would make sense to add another order predicate just for locations.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: heaplang-pointer-comparison