Skip to content

Commit 6bf7ce2

Browse files
Update bytecode-initial.md
1 parent 139d4c0 commit 6bf7ce2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

notes/bytecode-initial.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,11 @@ struct Module {
188188
|bigint- | 07|BigUInt | |
189189
|object | 08|Object | |
190190
|array | 09|Array<Any> | |
191-
|function | 0A|Function |the last constant is a return|
192-
|**operators:**| | | |
193-
|local_ref | 0B|u32 |consts[i] |
194-
|arg_ref | 0C|u32 |args[i] |
191+
|local_ref | 0A|u32 |consts[i] |
192+
|arg_ref | 0B|u32 |args[i] |
193+
|function | 0C|Function |the last constant is a return|
195194

196-
These commands covers DJS. We will extend the command set in the future.
195+
`[0, B]` commands covers DJS.
197196

198197
## Architecture
199198

0 commit comments

Comments
 (0)