Skip to content

Commit 0af205c

Browse files
authored
Merge pull request #28 from dhil/wasmfx-merge
Merge with WebAssembly/spec and WebAssembly/gc
2 parents ee9cbe7 + a33a6a0 commit 0af205c

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

document/core/appendix/embedding.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ Matching
674674

675675
.. math::
676676
\begin{array}{lclll}
677-
\F{match\_reftype}(t_1, t_2) &=& \TRUE && (\iff \vdashvaltypematch t_1 \matchesvaltype t_2) \\
677+
\F{match\_reftype}(t_1, t_2) &=& \TRUE && (\iff {} \vdashvaltypematch t_1 \matchesvaltype t_2) \\
678678
\F{match\_reftype}(t_1, t_2) &=& \FALSE && (\otherwise) \\
679679
\end{array}
680680
@@ -690,6 +690,6 @@ Matching
690690

691691
.. math::
692692
\begin{array}{lclll}
693-
\F{match\_externtype}(\X{et}_1, \X{et}_2) &=& \TRUE && (\iff \vdashexterntypematch \X{et}_1 \matchesexterntype \X{et}_2) \\
693+
\F{match\_externtype}(\X{et}_1, \X{et}_2) &=& \TRUE && (\iff {} \vdashexterntypematch \X{et}_1 \matchesexterntype \X{et}_2) \\
694694
\F{match\_externtype}(\X{et}_1, \X{et}_2) &=& \FALSE && (\otherwise) \\
695695
\end{array}

document/core/appendix/index-instructions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def Instruction(name, opcode, type=None, validation=None, execution=None, operat
341341
Instruction(r'\ARRAYINITELEM~x~y', r'\hex{FB}~\hex{13}', r'[(\REF~\NULL~x)~\I32~\I32~\I32] \to []', r'valid-array.init_elem', r'exec-array.init_elem'),
342342
Instruction(r'\REFTEST~(\REF~t)', r'\hex{FB}~\hex{14}', r"[(\REF~t')] \to [\I32]", r'valid-ref.test', r'exec-ref.test'),
343343
Instruction(r'\REFTEST~(\REF~\NULL~t)', r'\hex{FB}~\hex{15}', r"[(REF~\NULL~t')] \to [\I32]", r'valid-ref.test', r'exec-ref.test'),
344-
Instruction(r'\REFCAST~(\REF~t)', r'\hex{FB}~\hex{16}', r"[(\REF~t')] \to [(\REF~t)]", r'valid-ref.test', r'exec-ref.test'),
344+
Instruction(r'\REFCAST~(\REF~t)', r'\hex{FB}~\hex{16}', r"[(\REF~t')] \to [(\REF~t)]", r'valid-ref.cast', r'exec-ref.cast'),
345345
Instruction(r'\REFCAST~(\REF~\NULL~t)', r'\hex{FB}~\hex{17}', r"[(\REF~\NULL~t')] \to [(\REF~\NULL~t)]", r'valid-ref.cast', r'exec-ref.cast'),
346346
Instruction(r'\BRONCAST~t_1~t_2', r'\hex{FB}~\hex{18}', r'[t_1] \to [t_1\reftypediff t_2]', r'valid-br_on_cast', r'exec-br_on_cast'),
347347
Instruction(r'\BRONCASTFAIL~t_1~t_2', r'\hex{FB}~\hex{19}', r'[t_1] \to [t_2]', r'valid-br_on_cast_fail', r'exec-br_on_cast_fail'),

document/core/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Status: ED
66
Level: 2
77
TR: https://www.w3.org/TR/wasm-core-2/
88
ED: https://webassembly.github.io/spec/core/bikeshed/
9-
Editor: Andreas Rossberg (Dfinity Stiftung)
9+
Editor: Andreas Rossberg
1010
Repository: WebAssembly/spec
1111
Markup Shorthands: css no, markdown no, algorithm no, idl no
1212
Abstract: This document describes release 2.0 of the core WebAssembly standard, a safe, portable, low-level code format designed for efficient execution and compact representation.

document/core/syntax/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ Recursive Types
325325

326326
*Recursive types* denote a group of mutually recursive :ref:`composite types <syntax-comptype>`, each of which can optionally declare a list of :ref:`type indices <syntax-typeidx>` of supertypes that it :ref:`matches <match-comptype>`.
327327
Each type can also be declared *final*, preventing further subtyping.
328-
.
329328

330329
.. math::
331330
\begin{array}{llrl}

document/core/util/katex

Submodule katex updated 279 files

document/core/util/mathjax2katex.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# -*- coding: latin-1 -*-
33

44
import queue
5+
import multiprocessing
56
import os
67
import re
78
import shelve
@@ -229,7 +230,8 @@ def Worker():
229230
sys.stderr.write('.')
230231

231232
q = queue.Queue()
232-
for i in range(len(os.sched_getaffinity(0))):
233+
for i in range(len(os.sched_getaffinity(0)) if "sched_getaffinity" in dir(os)
234+
else multiprocessing.cpu_count()):
233235
t = threading.Thread(target=Worker)
234236
t.daemon = True
235237
t.start()

0 commit comments

Comments
 (0)