diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-10-08 11:39:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-10-08 11:39:52 +0100 |
| commit | cea0bc0d3bfe54a799bbbcd491e3221aa7103aa4 (patch) | |
| tree | a628073c21be565887f21e0ba5cb6769e09cd405 | |
| parent | b0a288f03774d3df6f4502af7748a52012e05029 (diff) | |
Tidy up snapshots
40 files changed, 0 insertions, 1304 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 2d9f5eba..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,23 +0,0 @@ -Stack: - * %closureValue__0 - -Instructions: - -%sizePtr__0 = getelementptr {ptr, [0 x i64]}, ptr null, i64 0 -%size__0 = ptrtoint ptr %sizePtr__0 to i64 -%closurePointer__0 = call ptr @shed__runtime__alloc(i64 %size__0) -%closureFunctionPointerPointer__0 = getelementptr {ptr, [0 x i64]}, ptr %closurePointer__0, i64 0, i32 0 -store ptr @shed__fun__f__0, ptr %closureFunctionPointerPointer__0 -%closureValue__0 = ptrtoint ptr %closurePointer__0 to i64 - -Basic blocks: - - -Top-level entities: - -define i64 @shed__fun__f__0(ptr %closurePointer__0) { - ret i64 0 -} - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 1356a846..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,33 +0,0 @@ -Stack: - * %closureValue__0 - -Instructions: - -%sizePtr__0 = getelementptr {ptr, [2 x i64]}, ptr null, i64 0 -%size__0 = ptrtoint ptr %sizePtr__0 to i64 -%closurePointer__0 = call ptr @shed__runtime__alloc(i64 %size__0) -%closureFunctionPointerPointer__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 0 -store ptr @shed__fun__f__0, ptr %closureFunctionPointerPointer__0 -%closureFreeVariablePointer__a__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 0 -store i64 1, ptr %closureFreeVariablePointer__a__0 -%closureFreeVariablePointer__b__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 1 -store i64 2, ptr %closureFreeVariablePointer__b__0 -%closureValue__0 = ptrtoint ptr %closurePointer__0 to i64 - -Basic blocks: - - -Top-level entities: - -define i64 @shed__fun__f__0(ptr %closurePointer__0) { - %closureFreeVariablePointer__a__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 0 - %closureFreeVariable__a__0 = load i64, ptr %closureFreeVariablePointer__a__0 - %closureFreeVariablePointer__b__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 1 - %closureFreeVariable__b__0 = load i64, ptr %closureFreeVariablePointer__b__0 - ret i64 %closureFreeVariable__a__0 -} - -Shed locals: - * a => 1 - * b => 2 - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 18c4c1f7..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,35 +0,0 @@ -Stack: - * %closureValue__0 - -Instructions: - -%sizePtr__0 = getelementptr {ptr, [2 x i64]}, ptr null, i64 0 -%size__0 = ptrtoint ptr %sizePtr__0 to i64 -%closurePointer__0 = call ptr @shed__runtime__alloc(i64 %size__0) -%closureFunctionPointerPointer__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 0 -store ptr @shed__fun__f__0, ptr %closureFunctionPointerPointer__0 -%closureFreeVariablePointer__a__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 0 -store i64 1, ptr %closureFreeVariablePointer__a__0 -%closureFreeVariablePointer__b__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 1 -store i64 2, ptr %closureFreeVariablePointer__b__0 -%closureValue__0 = ptrtoint ptr %closurePointer__0 to i64 - -Basic blocks: - - -Top-level entities: - -define i64 @shed__fun__f__0(ptr %closurePointer__0, i64 %param__param1__0, i64 %param__param2__0, i64 %param__paramA__0, i64 %param__paramB__0) { - %closureFreeVariablePointer__a__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 0 - %closureFreeVariable__a__0 = load i64, ptr %closureFreeVariablePointer__a__0 - %closureFreeVariablePointer__b__0 = getelementptr {ptr, [2 x i64]}, ptr %closurePointer__0, i64 0, i32 1, i64 1 - %closureFreeVariable__b__0 = load i64, ptr %closureFreeVariablePointer__b__0 - %tmp__0 = add i64 %closureFreeVariable__a__0, %param__param1__0 - %tmp__1 = add i64 %tmp__0, %param__paramA__0 - ret i64 %tmp__1 -} - -Shed locals: - * a => 1 - * b => 2 - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenFieldLoadTests]/[method:fieldLoadPopsReceiverAndPushesFieldValue(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenFieldLoadTests]/[method:fieldLoadPopsReceiverAndPushesFieldValue(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index e4f62e1e..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenFieldLoadTests]/[method:fieldLoadPopsReceiverAndPushesFieldValue(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,17 +0,0 @@ -Stack: - * %field__y__0 - * %a - -Instructions: - -%namespaceStructPointer__Example_Project__0 = inttoptr i64 %b to ptr -%fieldPointer__y__0 = getelementptr {i64, i64, i64}, ptr %namespaceStructPointer__Example_Project__0, i64 0, i32 1 -%field__y__0 = load i64, ptr %fieldPointer__y__0 - -Basic blocks: - - -Top-level entities: - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIfTests]/[method:canCompileNestedIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIfTests]/[method:canCompileNestedIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 553da025..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIfTests]/[method:canCompileNestedIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,38 +0,0 @@ -Stack: - * %phi__1 - * %x - -Instructions: - -%phi__1 = phi i64 [ %tmp__0, %ifTrueStart__0 ], [ %phi__0, %ifEnd__1 ] - -Basic blocks: - - %condition__0 = trunc i64 %condition to i1 - br i1 %condition__0, label %ifTrueStart__0, label %ifFalseStart__0 - -ifTrueStart__0: - %tmp__0 = add i64 1, 2 - br label %ifEnd__0 - -ifFalseStart__0: - %condition__1 = trunc i64 1 to i1 - br i1 %condition__1, label %ifTrueStart__1, label %ifFalseStart__1 - -ifTrueStart__1: - %tmp__1 = add i64 101, 102 - br label %ifEnd__1 - -ifFalseStart__1: - %tmp__2 = add i64 201, 202 - br label %ifEnd__1 - -ifEnd__1: - %phi__0 = phi i64 [ %tmp__1, %ifTrueStart__1 ], [ %tmp__2, %ifFalseStart__1 ] - br label %ifEnd__0 - - -Top-level entities: - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIfTests]/[method:ifIsCompiled(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIfTests]/[method:ifIsCompiled(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 14c25d90..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIfTests]/[method:ifIsCompiled(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,26 +0,0 @@ -Stack: - * %phi__0 - * %x - -Instructions: - -%phi__0 = phi i64 [ %tmp__0, %ifTrueStart__0 ], [ %tmp__1, %ifFalseStart__0 ] - -Basic blocks: - - %condition__0 = trunc i64 %condition to i1 - br i1 %condition__0, label %ifTrueStart__0, label %ifFalseStart__0 - -ifTrueStart__0: - %tmp__0 = add i64 1, 2 - br label %ifEnd__0 - -ifFalseStart__0: - %tmp__1 = add i64 101, 102 - br label %ifEnd__0 - - -Top-level entities: - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntAddTests]/[method:intAddIsCompiledToAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntAddTests]/[method:intAddIsCompiledToAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 3c113e2e..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntAddTests]/[method:intAddIsCompiledToAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,15 +0,0 @@ -Stack: - * %tmp__0 - * %a - -Instructions: - -%tmp__0 = add i64 %b, %c - -Basic blocks: - - -Top-level entities: - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index e00c8f8b..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,16 +0,0 @@ -Stack: - * %tmp__1 - * %a - -Instructions: - -%tmp__0 = icmp eq i64 %b, %c -%tmp__1 = zext i1 %tmp__0 to i64 - -Basic blocks: - - -Top-level entities: - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index b654e969..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,16 +0,0 @@ -Stack: - * %tmp__1 - * %a - -Instructions: - -%tmp__0 = icmp ne i64 %b, %c -%tmp__1 = zext i1 %tmp__0 to i64 - -Basic blocks: - - -Top-level entities: - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntSubTests]/[method:intSubIsCompiledToSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntSubTests]/[method:intSubIsCompiledToSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 41985d40..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntSubTests]/[method:intSubIsCompiledToSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,15 +0,0 @@ -Stack: - * %tmp__0 - * %a - -Instructions: - -%tmp__0 = sub i64 %b, %c - -Basic blocks: - - -Top-level entities: - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 2b6bfc00..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,17 +0,0 @@ -Stack: - * %tmp__0 - * %a - -Instructions: - -%tmp__0 = call i64 @shed__runtime__string_add(i64 %b, i64 %c) - -Basic blocks: - - -Top-level entities: - -declare i64 @shed__runtime__string_add(i64 %left, i64 %right) - -Shed locals: - diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 25483a5b..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,54 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] (i32, i32, i32, i32, i32) -> i32 - - type[1] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=1 <f> -Code[1]: - - func[0] size=44 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [1] - - R_WASM_TYPE_INDEX_LEB offset=0x00002b(file=0x000094) type=0 -Custom: - - name: "name" - - func[0] <f> - - func[0] local[0] <callArgNamed__a__0> - - func[0] local[1] <callArgNamed__b__0> - - func[0] local[2] <callArgPositional__1__0> - - func[0] local[3] <callArgPositional__0__0> - - func[0] local[4] <receiver__0> - -Code Disassembly: - -00006f func[0] <f>: - 000070: 01 7f | local[5] type=i32 - 000072: 01 7f | local[6] type=i32 - 000074: 01 7f | local[7] type=i32 - 000076: 01 7f | local[8] type=i32 - 000078: 01 7f | local[9] type=i32 - 00007a: 21 00 | local.set 0 <callArgNamed__a__0> - 00007c: 21 01 | local.set 1 <callArgNamed__b__0> - 00007e: 21 02 | local.set 2 <callArgPositional__1__0> - 000080: 21 03 | local.set 3 <callArgPositional__0__0> - 000082: 21 04 | local.set 4 <receiver__0> - 000084: 20 04 | local.get 4 <receiver__0> - 000086: 20 03 | local.get 3 <callArgPositional__0__0> - 000088: 20 02 | local.get 2 <callArgPositional__1__0> - 00008a: 20 00 | local.get 0 <callArgNamed__a__0> - 00008c: 20 01 | local.get 1 <callArgNamed__b__0> - 00008e: 20 04 | local.get 4 <receiver__0> - 000090: 28 02 00 | i32.load 2 0 - 000093: 11 80 80 80 80 00 00 | call_indirect 0 <env.__indirect_function_table> (type 0) - 00009a: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 8e41f9b3..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,38 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] (i32) -> i32 - - type[1] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=1 <f> -Code[1]: - - func[0] size=20 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [1] - - R_WASM_TYPE_INDEX_LEB offset=0x000013(file=0x000078) type=0 -Custom: - - name: "name" - - func[0] <f> - - func[0] local[0] <receiver__0> - -Code Disassembly: - -00006b func[0] <f>: - 00006c: 01 7f | local[1] type=i32 - 00006e: 21 00 | local.set 0 <receiver__0> - 000070: 20 00 | local.get 0 <receiver__0> - 000072: 20 00 | local.get 0 <receiver__0> - 000074: 28 02 00 | i32.load 2 0 - 000077: 11 80 80 80 80 00 00 | call_indirect 0 <env.__indirect_function_table> (type 0) - 00007e: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 2b159ad8..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,53 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] (i32) -> i32 - - type[1] () -> nil -Import[3]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - func[0] sig=0 <shed__runtime__alloc> <- env.shed__runtime__alloc - - memory[0] pages: initial=0 <- env.__linear_memory -Function[2]: - - func[1] sig=0 <shed__function__f__0> - - func[2] sig=1 <f> -Code[2]: - - func[1] size=5 <shed__function__f__0> - - func[2] size=27 <f> -Custom: - - name: "linking" - - symbol table [count=3] - - 0: F <shed__runtime__alloc> func=0 [ undefined explicit_name binding=global vis=default ] - - 1: F <shed__function__f__0> func=1 [ binding=global vis=default ] - - 2: F <f> func=2 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [2] - - R_WASM_FUNCTION_INDEX_LEB offset=0x000016(file=0x000097) symbol=0 <shed__runtime__alloc> - - R_WASM_TABLE_INDEX_SLEB offset=0x000020(file=0x0000a1) symbol=1 <shed__function__f__0> -Custom: - - name: "name" - - func[0] <shed__runtime__alloc> - - func[1] <shed__function__f__0> - - func[2] <f> - - func[1] local[0] <closurePointer__0> - - func[2] local[0] <closurePointer__0> - -Code Disassembly: - -000087 func[1] <shed__function__f__0>: - 000088: 41 00 | i32.const 0 - 00008a: 0f | return - 00008b: 0b | end -000091 func[2] <f>: - 000092: 01 7f | local[0] type=i32 - 000094: 41 04 | i32.const 4 - 000096: 10 80 80 80 80 00 | call 0 <shed__runtime__alloc> - 00009c: 21 00 | local.set 0 <closurePointer__0> - 00009e: 20 00 | local.get 0 <closurePointer__0> - 0000a0: 41 80 80 80 80 00 | i32.const 0 - 0000a6: 36 02 00 | i32.store 2 0 - 0000a9: 20 00 | local.get 0 <closurePointer__0> - 0000ab: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index ec34c83b..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:freeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,75 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] (i32) -> i32 - - type[1] () -> nil -Import[3]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - func[0] sig=0 <shed__runtime__alloc> <- env.shed__runtime__alloc - - memory[0] pages: initial=0 <- env.__linear_memory -Function[2]: - - func[1] sig=0 <shed__function__f__0> - - func[2] sig=1 <f> -Code[2]: - - func[1] size=23 <shed__function__f__0> - - func[2] size=47 <f> -Custom: - - name: "linking" - - symbol table [count=3] - - 0: F <shed__runtime__alloc> func=0 [ undefined explicit_name binding=global vis=default ] - - 1: F <shed__function__f__0> func=1 [ binding=global vis=default ] - - 2: F <f> func=2 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [2] - - R_WASM_FUNCTION_INDEX_LEB offset=0x00002e(file=0x0000af) symbol=0 <shed__runtime__alloc> - - R_WASM_TABLE_INDEX_SLEB offset=0x000038(file=0x0000b9) symbol=1 <shed__function__f__0> -Custom: - - name: "name" - - func[0] <shed__runtime__alloc> - - func[1] <shed__function__f__0> - - func[2] <f> - - func[1] local[0] <closurePointer__0> - - func[1] local[1] <local__a__0> - - func[1] local[2] <local__b__0> - - func[2] local[0] <local__b__0> - - func[2] local[1] <local__c__0> - - func[2] local[2] <local__a__0> - - func[2] local[3] <closurePointer__0> - -Code Disassembly: - -000087 func[1] <shed__function__f__0>: - 000088: 01 7f | local[0] type=i32 - 00008a: 01 7f | local[1] type=i32 - 00008c: 20 00 | local.get 0 <closurePointer__0> - 00008e: 28 02 04 | i32.load 2 4 - 000091: 21 01 | local.set 1 <local__a__0> - 000093: 20 00 | local.get 0 <closurePointer__0> - 000095: 28 02 08 | i32.load 2 8 - 000098: 21 02 | local.set 2 <local__b__0> - 00009a: 20 01 | local.get 1 <local__a__0> - 00009c: 0f | return - 00009d: 0b | end -0000a3 func[2] <f>: - 0000a4: 01 7f | local[0] type=i32 - 0000a6: 01 7f | local[1] type=i32 - 0000a8: 01 7f | local[2] type=i32 - 0000aa: 01 7f | local[3] type=i32 - 0000ac: 41 0c | i32.const 12 - 0000ae: 10 80 80 80 80 00 | call 0 <shed__runtime__alloc> - 0000b4: 21 03 | local.set 3 <closurePointer__0> - 0000b6: 20 03 | local.get 3 <closurePointer__0> - 0000b8: 41 80 80 80 80 00 | i32.const 0 - 0000be: 36 02 00 | i32.store 2 0 - 0000c1: 20 03 | local.get 3 <closurePointer__0> - 0000c3: 20 02 | local.get 2 <local__a__0> - 0000c5: 36 02 04 | i32.store 2 4 - 0000c8: 20 03 | local.get 3 <closurePointer__0> - 0000ca: 20 00 | local.get 0 <local__b__0> - 0000cc: 36 02 08 | i32.store 2 8 - 0000cf: 20 03 | local.get 3 <closurePointer__0> - 0000d1: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 52572aa0..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,84 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[3]: - - type[0] (i32) -> i32 - - type[1] (i32, i32, i32, i32, i32) -> i32 - - type[2] () -> nil -Import[3]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - func[0] sig=0 <shed__runtime__alloc> <- env.shed__runtime__alloc - - memory[0] pages: initial=0 <- env.__linear_memory -Function[2]: - - func[1] sig=1 <shed__function__f__0> - - func[2] sig=2 <f> -Code[2]: - - func[1] size=29 <shed__function__f__0> - - func[2] size=47 <f> -Custom: - - name: "linking" - - symbol table [count=3] - - 0: F <shed__runtime__alloc> func=0 [ undefined explicit_name binding=global vis=default ] - - 1: F <shed__function__f__0> func=1 [ binding=global vis=default ] - - 2: F <f> func=2 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [2] - - R_WASM_FUNCTION_INDEX_LEB offset=0x000034(file=0x0000be) symbol=0 <shed__runtime__alloc> - - R_WASM_TABLE_INDEX_SLEB offset=0x00003e(file=0x0000c8) symbol=1 <shed__function__f__0> -Custom: - - name: "name" - - func[0] <shed__runtime__alloc> - - func[1] <shed__function__f__0> - - func[2] <f> - - func[1] local[0] <closurePointer__0> - - func[1] local[1] <local__param1__0> - - func[1] local[2] <local__param2__0> - - func[1] local[3] <local__paramA__0> - - func[1] local[4] <local__paramB__0> - - func[1] local[5] <local__a__0> - - func[1] local[6] <local__b__0> - - func[2] local[0] <local__b__0> - - func[2] local[1] <local__c__0> - - func[2] local[2] <local__a__0> - - func[2] local[3] <closurePointer__0> - -Code Disassembly: - -000090 func[1] <shed__function__f__0>: - 000091: 01 7f | local[5] type=i32 - 000093: 01 7f | local[6] type=i32 - 000095: 20 00 | local.get 0 <closurePointer__0> - 000097: 28 02 04 | i32.load 2 4 - 00009a: 21 05 | local.set 5 <local__a__0> - 00009c: 20 00 | local.get 0 <closurePointer__0> - 00009e: 28 02 08 | i32.load 2 8 - 0000a1: 21 06 | local.set 6 <local__b__0> - 0000a3: 20 05 | local.get 5 <local__a__0> - 0000a5: 20 01 | local.get 1 <local__param1__0> - 0000a7: 6a | i32.add - 0000a8: 20 03 | local.get 3 <local__paramA__0> - 0000aa: 6a | i32.add - 0000ab: 0f | return - 0000ac: 0b | end -0000b2 func[2] <f>: - 0000b3: 01 7f | local[0] type=i32 - 0000b5: 01 7f | local[1] type=i32 - 0000b7: 01 7f | local[2] type=i32 - 0000b9: 01 7f | local[3] type=i32 - 0000bb: 41 0c | i32.const 12 - 0000bd: 10 80 80 80 80 00 | call 0 <shed__runtime__alloc> - 0000c3: 21 03 | local.set 3 <closurePointer__0> - 0000c5: 20 03 | local.get 3 <closurePointer__0> - 0000c7: 41 80 80 80 80 00 | i32.const 0 - 0000cd: 36 02 00 | i32.store 2 0 - 0000d0: 20 03 | local.get 3 <closurePointer__0> - 0000d2: 20 02 | local.get 2 <local__a__0> - 0000d4: 36 02 04 | i32.store 2 4 - 0000d7: 20 03 | local.get 3 <closurePointer__0> - 0000d9: 20 00 | local.get 0 <local__b__0> - 0000db: 36 02 08 | i32.store 2 8 - 0000de: 20 03 | local.get 3 <closurePointer__0> - 0000e0: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDiscardTests]/[method:discardCompilesToDrop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDiscardTests]/[method:discardCompilesToDrop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 6aac3c72..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDiscardTests]/[method:discardCompilesToDrop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=3 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 1a | drop - 000068: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenFieldLoadTests]/[method:fieldLoadPopsReceiverAndPushesFieldValue(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenFieldLoadTests]/[method:fieldLoadPopsReceiverAndPushesFieldValue(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 68813e4d..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenFieldLoadTests]/[method:fieldLoadPopsReceiverAndPushesFieldValue(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,31 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=11 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - - func[0] local[0] <receiver__0> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 01 7f | local[0] type=i32 - 000069: 21 00 | local.set 0 <receiver__0> - 00006b: 20 00 | local.get 0 <receiver__0> - 00006d: 28 02 04 | i32.load 2 4 - 000070: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIfTests]/[method:ifIsCompiledToWasmIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIfTests]/[method:ifIsCompiledToWasmIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index d9616ebe..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIfTests]/[method:ifIsCompiledToWasmIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,35 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=18 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 04 7f | if i32 - 000069: 41 01 | i32.const 1 - 00006b: 41 02 | i32.const 2 - 00006d: 6a | i32.add - 00006e: 05 | else - 00006f: 41 e5 00 | i32.const 101 - 000072: 41 e6 00 | i32.const 102 - 000075: 6a | i32.add - 000076: 0b | end - 000077: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntAddTests]/[method:intAddIsCompiledToI32Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntAddTests]/[method:intAddIsCompiledToI32Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index aea5ad1b..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntAddTests]/[method:intAddIsCompiledToI32Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=3 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 6a | i32.add - 000068: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToI32Eq(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToI32Eq(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 2ae5f6cf..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToI32Eq(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=3 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 46 | i32.eq - 000068: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToI32Ne(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToI32Ne(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 59e7bbc1..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToI32Ne(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=3 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 47 | i32.ne - 000068: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntSubTests]/[method:intSubIsCompiledToI32Sub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntSubTests]/[method:intSubIsCompiledToI32Sub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 19c41d5e..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenIntSubTests]/[method:intSubIsCompiledToI32Sub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=3 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 6b | i32.sub - 000068: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 285fad62..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,33 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=10 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - - func[0] local[0] <local__y__0> - - func[0] local[1] <local__x__0> - - func[0] local[2] <local__z__0> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 01 7f | local[0] type=i32 - 000069: 01 7f | local[1] type=i32 - 00006b: 01 7f | local[2] type=i32 - 00006d: 20 01 | local.get 1 <local__x__0> - 00006f: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalStoreTests]/[method:localStoreCompilesToLocalSet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalStoreTests]/[method:localStoreCompilesToLocalSet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 6a1ead86..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalStoreTests]/[method:localStoreCompilesToLocalSet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,29 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=6 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - - func[0] local[0] <local__x__0> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 01 7f | local[0] type=i32 - 000069: 21 00 | local.set 0 <local__x__0> - 00006b: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenNamespaceFieldStoreTests]/[method:namespaceFieldStorePopsFromStackAndUpdatesFieldOnNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenNamespaceFieldStoreTests]/[method:namespaceFieldStorePopsFromStackAndUpdatesFieldOnNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 6d50fbec..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenNamespaceFieldStoreTests]/[method:namespaceFieldStorePopsFromStackAndUpdatesFieldOnNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,42 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=1 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=17 <f> -Data[1]: - - segment[0] <.data.shed__namespace__Example_Project> memory=0 size=12 - init i32=0 - - 0000000: 0000 0000 0000 0000 0000 0000 ............ -Custom: - - name: "linking" - - segment info [count=1] - - 0: .data.shed__namespace__Example_Project p2align=2 [ ] - - symbol table [count=2] - - 0: F <f> func=0 [ binding=global vis=default ] - - 1: D <shed__namespace__Example_Project> segment=0 offset=0 size=12 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [1] - - R_WASM_MEMORY_ADDR_SLEB offset=0x00000c(file=0x00006c) symbol=1 <shed__namespace__Example_Project> -Custom: - - name: "name" - - func[0] <f> - - func[0] local[0] <fieldValue__y__0> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 01 7f | local[0] type=i32 - 000069: 21 00 | local.set 0 <fieldValue__y__0> - 00006b: 41 80 80 80 80 00 | i32.const 0 - 000071: 20 00 | local.get 0 <fieldValue__y__0> - 000073: 36 02 04 | i32.store 2 4 - 000076: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenNamespaceImportTests]/[method:namespaceImportCallsNamespaceImportFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenNamespaceImportTests]/[method:namespaceImportCallsNamespaceImportFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index e6f7b38c..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenNamespaceImportTests]/[method:namespaceImportCallsNamespaceImportFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,35 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] () -> i32 - - type[1] () -> nil -Import[3]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - func[0] sig=0 <shed__namespaceImport__Example_Project> <- env.shed__namespaceImport__Example_Project - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[1] sig=1 <f> -Code[1]: - - func[1] size=8 <f> -Custom: - - name: "linking" - - symbol table [count=2] - - 0: F <shed__namespaceImport__Example_Project> func=0 [ undefined explicit_name binding=global vis=default ] - - 1: F <f> func=1 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [1] - - R_WASM_FUNCTION_INDEX_LEB offset=0x000008(file=0x000099) symbol=0 <shed__namespaceImport__Example_Project> -Custom: - - name: "name" - - func[0] <shed__namespaceImport__Example_Project> - - func[1] <f> - -Code Disassembly: - -000097 func[1] <f>: - 000098: 10 80 80 80 80 00 | call 0 <shed__namespaceImport__Example_Project> - 00009e: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushBoolTests]/[method:pushFalseIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushBoolTests]/[method:pushFalseIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index e7b90dc6..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushBoolTests]/[method:pushFalseIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=4 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 41 00 | i32.const 0 - 000069: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushBoolTests]/[method:pushTrueIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushBoolTests]/[method:pushTrueIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index a9266337..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushBoolTests]/[method:pushTrueIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=4 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 41 01 | i32.const 1 - 000069: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 9f89e279..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushIntTests]/[method:pushIntIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=4 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 41 2a | i32.const 42 - 000069: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:canHaveMultipleStrings(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:canHaveMultipleStrings(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 856f979e..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:canHaveMultipleStrings(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,43 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=1 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=14 <f> -Data[2]: - - segment[0] <.data.shed__string__0> memory=0 size=9 - init i32=0 - - 0000000: 0500 0000 6865 6c6c 6f ....hello - - segment[1] <.data.shed__string__1> memory=0 size=9 - init i32=0 - - 0000000: 0500 0000 776f 726c 64 ....world -Custom: - - name: "linking" - - segment info [count=2] - - 0: .data.shed__string__0 p2align=2 [ ] - - 1: .data.shed__string__1 p2align=2 [ ] - - symbol table [count=3] - - 0: F <f> func=0 [ binding=global vis=default ] - - 1: D <shed__string__0> segment=0 offset=0 size=9 [ binding=global vis=default ] - - 2: D <shed__string__1> segment=1 offset=0 size=9 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [2] - - R_WASM_MEMORY_ADDR_SLEB offset=0x000008(file=0x000068) symbol=1 <shed__string__0> - - R_WASM_MEMORY_ADDR_SLEB offset=0x00000e(file=0x00006e) symbol=2 <shed__string__1> -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 41 80 80 80 80 00 | i32.const 0 - 00006d: 41 80 80 80 80 00 | i32.const 0 - 000073: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 3736a3e2..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,37 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=1 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=8 <f> -Data[1]: - - segment[0] <.data.shed__string__0> memory=0 size=9 - init i32=0 - - 0000000: 0500 0000 6865 6c6c 6f ....hello -Custom: - - name: "linking" - - segment info [count=1] - - 0: .data.shed__string__0 p2align=2 [ ] - - symbol table [count=2] - - 0: F <f> func=0 [ binding=global vis=default ] - - 1: D <shed__string__0> segment=0 offset=0 size=9 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [1] - - R_WASM_MEMORY_ADDR_SLEB offset=0x000008(file=0x000068) symbol=1 <shed__string__0> -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 41 80 80 80 80 00 | i32.const 0 - 00006d: 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 deleted file mode 100644 index e7b90dc6..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushUnitTests]/[method:pushUnitIsCompiledToOperandInStack(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=4 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 41 00 | i32.const 0 - 000069: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenReturnTests]/[method:returnCompilesToReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenReturnTests]/[method:returnCompilesToReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 4ceb9ac1..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenReturnTests]/[method:returnCompilesToReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,27 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[1]: - - type[0] () -> nil -Import[2]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[0] sig=0 <f> -Code[1]: - - func[0] size=3 <f> -Custom: - - name: "linking" - - symbol table [count=1] - - 0: F <f> func=0 [ binding=global vis=default ] -Custom: - - name: "name" - - func[0] <f> - -Code Disassembly: - -000066 func[0] <f>: - 000067: 0f | return - 000068: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index e7e8e6ba..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,35 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] (i32, i32) -> i32 - - type[1] () -> nil -Import[3]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - func[0] sig=0 <shed__runtime__string_add> <- env.shed__runtime__string_add - - memory[0] pages: initial=0 <- env.__linear_memory -Function[1]: - - func[1] sig=1 <f> -Code[1]: - - func[1] size=8 <f> -Custom: - - name: "linking" - - symbol table [count=2] - - 0: F <shed__runtime__string_add> func=0 [ undefined explicit_name binding=global vis=default ] - - 1: F <f> func=1 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [1] - - R_WASM_FUNCTION_INDEX_LEB offset=0x000008(file=0x00008e) symbol=0 <shed__runtime__string_add> -Custom: - - name: "name" - - func[0] <shed__runtime__string_add> - - func[1] <f> - -Code Disassembly: - -00008c func[1] <f>: - 00008d: 10 80 80 80 80 00 | call 0 <shed__runtime__string_add> - 000093: 0b | end
\ No newline at end of file diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index c7b77936..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,49 +0,0 @@ -Compilation unit elements: - -( - function - "shed__function__User__0" - visibility=private - locals=((param "closurePointer__0" data-ptr) (param "local__isActive" int) (param "local__name" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int)) - return-type=int - body=( - (alloc-heap (local "structValuePointer__0") (struct (int int))) - ( - memory-store - pointer=(local "structValuePointer__0") - layout=(struct (int int)) - offset=(0) - value=(local "local__name") - ) - ( - memory-store - pointer=(local "structValuePointer__0") - layout=(struct (int int)) - offset=(1) - value=(local "local__isActive") - ) - (data-ptr-to-int (local "structValue__0") (local "structValuePointer__0")) - (return (local "structValue__0")) - ) -) - -Locals: - * (val "structType__User__0" int) - * (val "closurePointer__User__0" data-ptr) - -Instructions: - -( - (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ())))) - ( - memory-store - pointer=(local "closurePointer__User__0") - layout=(struct (function-ptr (struct ()))) - offset=(0) - value=(function-ptr "shed__function__User__0") - ) - (data-ptr-to-int (local "structType__User__0") (local "closurePointer__User__0")) -) - -Temporary stack: - * structType__User__0 diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index befe46f0..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,23 +0,0 @@ -Compilation unit elements: - - -Locals: - * (val "tmp__y__0" int) - * (val "namespacePointer__Example_Project__0" data-ptr) - -Instructions: - -( - (int-to-data-ptr (local "namespacePointer__Example_Project__0") (local "b")) - ( - memory-load - (local "tmp__y__0") - pointer=(local "namespacePointer__Example_Project__0") - layout=(struct (int int int)) - offset=(1) - ) -) - -Temporary stack: - * tmp__y__0 - * a diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIfTests]/[method:canGenerateCodeForIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIfTests]/[method:canGenerateCodeForIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index d414bdea..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIfTests]/[method:canGenerateCodeForIf(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,47 +0,0 @@ -Compilation unit elements: - - -Locals: - * (val "tmp__conditionInt__0" int) - * (val "tmp__conditionBool__0" bool) - * (val "tmp__0" int) - * (val "tmp__1" int) - * (val "tmp__2" int) - * (val "tmp__3" int) - * (val "tmp__4" int) - * (val "tmp__5" int) - * (val "tmp__6" int) - -Instructions: - -( - (local-store (local "tmp__conditionInt__0") (local "condition")) - (int-to-bool (local "tmp__conditionBool__0") (local "tmp__conditionInt__0")) - ( - if - ((local "tmp__0")) - (local "tmp__conditionBool__0") - ( - block - ( - (local-store (local "tmp__1") (int 1)) - (local-store (local "tmp__2") (int 2)) - (int-add (local "tmp__3") (local "tmp__1") (local "tmp__2")) - ) - results=((local "tmp__3")) - ) - ( - block - ( - (local-store (local "tmp__4") (int 101)) - (local-store (local "tmp__5") (int 102)) - (int-add (local "tmp__6") (local "tmp__4") (local "tmp__5")) - ) - results=((local "tmp__6")) - ) - ) -) - -Temporary stack: - * tmp__0 - * other diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index a0ddbbd8..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,23 +0,0 @@ -Compilation unit elements: - -( - function-decl - "shed__runtime__string_add" - params=(("left" int) ("right" int)) - return-type=int -) - -Locals: - * ("tmp__0" int) - -Args: - -Instructions: - -( - (call (local "tmp__0") "shed__runtime__string_add" ((local "b") (local "c"))) -) - -Temporary stack: - * tmp__0 - * a diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntAddTests]/[method:intAddGeneratesIntAddInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntAddTests]/[method:intAddGeneratesIntAddInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 31ddfe0a..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntAddTests]/[method:intAddGeneratesIntAddInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,17 +0,0 @@ -Compilation unit elements: - - -Locals: - * ("tmp__0" int) - -Args: - -Instructions: - -( - (int-add (local "tmp__0") (local "b") (local "c")) -) - -Temporary stack: - * tmp__0 - * a |
