Ticket #1405 (closed deprecation: done)

Opened 5 years ago

Last modified 5 years ago

get_results opcode before call

Reported by: allison Owned by:
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 called before the invoke instruction in the Parrot calling conventions. Instead, call and return will work the same: caller will setup a list of args and callee will fetch them, returner will set up a list of returns and returnee will fetch them.

This change has no effect on the PIR syntactic sugar for subroutine and method calls.

Change History

Changed 5 years ago by whiteknight

I have a general question about this change. Some languages require knowledge about the output arguments inside a function call. Perl5 and M come to mind immediately. If get_results is called after the call has returned, how does the function get information about the expected return arguments? Will these languages have to do some kind of manual specification of these values?

Changed 5 years ago by coke

  • type changed from todo to deprecated
  • summary changed from [DEPRECATED] get_results opcode before call to get_results opcode before call

Changed 5 years ago by bacek

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

pcc_hackatron branch was merged into trunk. Resolving ticket.

Note: See TracTickets for help on using tickets.