IUCompilerCourse / Essentials-of-Compilation

A book about compiling Racket and Python to x86-64 assembly
1.31k stars 141 forks source link

chapter 7 - number of parameters #105

Closed proglang closed 2 years ago

proglang commented 2 years ago

Why are six parameters passed as five parameters plus a one-tuple? It would be sufficient to start tupling from seven parameters upwards. Or is there a catch? The only thing I can think about is that you know that the sixth parameter always has a tuple type. But I don't think that is needed.

proglang commented 2 years ago

Ok, I was mislead by the text. Will propose a different wording.