From 593e62119a9bda8c5ef049b4296c3c742a7959b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Traian-Florin=20=C8=98erb=C4=83nu=C8=9B=C4=83?= Date: Mon, 16 Dec 2024 10:59:52 +0200 Subject: [PATCH] pykwasm/src/pykwasm/kdist/wasm-semantics/wasm.md: whitespace changes --- .../src/pykwasm/kdist/wasm-semantics/wasm.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pykwasm/src/pykwasm/kdist/wasm-semantics/wasm.md b/pykwasm/src/pykwasm/kdist/wasm-semantics/wasm.md index 4bff85101..948ba00d2 100644 --- a/pykwasm/src/pykwasm/kdist/wasm-semantics/wasm.md +++ b/pykwasm/src/pykwasm/kdist/wasm-semantics/wasm.md @@ -624,7 +624,7 @@ The importing and exporting parts of specifications are dealt with in the respec ... requires #typeMatches(TYP, VAL) - + ``` The `get` and `set` instructions read and write globals. @@ -705,7 +705,7 @@ The `get` and `set` instructions read and write globals. requires 0 <=Int I andBool I #tableGet( TADDR, I) => trap ... @@ -733,7 +733,7 @@ The `get` and `set` instructions read and write globals. ... TID |-> TADDR ... ... - + rule [tableSet-oob]: #tableSet(TADDR, _VAL, I) => trap ... @@ -841,7 +841,7 @@ The `get` and `set` instructions read and write globals. // ------------------------------------------------------ rule [tableFill-zero]: #tableFill(_, 0, _, _) => .K ... - + rule [tableFill-loop]: #tableFill(TID, N, RVAL, I) => I @@ -1618,7 +1618,7 @@ Element Segments syntax Alloc ::= allocelem(RefValType, ListRef, OptionalId) // ----------------------------------------------------- rule [elem-active]: - #elem(TYPE:RefValType, INIT:ListRef, MODE:ElemMode, OID:OptionalId) + #elem(TYPE:RefValType, INIT:ListRef, MODE:ElemMode, OID:OptionalId) => allocelem(TYPE, INIT, OID) ~> #elemAux(size(INIT), MODE) ... @@ -1669,11 +1669,11 @@ Element Segments syntax ListRef ::= resolveAddrs(ListInt, ListRef) [function] // ----------------------------------------------------------- rule resolveAddrs(_, .ListRef) => .ListRef - rule resolveAddrs(FADDRS, ListItem( I) IS) - => ListItem( FADDRS {{ I }} orDefault -1) resolveAddrs(FADDRS, IS) - rule resolveAddrs(FADDRS, ListItem( null) IS) - => ListItem( null) resolveAddrs(FADDRS, IS) - + rule resolveAddrs(FADDRS, ListItem( I) IS) + => ListItem( FADDRS {{ I }} orDefault -1) resolveAddrs(FADDRS, IS) + rule resolveAddrs(FADDRS, ListItem( null) IS) + => ListItem( null) resolveAddrs(FADDRS, IS) + ``` Data Segments