From f26b29d6d56d1d06bab774b484be0a1efaef4110 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 25 Jun 2023 16:04:57 +0100 Subject: Fix snapshots contents --- ...mpiler.testing.snapshots.Snapshotter)].expected | 24 ---------------------- ...mpiler.testing.snapshots.Snapshotter)].expected | 24 ++++++++++++++++++++++ ...mpiler.testing.snapshots.Snapshotter)].expected | 17 --------------- 3 files changed, 24 insertions(+), 41 deletions(-) delete mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushUnitIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected delete mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 1ebd194b..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,24 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Function[1]: - - func[0] sig=0 -Code[1]: - - func[0] size=4 -Custom: - - name: "name" - - func[0] -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F func=0 [ binding=global vis=default ] - -Code Disassembly: - -000026 func[0] : - 000027: 41 00 | i32.const 0 - 000029: 0b | end \ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushUnitIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushUnitIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..1ebd194b --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushUnitIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,24 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Type[1]: + - type[0] () -> nil +Function[1]: + - func[0] sig=0 +Code[1]: + - func[0] size=4 +Custom: + - name: "name" + - func[0] +Custom: + - name: "linking" + - symbol table [count=1] + - 0: F func=0 [ binding=global vis=default ] + +Code Disassembly: + +000026 func[0] : + 000027: 41 00 | i32.const 0 + 000029: 0b | end \ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 1a731e5f..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,17 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] () -> nil - - type[1] (i32) -> nil -Import[2]: - - func[0] sig=0 <- ModuleName1.EntityName1 - - func[1] sig=1 <- ModuleName2.EntityName2 -Custom: - - name: "name" - - func[0] - - func[1] - -Code Disassembly: -- cgit v1.2.3