Ticket #1642 (closed deprecation: done)

Opened 5 years ago

Last modified 4 years ago

[DEPRECATION] ops which modify registers that are not their direct arguments

Reported by: plobsing Owned by:
Priority: normal Milestone:
Component: core Version: 2.3.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

The interface contract on ops currently allows them to modify registers that aren't their arguments. This is not particularily useful and makes optimizers harder.

As far as I know, the only ops that modify registers which are not their arguments are clear[insp] and set[insp]_ind. These are also deprecated.

Change History

Changed 4 years ago by jkeenan

plobsing,

Can you describe what code will have to change to effectuate this deprecation?

Thank you very much.

kid51

Changed 4 years ago by jkeenan

  • component changed from none to core

Changed 4 years ago by plobsing

  • status changed from new to closed
  • resolution set to done

The offending ops have been removed from master.

It is difficult if not impossible to know whether dynops indirectly modify their register frame. However, they would be breaking encapsulation to do so, so they should have no expectation for this to continue working.

Closing ticket.

Note: See TracTickets for help on using tickets.