Skip to content

Commit

Permalink
format conditions on single line
Browse files Browse the repository at this point in the history
  • Loading branch information
tlively committed Sep 9, 2023
1 parent 31444ad commit aa173f6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions document/core/exec/instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1259,10 +1259,7 @@ Reference Instructions
(\REFARRAYADDR~a_1)~(\I32.\CONST~d+1)~(\REFARRAYADDR~a_2)~(\I32.\CONST~s+1)~(\I32.\CONST~n)~(\ARRAYCOPY~x~y) \\
\end{array}
\\ \qquad
\begin{array}[t]{@{}r@{~}l@{}}
(\otherwise, \iff & d \leq s \\
\land & F.\AMODULE.\MITYPES[x] = \TARRAY~\mut~\X{st})
\end{array}
(\otherwise, \iff d \leq s \land F.\AMODULE.\MITYPES[x] = \TARRAY~\mut~\X{st}) \\
\\[1ex]
S; (\REFARRAYADDR~a_1)~(\I32.\CONST~d)~(\REFARRAYADDR~a_2)~(\I32.\CONST~s)~(\I32.\CONST~n+1)~(\ARRAYCOPY~x~y)
\quad\stepto
Expand All @@ -1274,10 +1271,7 @@ Reference Instructions
(\REFARRAYADDR~a_1)~(\I32.\CONST~d)~(\REFARRAYADDR~a_2)~(\I32.\CONST~s)~(\I32.\CONST~n)~(\ARRAYCOPY~x~y) \\
\end{array}
\\ \qquad
\begin{array}[t]{@{}r@{~}l@{}}
(\otherwise, \iff & d > s \\
\land & F.\AMODULE.\MITYPES[x] = \TARRAY~\mut~\X{st})
\end{array}
(\otherwise, \iff d > s \land F.\AMODULE.\MITYPES[x] = \TARRAY~\mut~\X{st}) \\
\\[1ex]
S; (\REFNULL~t)~(\I32.\CONST~d)~\val~(\I32.\CONST~s)~(\I32.\CONST~n)~(\ARRAYCOPY~x~y) \quad\stepto\quad \TRAP
\\[1ex]
Expand Down

0 comments on commit aa173f6

Please sign in to comment.