Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Mon, 25 Oct 2004 12:21:52 +0200
Local: Mon, Oct 25 2004 6:21 am
Subject: Calling conventions
Before going the big step of implementing the indirect register frame,
I'd like to clarify argument passing for calls and returns. Now we are placing arguments or return values in registers according to With the indirect addressing of the register frame, this argument $P0 = get_caller 1 # 1) or ad 1) As call and returns are basically the same, this is usable for ad 2) The all in one would be the usual emitted opcode. But, and that's ad 3) Could be useful to access arguments, only when needed to reduce Finally, making argument passing more explicit could be needed anyway. Comments welcome, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||