File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ The JIT compiler converts superblocks into machine code executors.
52
52
These have identical behavior to interpreted executors, except that
53
53
they consume more memory for the generated machine code and are a lot faster.
54
54
55
- ## Transfering control
55
+ ## Transferring control
56
56
57
57
There are three types of control transfer that we need to consider:
58
58
* Tier 1 to tier 2
@@ -104,7 +104,7 @@ reference to the previous executor in the thread state's
104
104
#### The interpreter
105
105
106
106
The tier 2 interpreter has a variable ` current_executor ` which
107
- points to the currently live executor. When transfering from executor
107
+ points to the currently live executor. When transferring from executor
108
108
` A ` to executor ` B ` we do the following:
109
109
(Initially ` current_executor ` points to ` A ` , and the refcount of
110
110
` A ` is elevated by one)
@@ -122,7 +122,7 @@ increment the refcount of `B` and set `current_executor` to point to `B`.
122
122
123
123
#### In the JIT
124
124
125
- Transfering control from one executor to another is done via tailcalls.
125
+ Transferring control from one executor to another is done via tailcalls.
126
126
127
127
The compiled executor should do the same, except that there is no local
128
128
variable ` current_executor ` .
You can’t perform that action at this time.
0 commit comments