File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ being specified here.
11
11
* [ Call Context] ( #call-context )
12
12
* [ Canonical ABI Options] ( #canonical-abi-options )
13
13
* [ Runtime State] ( #runtime-state )
14
+ * [ Component Instance State] ( #component-instance-state )
14
15
* [ Resource State] ( #resource-state )
15
16
* [ Task State] ( #task-state )
16
17
* [ Buffer, Stream and Future State] ( #buffer-stream-and-future-state )
@@ -136,6 +137,17 @@ reason that `async` is a keyword and most branches below want to start with the
136
137
137
138
### Runtime State
138
139
140
+ The following Python classes define spec-internal state and utility methods
141
+ that are used to define the externally-visible behavior of Canonical ABI's
142
+ lifting, lowering and built-in definitions below. These fields are chosen for
143
+ simplicity over performance and thus an optimizing implementation is expected
144
+ to use a more optimized representations as long as it preserves the same
145
+ externally-visible behavior. Some specific examples of expected optimizations
146
+ are noted below.
147
+
148
+
149
+ #### Component Instance State
150
+
139
151
The ` inst ` field of ` CallContext ` points to the component instance which the
140
152
` canon ` -generated function is closed over. Component instances contain all the
141
153
core wasm instance as well as some extra state that is used exclusively by the
You can’t perform that action at this time.
0 commit comments