Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/wasm-3.0' into addr64
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg committed Nov 7, 2024
2 parents b518610 + d8b7fcd commit a489360
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions document/core/syntax/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ The *minimum* of two address types is defined as the address type whose :ref:`bi

.. math::
\begin{array}{llll}
\atmin(\X{at}_1, \X{at}_2) &=& \X{at}_1 & (\iff |\X{at}_1| \leq |\X{at}_2|) \\
\atmin(\X{at}_1, \X{at}_2) &=& \X{at}_2 & (\otherwise) \\
\addrtypemin(\X{at}_1, \X{at}_2) &=& \X{at}_1 & (\iff |\X{at}_1| \leq |\X{at}_2|) \\
\addrtypemin(\X{at}_1, \X{at}_2) &=& \X{at}_2 & (\otherwise) \\
\end{array}
Expand Down
6 changes: 3 additions & 3 deletions interpreter/syntax/types.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type null = NoNull | Null
type mut = Cons | Var
type init = Set | Unset
type final = NoFinal | Final
type 'a limits = {min : 'a; max : 'a option}
type limits = {min : int64; max : int64 option}

type var = StatX of type_idx | RecX of int32

Expand Down Expand Up @@ -45,8 +45,8 @@ and sub_type = SubT of final * heap_type list * str_type
and rec_type = RecT of sub_type list
and def_type = DefT of rec_type * int32

type table_type = TableT of addr_type * Int64.t limits * ref_type
type memory_type = MemoryT of addr_type * Int64.t limits
type table_type = TableT of addr_type * limits * ref_type
type memory_type = MemoryT of addr_type * limits
type global_type = GlobalT of mut * val_type
type tag_type = TagT of def_type
type local_type = LocalT of init * val_type
Expand Down

0 comments on commit a489360

Please sign in to comment.