Mill Computing, Inc. Forums The Mill Architecture The Belt Reply To: The Belt

Post count: 78


Would you kindly clarify some vocabulary in this discussion, specifically between frames and nesting numbers? You wrote:

Say frame 17 calls frame 18, which does a MULF but returns to 17 before the MULF finishes. When the result pops out of the multiplier it is labeled as belonging to 18, known to be exited, and is discarded.

In the above, are those (stack) frame numbers or (belt) nesting numbers? My understanding was that true calls on the Mill (not inlined or TCO’ed away) *always* get a new nesting number, and that calls may create a new stack frame, but don’t have to. So would you please clarify which you’re talking about in this context?