aboutsummaryrefslogtreecommitdiff
path: root/snapshots
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-04-08 18:52:26 +0100
committerMichael Williamson <mike@zwobble.org>2026-04-08 18:52:26 +0100
commit634a91a27700a139d714501a27021a1db732c966 (patch)
treeafa9a38bb6f85e9293f8514bd252c255de3dbb33 /snapshots
parent109eb835082418d55b099301e151a7d9331135e0 (diff)
Allow multiple destinations in Patio calls
Diffstat (limited to 'snapshots')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDeclareNativeFunctionTests]/[method:canDeclareNativeFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected18
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected16
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected12
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected6
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected6
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithMultipleResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithNoResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected4
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected12
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntAddTests]/[method:canGenerateCodeForIntAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanOrEqualTests]/[method:canGenerateCodeForIntGreaterThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanTests]/[method:canGenerateCodeForIntGreaterThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanOrEqualTests]/[method:canGenerateCodeForIntLessThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanTests]/[method:canGenerateCodeForIntLessThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntMultiplyTests]/[method:canGenerateCodeForIntMultiply(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceImportTests]/[method:canGenerateCodeForNamespaceImport(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceTests]/[method:canDefineNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected12
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioPushIntTests]/[method:pushIntInstructionGeneratesIntGetInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioResumeTests]/[method:resumeInstructionGeneratesResumeInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected6
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioReturnTests]/[method:returnInstructionGeneratesReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected4
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected12
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:effectHandlerIsPoppedBeforeReturn(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected14
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected2
35 files changed, 102 insertions, 102 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index f49908e2..5ad53ff7 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -27,7 +27,7 @@ Instructions:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr))))
element-offsets=(1 0)
)
- (call-pointer (local "tmp__0") (local "callFunctionPointer__0") ((local "closurePointer__0") (local "callArgPositional__0__0") (local "callArgPositional__1__0") (local "callArgNamed__a__0") (local "callArgNamed__b__0")))
+ (call-pointer ((local "tmp__0")) (local "callFunctionPointer__0") ((local "closurePointer__0") (local "callArgPositional__0__0") (local "callArgPositional__1__0") (local "callArgNamed__a__0") (local "callArgNamed__b__0")))
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 1c00544f..976554f3 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioCallTests]/[method:canCallFunctionWithNoArgs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -19,7 +19,7 @@ Instructions:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr))))
element-offsets=(1 0)
)
- (call-pointer (local "tmp__0") (local "callFunctionPointer__0") ((local "closurePointer__0")))
+ (call-pointer ((local "tmp__0")) (local "callFunctionPointer__0") ((local "closurePointer__0")))
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDeclareNativeFunctionTests]/[method:canDeclareNativeFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDeclareNativeFunctionTests]/[method:canDeclareNativeFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 9c0b8a8a..ed9c4113 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDeclareNativeFunctionTests]/[method:canDeclareNativeFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDeclareNativeFunctionTests]/[method:canDeclareNativeFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -20,7 +20,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 3)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 3)))
(
memory-store
pointer=(local "closurePointer__f__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index bdfe2eb4..ffea4f2d 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineEffectTests]/[method:canGenerateCodeForDefineEffect(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -26,8 +26,8 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (param "local__fence" int) (val "gcRootStackIndex__0" int) (val "effectHandlerMethod__0" int) (val "tmp__0" int) (val "closurePointer__1" data-ptr) (val "callFunctionPointer__0" function-ptr))
return-types=(int)
body=(
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call (local "effectHandlerMethod__0") "shed__runtime__effects_find_handler_method" ((int-const 3) (int-const 0)))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "effectHandlerMethod__0")) "shed__runtime__effects_find_handler_method" ((int-const 3) (int-const 0)))
(int-to-data-ptr (local "closurePointer__1") (local "effectHandlerMethod__0"))
(
memory-load
@@ -36,7 +36,7 @@ Compilation unit elements:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr))))
element-offsets=(1 0)
)
- (call-pointer (local "tmp__0") (local "callFunctionPointer__0") ((local "closurePointer__1") (local "local__fence")))
+ (call-pointer ((local "tmp__0")) (local "callFunctionPointer__0") ((local "closurePointer__1") (local "local__fence")))
(return ((local "tmp__0")))
)
)
@@ -47,8 +47,8 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (param "local__arg0" int) (val "gcRootStackIndex__0" int) (val "effectHandlerMethod__0" int) (val "tmp__0" int) (val "closurePointer__1" data-ptr) (val "callFunctionPointer__0" function-ptr))
return-types=(int)
body=(
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call (local "effectHandlerMethod__0") "shed__runtime__effects_find_handler_method" ((int-const 3) (int-const 1)))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "effectHandlerMethod__0")) "shed__runtime__effects_find_handler_method" ((int-const 3) (int-const 1)))
(int-to-data-ptr (local "closurePointer__1") (local "effectHandlerMethod__0"))
(
memory-load
@@ -57,7 +57,7 @@ Compilation unit elements:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr))))
element-offsets=(1 0)
)
- (call-pointer (local "tmp__0") (local "callFunctionPointer__0") ((local "closurePointer__1") (local "local__arg0")))
+ (call-pointer ((local "tmp__0")) (local "callFunctionPointer__0") ((local "closurePointer__1") (local "local__arg0")))
(return ((local "tmp__0")))
)
)
@@ -73,7 +73,7 @@ Locals:
Instructions:
(
- (call (local "userDefinedEffectPointer__State__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 4)))
+ (call ((local "userDefinedEffectPointer__State__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 4)))
(
memory-store
pointer=(local "userDefinedEffectPointer__State__0")
@@ -88,7 +88,7 @@ Instructions:
element-offsets=(1 1)
value=(int-const 0)
)
- (call (local "closurePointer__read__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 5)))
+ (call ((local "closurePointer__read__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 5)))
(
memory-store
pointer=(local "closurePointer__read__0")
@@ -104,7 +104,7 @@ Instructions:
element-offsets=(1 0)
value=(local "userDefinedMethod__read__0")
)
- (call (local "closurePointer__write__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 5)))
+ (call ((local "closurePointer__write__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 5)))
(
memory-store
pointer=(local "closurePointer__write__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 9c851cca..c3525ad1 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -39,9 +39,9 @@ Compilation unit elements:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int))))))
element-offsets=(1 2 1)
)
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
- (call _ "shed__runtime__gc_push_root" ((local "local__a")))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
+ (call () "shed__runtime__gc_push_root" ((local "local__a")))
(return ((local "local__a")))
)
)
@@ -61,7 +61,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int)))))))) (int32-const 3)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int)))))))) (int32-const 3)))
(
memory-store
pointer=(local "closurePointer__f__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 1fabfacf..857ad11a 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -25,10 +25,10 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (val "gcRootStackIndex__0" int) (val "tmp__0" int))
return-types=(int)
body=(
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
(local-store (local "tmp__0") (int-const 0))
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
- (call _ "shed__runtime__gc_push_root" ((local "tmp__0")))
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
+ (call () "shed__runtime__gc_push_root" ((local "tmp__0")))
(return ((local "tmp__0")))
)
)
@@ -46,7 +46,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 3)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 3)))
(
memory-store
pointer=(local "closurePointer__f__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 3c464dad..194c7937 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -37,8 +37,8 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (val "gcRootStackIndex__0" int) (val "effectHandler__0" data-ptr) (val "effectHandler__1" data-ptr) (val "tmp__0" int))
return-types=(int)
body=(
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call (local "effectHandler__0") "shed__runtime__effects_get_handler" ())
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "effectHandler__0")) "shed__runtime__effects_get_handler" ())
(
memory-load
(local "effectHandler__1")
@@ -46,11 +46,11 @@ Compilation unit elements:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct (data-ptr)) (struct ())))))
element-offsets=(1 1 0)
)
- (call _ "shed__runtime__effects_set_handler" ((local "effectHandler__1")))
+ (call () "shed__runtime__effects_set_handler" ((local "effectHandler__1")))
(local-store (local "tmp__0") (int-const 0))
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
- (call _ "shed__runtime__gc_push_root" ((local "tmp__0")))
- (call _ "shed__runtime__effects_set_handler" ((local "effectHandler__0")))
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
+ (call () "shed__runtime__gc_push_root" ((local "tmp__0")))
+ (call () "shed__runtime__effects_set_handler" ((local "effectHandler__0")))
(return ((local "tmp__0")))
)
)
@@ -69,7 +69,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct (data-ptr)) (struct ()))))))) (int32-const 3)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct (data-ptr)) (struct ()))))))) (int32-const 3)))
(
memory-store
pointer=(local "closurePointer__f__0")
@@ -77,7 +77,7 @@ Instructions:
element-offsets=(1 0)
value=(function-ptr-const "shed__effectHandlerMethod__f__0")
)
- (call (local "effectHandlerCurrent__0") "shed__runtime__effects_get_handler" ())
+ (call ((local "effectHandlerCurrent__0")) "shed__runtime__effects_get_handler" ())
(
memory-store
pointer=(local "closurePointer__f__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 23c66251..d1e0edda 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -39,9 +39,9 @@ Compilation unit elements:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int))))))
element-offsets=(1 2 1)
)
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
- (call _ "shed__runtime__gc_push_root" ((local "local__a")))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
+ (call () "shed__runtime__gc_push_root" ((local "local__a")))
(return ((local "local__a")))
)
)
@@ -61,7 +61,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int)))))))) (int32-const 3)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int)))))))) (int32-const 3)))
(
memory-store
pointer=(local "closurePointer__f__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 4cdda701..e6e81bbc 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -39,9 +39,9 @@ Compilation unit elements:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
element-offsets=(1 2 1)
)
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
- (call _ "shed__runtime__gc_push_root" ((local "local__a")))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
+ (call () "shed__runtime__gc_push_root" ((local "local__a")))
(return ((local "local__a")))
)
)
@@ -61,7 +61,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))))) (int32-const 3)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))))) (int32-const 3)))
(
memory-store
pointer=(local "closurePointer__f__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 8adc1386..e2019328 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -45,11 +45,11 @@ Compilation unit elements:
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int))))))
element-offsets=(1 2 1)
)
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call (local "binaryOpResult__0") "shed__runtime__int_add" ((local "local__a") (local "local__param1")))
- (call (local "binaryOpResult__1") "shed__runtime__int_add" ((local "binaryOpResult__0") (local "local__paramA")))
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
- (call _ "shed__runtime__gc_push_root" ((local "binaryOpResult__1")))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "binaryOpResult__0")) "shed__runtime__int_add" ((local "local__a") (local "local__param1")))
+ (call ((local "binaryOpResult__1")) "shed__runtime__int_add" ((local "binaryOpResult__0") (local "local__paramA")))
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
+ (call () "shed__runtime__gc_push_root" ((local "binaryOpResult__1")))
(return ((local "binaryOpResult__1")))
)
)
@@ -69,7 +69,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int)))))))) (int32-const 3)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (int int)))))))) (int32-const 3)))
(
memory-store
pointer=(local "closurePointer__f__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 719174fd..23e143ef 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -19,8 +19,8 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (param "local__isActive" int) (param "local__name" int) (val "gcRootStackIndex__0" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int))
return-types=(int)
body=(
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call (local "structValuePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "structValuePointer__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
(
memory-store
pointer=(local "structValuePointer__0")
@@ -68,7 +68,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__User__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4)))
+ (call ((local "closurePointer__User__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4)))
(
memory-store
pointer=(local "closurePointer__User__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 2583eee5..7c1403a4 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -19,8 +19,8 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (param "local__name" int) (param "local__isActive" int) (val "gcRootStackIndex__0" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int))
return-types=(int)
body=(
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
- (call (local "structValuePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "structValuePointer__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
(
memory-store
pointer=(local "structValuePointer__0")
@@ -68,7 +68,7 @@ Locals:
Instructions:
(
- (call (local "closurePointer__User__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4)))
+ (call ((local "closurePointer__User__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4)))
(
memory-store
pointer=(local "closurePointer__User__0")
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithMultipleResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithMultipleResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 1fd4b1ff..b8aaf74a 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithMultipleResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithMultipleResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -29,16 +29,16 @@ Instructions:
(
block
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 1)))
- (call (local "int__1") "shed__runtime__int_create" ((int-const 2)))
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 1)))
+ (call ((local "int__1")) "shed__runtime__int_create" ((int-const 2)))
)
results=((local "int__0") (local "int__1"))
)
(
block
(
- (call (local "int__2") "shed__runtime__int_create" ((int-const 101)))
- (call (local "int__3") "shed__runtime__int_create" ((int-const 102)))
+ (call ((local "int__2")) "shed__runtime__int_create" ((int-const 101)))
+ (call ((local "int__3")) "shed__runtime__int_create" ((int-const 102)))
)
results=((local "int__2") (local "int__3"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithNoResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithNoResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 2e088c7d..a3f461ea 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithNoResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithNoResults(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -25,14 +25,14 @@ Instructions:
(
block
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 1)))
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 1)))
)
results=()
)
(
block
(
- (call (local "int__1") "shed__runtime__int_create" ((int-const 101)))
+ (call ((local "int__1")) "shed__runtime__int_create" ((int-const 101)))
)
results=()
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 4cb1115a..4bdfb3af 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIfTests]/[method:canGenerateCodeForIfWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -36,18 +36,18 @@ Instructions:
(
block
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 1)))
- (call (local "int__1") "shed__runtime__int_create" ((int-const 2)))
- (call (local "binaryOpResult__0") "shed__runtime__int_add" ((local "int__0") (local "int__1")))
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 1)))
+ (call ((local "int__1")) "shed__runtime__int_create" ((int-const 2)))
+ (call ((local "binaryOpResult__0")) "shed__runtime__int_add" ((local "int__0") (local "int__1")))
)
results=((local "binaryOpResult__0"))
)
(
block
(
- (call (local "int__2") "shed__runtime__int_create" ((int-const 101)))
- (call (local "int__3") "shed__runtime__int_create" ((int-const 102)))
- (call (local "binaryOpResult__1") "shed__runtime__int_add" ((local "int__2") (local "int__3")))
+ (call ((local "int__2")) "shed__runtime__int_create" ((int-const 101)))
+ (call ((local "int__3")) "shed__runtime__int_create" ((int-const 102)))
+ (call ((local "binaryOpResult__1")) "shed__runtime__int_add" ((local "int__2") (local "int__3")))
)
results=((local "binaryOpResult__1"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntAddTests]/[method:canGenerateCodeForIntAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntAddTests]/[method:canGenerateCodeForIntAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 84a9c810..bb699af6 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntAddTests]/[method:canGenerateCodeForIntAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntAddTests]/[method:canGenerateCodeForIntAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -13,7 +13,7 @@ Locals:
Instructions:
(
- (call (local "binaryOpResult__0") "shed__runtime__int_add" ((local "b") (local "c")))
+ (call ((local "binaryOpResult__0")) "shed__runtime__int_add" ((local "b") (local "c")))
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 0b72a103..c44d2740 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -14,7 +14,7 @@ Locals:
Instructions:
(
- (call (local "tmp__0") "shed__runtime__int_equals" ((local "b") (local "c")))
+ (call ((local "tmp__0")) "shed__runtime__int_equals" ((local "b") (local "c")))
(bool-to-int (local "binaryOpResult__0") (local "tmp__0"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanOrEqualTests]/[method:canGenerateCodeForIntGreaterThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanOrEqualTests]/[method:canGenerateCodeForIntGreaterThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index ffb1e042..ca55d50e 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanOrEqualTests]/[method:canGenerateCodeForIntGreaterThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanOrEqualTests]/[method:canGenerateCodeForIntGreaterThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -14,7 +14,7 @@ Locals:
Instructions:
(
- (call (local "tmp__0") "shed__runtime__int_greater_than_or_equal" ((local "b") (local "c")))
+ (call ((local "tmp__0")) "shed__runtime__int_greater_than_or_equal" ((local "b") (local "c")))
(bool-to-int (local "binaryOpResult__0") (local "tmp__0"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanTests]/[method:canGenerateCodeForIntGreaterThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanTests]/[method:canGenerateCodeForIntGreaterThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 6b9eed27..605e7948 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanTests]/[method:canGenerateCodeForIntGreaterThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanTests]/[method:canGenerateCodeForIntGreaterThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -14,7 +14,7 @@ Locals:
Instructions:
(
- (call (local "tmp__0") "shed__runtime__int_greater_than" ((local "b") (local "c")))
+ (call ((local "tmp__0")) "shed__runtime__int_greater_than" ((local "b") (local "c")))
(bool-to-int (local "binaryOpResult__0") (local "tmp__0"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanOrEqualTests]/[method:canGenerateCodeForIntLessThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanOrEqualTests]/[method:canGenerateCodeForIntLessThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index ae559ced..7b277c33 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanOrEqualTests]/[method:canGenerateCodeForIntLessThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanOrEqualTests]/[method:canGenerateCodeForIntLessThanOrEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -14,7 +14,7 @@ Locals:
Instructions:
(
- (call (local "tmp__0") "shed__runtime__int_less_than_or_equal" ((local "b") (local "c")))
+ (call ((local "tmp__0")) "shed__runtime__int_less_than_or_equal" ((local "b") (local "c")))
(bool-to-int (local "binaryOpResult__0") (local "tmp__0"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanTests]/[method:canGenerateCodeForIntLessThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanTests]/[method:canGenerateCodeForIntLessThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index e637488d..f0ecedde 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanTests]/[method:canGenerateCodeForIntLessThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntLessThanTests]/[method:canGenerateCodeForIntLessThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -14,7 +14,7 @@ Locals:
Instructions:
(
- (call (local "tmp__0") "shed__runtime__int_less_than" ((local "b") (local "c")))
+ (call ((local "tmp__0")) "shed__runtime__int_less_than" ((local "b") (local "c")))
(bool-to-int (local "binaryOpResult__0") (local "tmp__0"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntMultiplyTests]/[method:canGenerateCodeForIntMultiply(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntMultiplyTests]/[method:canGenerateCodeForIntMultiply(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 77fb1e52..83963d58 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntMultiplyTests]/[method:canGenerateCodeForIntMultiply(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntMultiplyTests]/[method:canGenerateCodeForIntMultiply(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -13,7 +13,7 @@ Locals:
Instructions:
(
- (call (local "binaryOpResult__0") "shed__runtime__int_multiply" ((local "b") (local "c")))
+ (call ((local "binaryOpResult__0")) "shed__runtime__int_multiply" ((local "b") (local "c")))
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 3319da54..49426b90 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntNotEqualTests]/[method:canGenerateCodeForIntNotEqual(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -14,7 +14,7 @@ Locals:
Instructions:
(
- (call (local "tmp__0") "shed__runtime__int_not_equal" ((local "b") (local "c")))
+ (call ((local "tmp__0")) "shed__runtime__int_not_equal" ((local "b") (local "c")))
(bool-to-int (local "binaryOpResult__0") (local "tmp__0"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 4649ab01..d7f4c90e 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -13,7 +13,7 @@ Locals:
Instructions:
(
- (call (local "binaryOpResult__0") "shed__runtime__int_sub" ((local "b") (local "c")))
+ (call ((local "binaryOpResult__0")) "shed__runtime__int_sub" ((local "b") (local "c")))
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 65a0f11c..e91168d4 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -16,7 +16,7 @@ Instructions:
(
loop
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 1)))
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 1)))
)
)
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceImportTests]/[method:canGenerateCodeForNamespaceImport(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceImportTests]/[method:canGenerateCodeForNamespaceImport(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 6331c0e1..2bf260ba 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceImportTests]/[method:canGenerateCodeForNamespaceImport(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceImportTests]/[method:canGenerateCodeForNamespaceImport(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -13,7 +13,7 @@ Locals:
Instructions:
(
- (call (local "namespaceValue__0") "shed__namespaceImport__Example_Project" ())
+ (call ((local "namespaceValue__0")) "shed__namespaceImport__Example_Project" ())
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceTests]/[method:canDefineNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceTests]/[method:canDefineNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 26b793e7..cdb2b288 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceTests]/[method:canDefineNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioNamespaceTests]/[method:canDefineNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -32,10 +32,10 @@
locals=((param "closurePointer__0" data-ptr) (val "gcRootStackIndex__0" int) (val "tmp__0" int))
return-types=(int)
body=(
- (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
+ (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ())
(local-store (local "tmp__0") (int-const 0))
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
- (call _ "shed__runtime__gc_push_root" ((local "tmp__0")))
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
+ (call () "shed__runtime__gc_push_root" ((local "tmp__0")))
(return ((local "tmp__0")))
)
)
@@ -46,7 +46,7 @@
locals=((val "namespaceValue__0" data-ptr) (val "closure__f__0" int) (val "closurePointer__f__0" data-ptr))
return-types=()
body=(
- (call (local "namespaceValue__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
+ (call ((local "namespaceValue__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
(
memory-store
pointer=(local "namespaceValue__0")
@@ -68,7 +68,7 @@
element-offsets=()
value=(local "namespaceValue__0")
)
- (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4)))
+ (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4)))
(
memory-store
pointer=(local "closurePointer__f__0")
@@ -114,7 +114,7 @@
(
block
(
- (call _ "shed__namespaceInit__An_Example" ())
+ (call () "shed__namespaceInit__An_Example" ())
)
results=()
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioPushIntTests]/[method:pushIntInstructionGeneratesIntGetInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioPushIntTests]/[method:pushIntInstructionGeneratesIntGetInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 70be4ab4..a2faffcf 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioPushIntTests]/[method:pushIntInstructionGeneratesIntGetInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioPushIntTests]/[method:pushIntInstructionGeneratesIntGetInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -13,7 +13,7 @@ Locals:
Instructions:
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 42)))
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 42)))
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioResumeTests]/[method:resumeInstructionGeneratesResumeInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioResumeTests]/[method:resumeInstructionGeneratesResumeInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 643d2466..e7c5faf0 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioResumeTests]/[method:resumeInstructionGeneratesResumeInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioResumeTests]/[method:resumeInstructionGeneratesResumeInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -18,9 +18,9 @@ Locals:
Instructions:
(
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gc_root_stack_index")))
- (call _ "shed__runtime__gc_push_root" ((local "b")))
- (call _ "shed__runtime__effects_set_handler" ((local "effect_handler")))
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gc_root_stack_index")))
+ (call () "shed__runtime__gc_push_root" ((local "b")))
+ (call () "shed__runtime__effects_set_handler" ((local "effect_handler")))
(return ((local "b")))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioReturnTests]/[method:returnInstructionGeneratesReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioReturnTests]/[method:returnInstructionGeneratesReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 69abd5ce..770721cb 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioReturnTests]/[method:returnInstructionGeneratesReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioReturnTests]/[method:returnInstructionGeneratesReturnInstruction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -18,8 +18,8 @@ Locals:
Instructions:
(
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gc_root_stack_index")))
- (call _ "shed__runtime__gc_push_root" ((local "b")))
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gc_root_stack_index")))
+ (call () "shed__runtime__gc_push_root" ((local "b")))
(return ((local "b")))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index bf98e176..f9876bd6 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -13,7 +13,7 @@ Locals:
Instructions:
(
- (call (local "binaryOpResult__0") "shed__runtime__string_add" ((local "b") (local "c")))
+ (call ((local "binaryOpResult__0")) "shed__runtime__string_add" ((local "b") (local "c")))
)
Temporary stack:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 23349aad..93624c03 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -46,9 +46,9 @@ Instructions:
(
block
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 1)))
- (call (local "int__1") "shed__runtime__int_create" ((int-const 2)))
- (call (local "binaryOpResult__0") "shed__runtime__int_add" ((local "int__0") (local "int__1")))
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 1)))
+ (call ((local "int__1")) "shed__runtime__int_create" ((int-const 2)))
+ (call ((local "binaryOpResult__0")) "shed__runtime__int_add" ((local "int__0") (local "int__1")))
)
results=((local "binaryOpResult__0"))
)
@@ -59,9 +59,9 @@ Instructions:
(
block
(
- (call (local "int__2") "shed__runtime__int_create" ((int-const 101)))
- (call (local "int__3") "shed__runtime__int_create" ((int-const 102)))
- (call (local "binaryOpResult__1") "shed__runtime__int_add" ((local "int__2") (local "int__3")))
+ (call ((local "int__2")) "shed__runtime__int_create" ((int-const 101)))
+ (call ((local "int__3")) "shed__runtime__int_create" ((int-const 102)))
+ (call ((local "binaryOpResult__1")) "shed__runtime__int_add" ((local "int__2") (local "int__3")))
)
results=((local "binaryOpResult__1"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index a25edbc3..1abb4448 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -34,7 +34,7 @@ Locals:
Instructions:
(
- (call (local "effectHandler__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (data-ptr (struct (int int int)))))))) (int32-const 3)))
+ (call ((local "effectHandler__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (data-ptr (struct (int int int)))))))) (int32-const 3)))
(
memory-store
pointer=(local "effectHandler__0")
@@ -56,7 +56,7 @@ Instructions:
element-offsets=(1 1 2)
value=(int-const 0)
)
- (call _ "shed__runtime__effects_push_handler" ((local "effectHandler__0")))
+ (call () "shed__runtime__effects_push_handler" ((local "effectHandler__0")))
(
memory-store
pointer=(local "effectHandler__0")
@@ -97,8 +97,8 @@ Instructions:
(
block
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 42)))
- (call _ "shed__runtime__effects_pop_handler" ())
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 42)))
+ (call () "shed__runtime__effects_pop_handler" ())
)
results=((local "int__0"))
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:effectHandlerIsPoppedBeforeReturn(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:effectHandlerIsPoppedBeforeReturn(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 55e692fe..652f341b 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:effectHandlerIsPoppedBeforeReturn(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTryTests]/[method:effectHandlerIsPoppedBeforeReturn(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -46,7 +46,7 @@ Locals:
Instructions:
(
- (call (local "effectHandler__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (data-ptr (struct (int)))))))) (int32-const 3)))
+ (call ((local "effectHandler__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (data-ptr (struct (int)))))))) (int32-const 3)))
(
memory-store
pointer=(local "effectHandler__0")
@@ -54,7 +54,7 @@ Instructions:
element-offsets=(1 1 0)
value=(int-const 0)
)
- (call _ "shed__runtime__effects_push_handler" ((local "effectHandler__0")))
+ (call () "shed__runtime__effects_push_handler" ((local "effectHandler__0")))
(
memory-store
pointer=(local "effectHandler__0")
@@ -81,12 +81,12 @@ Instructions:
(
block
(
- (call (local "int__0") "shed__runtime__int_create" ((int-const 42)))
- (call _ "shed__runtime__effects_pop_handler" ())
- (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex")))
- (call _ "shed__runtime__gc_push_root" ((local "int__0")))
+ (call ((local "int__0")) "shed__runtime__int_create" ((int-const 42)))
+ (call () "shed__runtime__effects_pop_handler" ())
+ (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex")))
+ (call () "shed__runtime__gc_push_root" ((local "int__0")))
(return ((local "int__0")))
- (call _ "shed__runtime__effects_pop_handler" ())
+ (call () "shed__runtime__effects_pop_handler" ())
)
results=()
)
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 0a732971..bd7b65c2 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -20,7 +20,7 @@ Instructions:
(local-store (local "tupleElement__2__0") (local "d"))
(local-store (local "tupleElement__1__0") (local "c"))
(local-store (local "tupleElement__0__0") (local "b"))
- (call (local "tuplePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int int)))))) (int32-const 3)))
+ (call ((local "tuplePointer__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int int)))))) (int32-const 3)))
(
memory-store
pointer=(local "tuplePointer__0")