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 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • 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
Open Arthur Azevedo de Amorim requested to merge arthuraa/iris:heaplang-pointer-comparison into master Oct 14, 2022
  • Overview 6
  • Commits 2
  • Pipelines 2
  • Changes 6

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