Skip to content

Commit edc8dfe

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

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

notes/bytecode-initial.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -176,23 +176,21 @@ struct Module {
176176
}
177177
```
178178

179-
|any |tag| | |
180-
|--------------|---|-----------------------|-----------------------------|
181-
|undefined | 00| | |
182-
|null | 01| | |
183-
|false | 02| | |
184-
|true | 03| | |
185-
|number | 04|u64 | |
186-
|string | 05|String | |
187-
|bigint+ | 06|BigUInt | |
188-
|bigint- | 07|BigUInt | |
189-
|object | 08|Object | |
190-
|array | 09|Array<Any> | |
191-
|local_ref | 0A|u32 |consts[i] |
192-
|arg_ref | 0B|u32 |args[i] |
193-
|function | 0C|Function |the last constant is a return|
194-
195-
`[0, B]` commands covers DJS.
179+
|type|any |tag| | |
180+
|----|--------------|---|-----------------------|-----------------------------|
181+
|JSON|false | 00| | |
182+
| |true | 01| | |
183+
| |null | 02| | |
184+
| |number | 03|u64 | |
185+
| |string | 04|String | |
186+
| |object | 05|Object | |
187+
| |array | 06|Array<Any> | |
188+
|DJS |bigint+ | 09|BigUInt | |
189+
| |bigint- | 0A|BigUInt | |
190+
| |local_ref | 07|u32 |consts[i] |
191+
|FJS |undefined | 08| | |
192+
| |arg_ref | 09|u32 |args[i] |
193+
| |function | 0A|Function |the last constant is a return|
196194

197195
## Architecture
198196

0 commit comments

Comments
 (0)