diff options
51 files changed, 51 insertions, 51 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index 3a8dd7ddb..8bafcc005 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -922,7 +922,7 @@ public: void emscriptenGlue(std::ostream& o) { wasm.removeImport(EMSCRIPTEN_ASM_CONST); // we create _sig versions - o << "; METADATA: { "; + o << ";; METADATA: { "; // find asmConst calls, and emit their metadata struct AsmConstWalker : public WasmWalker { S2WasmBuilder* parent; diff --git a/test/dot_s/alternate-lcomm.wast b/test/dot_s/alternate-lcomm.wast index c29134962..ff458b577 100644 --- a/test/dot_s/alternate-lcomm.wast +++ b/test/dot_s/alternate-lcomm.wast @@ -1,4 +1,4 @@ (module (memory 0 4294967295) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/asm_const.wast b/test/dot_s/asm_const.wast index 762856a8c..d9d001f72 100644 --- a/test/dot_s/asm_const.wast +++ b/test/dot_s/asm_const.wast @@ -15,4 +15,4 @@ ) ) ) -; METADATA: { "asmConsts": {"0": ["{ Module.print(\"hello, world!\"); }", ["vi"]]} }
\ No newline at end of file +;; METADATA: { "asmConsts": {"0": ["{ Module.print(\"hello, world!\"); }", ["vi"]]} }
\ No newline at end of file diff --git a/test/dot_s/basics.wast b/test/dot_s/basics.wast index 7c7e43ec3..88adfaf58 100644 --- a/test/dot_s/basics.wast +++ b/test/dot_s/basics.wast @@ -92,4 +92,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/call.wast b/test/dot_s/call.wast index 527fb34c1..913d2d68d 100644 --- a/test/dot_s/call.wast +++ b/test/dot_s/call.wast @@ -134,4 +134,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/cfg-stackify.wast b/test/dot_s/cfg-stackify.wast index 2f6034844..7a92718a0 100644 --- a/test/dot_s/cfg-stackify.wast +++ b/test/dot_s/cfg-stackify.wast @@ -1085,4 +1085,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/comparisons_f32.wast b/test/dot_s/comparisons_f32.wast index 5b00f7e60..bcb0ab5f4 100644 --- a/test/dot_s/comparisons_f32.wast +++ b/test/dot_s/comparisons_f32.wast @@ -267,4 +267,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/comparisons_f64.wast b/test/dot_s/comparisons_f64.wast index 8f01136b0..097eba008 100644 --- a/test/dot_s/comparisons_f64.wast +++ b/test/dot_s/comparisons_f64.wast @@ -267,4 +267,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/comparisons_i32.wast b/test/dot_s/comparisons_i32.wast index f759d5a6a..b648c1fef 100644 --- a/test/dot_s/comparisons_i32.wast +++ b/test/dot_s/comparisons_i32.wast @@ -131,4 +131,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/comparisons_i64.wast b/test/dot_s/comparisons_i64.wast index 35479ecc2..15374c6b4 100644 --- a/test/dot_s/comparisons_i64.wast +++ b/test/dot_s/comparisons_i64.wast @@ -131,4 +131,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/conv.wast b/test/dot_s/conv.wast index aced20e91..90a5cb8e8 100644 --- a/test/dot_s/conv.wast +++ b/test/dot_s/conv.wast @@ -316,4 +316,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/copysign-casts.wast b/test/dot_s/copysign-casts.wast index 02ad07832..1fbfe760a 100644 --- a/test/dot_s/copysign-casts.wast +++ b/test/dot_s/copysign-casts.wast @@ -31,4 +31,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/cpus.wast b/test/dot_s/cpus.wast index c867c77fb..5c241966c 100644 --- a/test/dot_s/cpus.wast +++ b/test/dot_s/cpus.wast @@ -11,4 +11,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/data-offset-folding.wast b/test/dot_s/data-offset-folding.wast index d0715e305..a5341932b 100644 --- a/test/dot_s/data-offset-folding.wast +++ b/test/dot_s/data-offset-folding.wast @@ -1,4 +1,4 @@ (module (memory 0 4294967295 (segment 2 "\00\00\00\00") (segment 408 "X\00\00\00")) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/dead-vreg.wast b/test/dot_s/dead-vreg.wast index 3445f5800..c2872b352 100644 --- a/test/dot_s/dead-vreg.wast +++ b/test/dot_s/dead-vreg.wast @@ -111,4 +111,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/exit.wast b/test/dot_s/exit.wast index a79355b67..289673187 100644 --- a/test/dot_s/exit.wast +++ b/test/dot_s/exit.wast @@ -11,4 +11,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/f32.wast b/test/dot_s/f32.wast index fa4f87de8..d8a951dcf 100644 --- a/test/dot_s/f32.wast +++ b/test/dot_s/f32.wast @@ -203,4 +203,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/f64.wast b/test/dot_s/f64.wast index afb3ca9df..4b330c242 100644 --- a/test/dot_s/f64.wast +++ b/test/dot_s/f64.wast @@ -203,4 +203,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/fast-isel.wast b/test/dot_s/fast-isel.wast index 967ff7776..31a81ed66 100644 --- a/test/dot_s/fast-isel.wast +++ b/test/dot_s/fast-isel.wast @@ -21,4 +21,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/frem.wast b/test/dot_s/frem.wast index 08622a65a..9b89de191 100644 --- a/test/dot_s/frem.wast +++ b/test/dot_s/frem.wast @@ -29,4 +29,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/func.wast b/test/dot_s/func.wast index ffb938022..01ff04a8f 100644 --- a/test/dot_s/func.wast +++ b/test/dot_s/func.wast @@ -72,4 +72,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/global.wast b/test/dot_s/global.wast index 6f56eba02..2486f5c4d 100644 --- a/test/dot_s/global.wast +++ b/test/dot_s/global.wast @@ -29,4 +29,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/globl.wast b/test/dot_s/globl.wast index 571f3d27e..4e87e4669 100644 --- a/test/dot_s/globl.wast +++ b/test/dot_s/globl.wast @@ -9,4 +9,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/i32.wast b/test/dot_s/i32.wast index a1a690730..59e22d00f 100644 --- a/test/dot_s/i32.wast +++ b/test/dot_s/i32.wast @@ -230,4 +230,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/i64.wast b/test/dot_s/i64.wast index cc52a53b6..14c86d830 100644 --- a/test/dot_s/i64.wast +++ b/test/dot_s/i64.wast @@ -230,4 +230,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/immediates.wast b/test/dot_s/immediates.wast index 03d4b5b85..b77e3c13d 100644 --- a/test/dot_s/immediates.wast +++ b/test/dot_s/immediates.wast @@ -241,4 +241,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/legalize.wast b/test/dot_s/legalize.wast index 761d87ed4..b2362e5b4 100644 --- a/test/dot_s/legalize.wast +++ b/test/dot_s/legalize.wast @@ -81,4 +81,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/load-ext.wast b/test/dot_s/load-ext.wast index 2505adea4..58b6845ff 100644 --- a/test/dot_s/load-ext.wast +++ b/test/dot_s/load-ext.wast @@ -121,4 +121,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/load-store-i1.wast b/test/dot_s/load-store-i1.wast index 7acb8faea..9a453362f 100644 --- a/test/dot_s/load-store-i1.wast +++ b/test/dot_s/load-store-i1.wast @@ -99,4 +99,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/load.wast b/test/dot_s/load.wast index 9f367eed6..b718df93e 100644 --- a/test/dot_s/load.wast +++ b/test/dot_s/load.wast @@ -61,4 +61,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/memops.wast b/test/dot_s/memops.wast index 61926bd18..f0a3c5390 100644 --- a/test/dot_s/memops.wast +++ b/test/dot_s/memops.wast @@ -219,4 +219,4 @@ ) ) ) -; METADATA: { "asmConsts": {"0": ["{ Module.print(\"hello, world! \" + HEAP32[8>>2]); }", ["vi"]]} }
\ No newline at end of file +;; METADATA: { "asmConsts": {"0": ["{ Module.print(\"hello, world! \" + HEAP32[8>>2]); }", ["vi"]]} }
\ No newline at end of file diff --git a/test/dot_s/memory-addr32.wast b/test/dot_s/memory-addr32.wast index d38b88a75..475da10d6 100644 --- a/test/dot_s/memory-addr32.wast +++ b/test/dot_s/memory-addr32.wast @@ -20,4 +20,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/memory-addr64.wast b/test/dot_s/memory-addr64.wast index e95e08681..f20ad55a7 100644 --- a/test/dot_s/memory-addr64.wast +++ b/test/dot_s/memory-addr64.wast @@ -20,4 +20,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/minimal.wast b/test/dot_s/minimal.wast index 630873c36..3db3bf1de 100644 --- a/test/dot_s/minimal.wast +++ b/test/dot_s/minimal.wast @@ -11,4 +11,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/offset-folding.wast b/test/dot_s/offset-folding.wast index d643b058c..f53b26d9a 100644 --- a/test/dot_s/offset-folding.wast +++ b/test/dot_s/offset-folding.wast @@ -41,4 +41,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/permute.wast b/test/dot_s/permute.wast index 0f147811f..9e984ca19 100644 --- a/test/dot_s/permute.wast +++ b/test/dot_s/permute.wast @@ -1,4 +1,4 @@ (module (memory 0 4294967295 (segment 4 "hE?\8ds\0e7\db[g\8f\955it\c4k\0b\e2\ef\bcld\e0\fd\8c\9e\86&~\d8\94\89+\c8\a4\c2\f2\fb\12\1cej\d99\b7\b3W\c6w\af\ae\caM>\92ub\96\84\b6\b0N\ec;q\11\f7\bf\e31\e6\a7\90\fc\03\e4\aa\d7\cc- \15\83DH\80r\fa\01X\eb:_\00A\cd\e9o`n\ac(\ad\ba0\dcyS#\f4$\"\82\7f}\8e\f6\93L\'\bb\bdZ\ed4\18\f3\c0\cf\ff\a3\f8\07\05\9c\d3\0f\a0\06m%\\\f9^B<\e7\b1\17\98]\0c\dd\c5\f5p\e5\fezJ\ab,F\a5@\08R\85!\b8\1a\ce\d5\04\nI\a6\d1\9f\8a\c9\a9|\97\9aG\be8Y\8b\c1\1b\d4\ea\b9\19\14\9b\9163\d0\1d\d2\df=C\1f\0dc\e1\c7QUv\02\b5aK\b4\tV\c3x\e8\a1\1e\81\de/{\da\d6Pf\10T\f0)\88\16\ee\a8\9d\f1\cbO*\b2\99\132\87.\a2")) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/phi.wast b/test/dot_s/phi.wast index 2fb0ddf1e..72f094e85 100644 --- a/test/dot_s/phi.wast +++ b/test/dot_s/phi.wast @@ -79,4 +79,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/reg-stackify.wast b/test/dot_s/reg-stackify.wast index 74d3d94b5..c714fbb29 100644 --- a/test/dot_s/reg-stackify.wast +++ b/test/dot_s/reg-stackify.wast @@ -118,4 +118,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/relocation.wast b/test/dot_s/relocation.wast index 6a5fb576d..0b87203fb 100644 --- a/test/dot_s/relocation.wast +++ b/test/dot_s/relocation.wast @@ -14,4 +14,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/return-int32.wast b/test/dot_s/return-int32.wast index 3cc667d36..6bc521154 100644 --- a/test/dot_s/return-int32.wast +++ b/test/dot_s/return-int32.wast @@ -11,4 +11,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/return-void.wast b/test/dot_s/return-void.wast index 54d604547..59f5aeb06 100644 --- a/test/dot_s/return-void.wast +++ b/test/dot_s/return-void.wast @@ -9,4 +9,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/returned.wast b/test/dot_s/returned.wast index 6b1c58735..003b54e57 100644 --- a/test/dot_s/returned.wast +++ b/test/dot_s/returned.wast @@ -32,4 +32,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/select.wast b/test/dot_s/select.wast index 7c8d32c37..54f788fcf 100644 --- a/test/dot_s/select.wast +++ b/test/dot_s/select.wast @@ -169,4 +169,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/signext-zeroext.wast b/test/dot_s/signext-zeroext.wast index ddd3e85af..87140b506 100644 --- a/test/dot_s/signext-zeroext.wast +++ b/test/dot_s/signext-zeroext.wast @@ -77,4 +77,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/store-results.wast b/test/dot_s/store-results.wast index 53409afd1..7e7d5dfd3 100644 --- a/test/dot_s/store-results.wast +++ b/test/dot_s/store-results.wast @@ -88,4 +88,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/store-trunc.wast b/test/dot_s/store-trunc.wast index 7496b0ee8..a10f57ffd 100644 --- a/test/dot_s/store-trunc.wast +++ b/test/dot_s/store-trunc.wast @@ -73,4 +73,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/store.wast b/test/dot_s/store.wast index ddff6f633..75c7176f1 100644 --- a/test/dot_s/store.wast +++ b/test/dot_s/store.wast @@ -61,4 +61,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/switch.wast b/test/dot_s/switch.wast index 0e7f8f03d..e88769ed7 100644 --- a/test/dot_s/switch.wast +++ b/test/dot_s/switch.wast @@ -97,4 +97,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/unreachable.wast b/test/dot_s/unreachable.wast index 1d402392f..1a51e8e09 100644 --- a/test/dot_s/unreachable.wast +++ b/test/dot_s/unreachable.wast @@ -27,4 +27,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/unused-argument.wast b/test/dot_s/unused-argument.wast index 9b3ba16ab..1f5418909 100644 --- a/test/dot_s/unused-argument.wast +++ b/test/dot_s/unused-argument.wast @@ -31,4 +31,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file diff --git a/test/dot_s/varargs.wast b/test/dot_s/varargs.wast index c4e7e50b0..d07ac81c2 100644 --- a/test/dot_s/varargs.wast +++ b/test/dot_s/varargs.wast @@ -149,4 +149,4 @@ ) ) ) -; METADATA: { "asmConsts": {} }
\ No newline at end of file +;; METADATA: { "asmConsts": {} }
\ No newline at end of file |