minor
This commit is contained in:
parent
27576c058b
commit
c8a11f3e86
3 changed files with 9 additions and 3 deletions
|
@ -185,7 +185,13 @@ Here's the context stack when we entered the subcall `pow(2, 2)`:
|
|||
|
||||
The new current execution context is on top (and bold), and previous remembered contexts are below.
|
||||
|
||||
When we finish the subcall -- it is easy to resume the previous context, because it keeps both variables and the exact place of the code where it stopped. Here in the picture we use the word "line", but of course it's more precise.
|
||||
When we finish the subcall -- it is easy to resume the previous context, because it keeps both variables and the exact place of the code where it stopped.
|
||||
|
||||
```smart
|
||||
Here in the picture we use the word "line", as our example there's only one subcall in line, but generally a single line of code may contain multiple subcalls, like `pow(…) + pow(…) + somethingElse(…)`.
|
||||
|
||||
So it would be more precise to say that the execution resumes "immediately after the subcall".
|
||||
```
|
||||
|
||||
### pow(2, 1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue