Skip to content

Commit 272fe32

Browse files
abrownlukewagner
authored andcommitted
Move thread.* encodings to the 0x40+ space
1 parent 1caa3c2 commit 272fe32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

design/mvp/Binary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,6 @@ canon ::= 0x00 0x00 f:<core:funcidx> opts:<opts> ft:<typeidx> => (canon lift
288288
| 0x03 rt:<typeidx> => (canon resource.drop rt (core func))
289289
| 0x07 rt:<typeidx> => (canon resource.drop rt async (core func)) 🔀
290290
| 0x04 rt:<typeidx> => (canon resource.rep rt (core func))
291-
| 0x05 ft:<typeidx> => (canon thread.spawn_ref ft (core func)) 🧵
292-
| 0x24 ft:<typeidx> t:<core:tableidx> => (canon thread.spawn_indirect ft (table t) (core func)) 🧵
293-
| 0x06 => (canon thread.available_parallelism (core func)) 🧵
294291
| 0x08 => (canon backpressure.set (core func)) 🔀
295292
| 0x09 rs:<resultlist> opts:<opts> => (canon task.return rs opts (core func)) 🔀
296293
| 0x0a 0x7f i:<u32> => (canon context.get i32 i (core func)) 🔀
@@ -319,6 +316,9 @@ canon ::= 0x00 0x00 f:<core:funcidx> opts:<opts> ft:<typeidx> => (canon lift
319316
| 0x21 async?:<async>? m:<core:memidx> => (canon waitable-set.poll async? (memory m) (core func)) 🔀
320317
| 0x22 => (canon waitable-set.drop (core func)) 🔀
321318
| 0x23 => (canon waitable.join (core func)) 🔀
319+
| 0x40 ft:<typeidx> => (canon thread.spawn_ref ft (core func)) 🧵
320+
| 0x41 ft:<typeidx> t:<core:tableidx> => (canon thread.spawn_indirect ft (table t) (core func)) 🧵
321+
| 0x42 => (canon thread.available_parallelism (core func)) 🧵
322322
async? ::= 0x00 =>
323323
| 0x01 => async
324324
opts ::= opt*:vec(<canonopt>) => opt*

0 commit comments

Comments
 (0)