Changes between Version 4 and Version 5 of Commentary/Compiler/StackAreas


Ignore:
Timestamp:
May 19, 2008 10:05:42 AM (7 years ago)
Author:
dias
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/StackAreas

    v4 v5  
    3434
    3535   sp = stack(L, 1); // Make room on the stack for the arguments
    36    m[stack(L, 1)] = x; // copy the argument
    37    m[stack(L, 0)] = L; // copy the return address
     36   m[stack(L, 1)] = L; // copy the return address
     37   m[stack(L, 0)] = x; // copy the argument
    3838   call g();
    3939