Ticket #1406 (closed deprecation: wontfix)

Opened 12 years ago

Last modified 11 years ago

get_results opcode used to fetch exception object

Reported by: allison Owned by: whiteknight
Priority: normal Milestone:
Component: none Version: 1.9.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

The get_results opcode will no longer be used to fetch the exception object argument inside an exception handler. Instead, use the ordinary syntax for fetching a parameter (the .param declaration, or set_params).

Change History

Changed 12 years ago by coke

  • type changed from todo to deprecated
  • summary changed from [DEPRECATED] get_results opcode used to fetch exception object to get_results opcode used to fetch exception object

Changed 12 years ago by coke

Can't use .param in a block-style exception handler. Do you have some sample syntax you'd expect to see work?

Changed 11 years ago by whiteknight

  • owner set to whiteknight

It's my opinion that we should reject this ticket. Replacing .get_results with .param in these instances would be a lot of work: Significant effort in IMCC to replace the parsing of these ops, not to mention all the massive amounts of PIR that would need to get updated to use the new syntax. I think the benefits we get from the conversion are not worth the effort.

Changed 11 years ago by cotto

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

I agree. It's nice to have a consistent design, but not so nice that we need to rewrite a huge amount of existing PIR code and update imcc.

Note: See TracTickets for help on using tickets.