feat(studio): improve compiler reliability and AI diagnostics
Preserve structured diagnostics, source attribution, phase outcomes and revision context through compiler, Studio, LSP, MCP and JavaFX. Add project service discovery and resilient VS Code reconnection. Correct all eight reproduced PBS production failures in expression context, sibling executable bindings and nominal owner identity. Consolidate specs, lessons, immutable baseline evidence and the maintained source-to-guest qualification runner. Validation: required Gradle gate recorded 724 tests, with 711 passed and 13 skipped. Full corpus passed 168 compilation observations and 108 guest runs (104 successes and four deliberate faults); supplemental controls passed 42 compilations and 16 guest runs. TypeScript compilation, two Node discovery tests and discussion validation passed.
This commit is contained in:
+172
@@ -0,0 +1,172 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1620,
|
||||
"bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@560348e6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "check",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "contextual-overloads",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+201
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/cartridge",
|
||||
"bytecodeBytes": 1620,
|
||||
"bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@560348e6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "check",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "contextual-overloads",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/cartridge",
|
||||
"bytecodeBytes": 1642,
|
||||
"bytecodeSha256": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@560348e6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@560348e6, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3214ee6, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "check",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3224a577, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cd629b3, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@589da3f3, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a00d9cf, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c012563, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@14a50707, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@e3c0e40, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@329dbdbf, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@7354b8c5, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ef782af, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bf48f6, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@3fce8fd9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/contextual-overloads/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "contextual-overloads",
|
||||
"origin": "checkout",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+197
@@ -0,0 +1,197 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [],
|
||||
"status": "public_compile_rejected",
|
||||
"exception": [
|
||||
{
|
||||
"class": "p.studio.compiler.exceptions.BuildException",
|
||||
"message": "issues found on pipeline stage: analyze"
|
||||
}
|
||||
],
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "df108770-55a9-4190-8336-d938e1b12c92:0",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.assignment-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Assignment target 'count' does not resolve",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.assignment-target",
|
||||
"summary": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"rule": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "assignment",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "count",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"binding": {
|
||||
"value": "unresolved",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 29,
|
||||
"end": 34,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 34
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.assignment-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-global",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "77656e2d-4169-471e-8121-edf9b88a1b60:0",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.assignment-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Assignment target 'count' does not resolve",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.assignment-target",
|
||||
"summary": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"rule": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "assignment",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "count",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"binding": {
|
||||
"value": "unresolved",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 29,
|
||||
"end": 34,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 34
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.assignment-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-global",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "5820c462-1b73-441b-824b-2a88f258573b:0",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.assignment-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Assignment target 'count' does not resolve",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.assignment-target",
|
||||
"summary": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"rule": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "assignment",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "count",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"binding": {
|
||||
"value": "unresolved",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 29,
|
||||
"end": 34,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 34
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.assignment-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-global/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-global",
|
||||
"origin": "checkout",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+151
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [],
|
||||
"status": "public_compile_rejected",
|
||||
"exception": [
|
||||
{
|
||||
"class": "p.studio.compiler.exceptions.BuildException",
|
||||
"message": "issues found on pipeline stage: analyze"
|
||||
}
|
||||
],
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "8a627a43-d275-44bd-b833-60e0f73b8d6f:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "No callable overload matches the provided argument; numeric carriers require explicit conversion",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs",
|
||||
"fileId": 1,
|
||||
"span": {
|
||||
"start": 38,
|
||||
"end": 50,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 50
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"source": {
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/helper.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/helper.pbs",
|
||||
"relativePath": "src/helper.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-overload",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "3ee9448e-f8ef-4639-8695-68dabc6b70c6:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "No callable overload matches the provided argument; numeric carriers require explicit conversion",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs",
|
||||
"fileId": 1,
|
||||
"span": {
|
||||
"start": 38,
|
||||
"end": 50,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 50
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"source": {
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/helper.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/helper.pbs",
|
||||
"relativePath": "src/helper.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-overload",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "e873397c-de73-4d74-8324-f4f705fa6edc:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "No callable overload matches the provided argument; numeric carriers require explicit conversion",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs",
|
||||
"fileId": 1,
|
||||
"span": {
|
||||
"start": 38,
|
||||
"end": 50,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 50
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"source": {
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/helper.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/helper.pbs",
|
||||
"relativePath": "src/helper.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-overload/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-overload",
|
||||
"origin": "checkout",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+286
@@ -0,0 +1,286 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [],
|
||||
"status": "public_compile_rejected",
|
||||
"exception": [
|
||||
{
|
||||
"message": "issues found on pipeline stage: analyze",
|
||||
"class": "p.studio.compiler.exceptions.BuildException"
|
||||
}
|
||||
],
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "53e57eed-fb8e-460c-b593-dab07133f827:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Invalid member access target",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
},
|
||||
{
|
||||
"issueId": "53e57eed-fb8e-460c-b593-dab07133f827:1",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.call-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Apply/call target is not callable",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.call-target",
|
||||
"summary": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"rule": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "application",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "Counter.value",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"calleeClassification": {
|
||||
"value": "UNKNOWN",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"argumentType": {
|
||||
"value": "UNIT",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"resolutionConstraints": {
|
||||
"value": null,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"candidateCount": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.call-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-service",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+285
@@ -0,0 +1,285 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "990df011-806a-4a87-9c1c-abddcdcac63e:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Invalid member access target",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
},
|
||||
{
|
||||
"issueId": "990df011-806a-4a87-9c1c-abddcdcac63e:1",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.call-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Apply/call target is not callable",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.call-target",
|
||||
"summary": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"rule": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "application",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "Counter.value",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"calleeClassification": {
|
||||
"value": "UNKNOWN",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"argumentType": {
|
||||
"value": "UNIT",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"resolutionConstraints": {
|
||||
"value": null,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"candidateCount": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.call-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-service",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+285
@@ -0,0 +1,285 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "61593dcc-fc17-4b29-9b3c-39814fd25682:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Invalid member access target",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
},
|
||||
{
|
||||
"issueId": "61593dcc-fc17-4b29-9b3c-39814fd25682:1",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.call-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Apply/call target is not callable",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.call-target",
|
||||
"summary": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"rule": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "application",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "Counter.value",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"calleeClassification": {
|
||||
"value": "UNKNOWN",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"argumentType": {
|
||||
"value": "UNIT",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"resolutionConstraints": {
|
||||
"value": null,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"candidateCount": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.call-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/private-service/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-service",
|
||||
"origin": "checkout",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+183
@@ -0,0 +1,183 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1846,
|
||||
"bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a07d605, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "receiver",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "arg",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@295cf707, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.read",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b7fdc8, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51c693d, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "receiver-argument-order",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/cartridge",
|
||||
"bytecodeBytes": 1846,
|
||||
"bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a07d605, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "receiver",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "arg",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@295cf707, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.read",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b7fdc8, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51c693d, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "receiver-argument-order",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+207
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/cartridge",
|
||||
"bytecodeBytes": 1868,
|
||||
"bytecodeSha256": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f1c29b7, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4a07d605, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d7758be, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "receiver",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fa1c212, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3116c353, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@f627d13, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e928fbf, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "arg",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@748741cb, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3e44f2a5, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@295cf707, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1130520d, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f77d0f9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@463fd068, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@895e367, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1b266842, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5456afaa, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6692b6c6, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@39d76cb5, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@52815fa3, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@50313382, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1cb346ea, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@479cbee5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@59e2d8e3, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2b72cb8a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d43661b, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@12299890, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2fba3fc4, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@420a85c4, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c39680d, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@62833051, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1c852c0f, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d99c6b5, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.read",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7b7fdc8, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@51c693d, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7d94beb9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@28cda624, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/receiver-argument-order/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "receiver-argument-order",
|
||||
"origin": "checkout",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+164
@@ -0,0 +1,164 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1332,
|
||||
"bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "$globals.2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e01f9b0, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "increment",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "__pbs.file_init$f2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-global-storage",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+193
@@ -0,0 +1,193 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/cartridge",
|
||||
"bytecodeBytes": 1332,
|
||||
"bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "$globals.2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e01f9b0, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "increment",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "__pbs.file_init$f2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-global-storage",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+188
@@ -0,0 +1,188 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/cartridge",
|
||||
"bytecodeBytes": 1354,
|
||||
"bytecodeSha256": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ef8d15, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa8e115, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f20155b, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@72ade7e3, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4d6025c5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@407a7f2a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2a7ed1f, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fa247d1, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2cb2fc20, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@723e88f9, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5f0fd5a0, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@64e7619d, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ea2bc93, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "$globals.2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e01f9b0, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "increment",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@389c4eb1, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3fc79729, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@34f6515b, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b34fff9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "__pbs.file_init$f2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1bab8268, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@69504ae9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7139992f, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-global-storage/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-global-storage",
|
||||
"origin": "checkout",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+149
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1984,
|
||||
"bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/state.pbs",
|
||||
"3": "/virtual/stdlib/sdk/hash/main.pbs",
|
||||
"4": "/virtual/stdlib/sdk/hash/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71329995, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@768fc0f2, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "Counter.$instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(8)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-service-singleton",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+178
@@ -0,0 +1,178 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/cartridge",
|
||||
"bytecodeBytes": 1984,
|
||||
"bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/state.pbs",
|
||||
"3": "/virtual/stdlib/sdk/hash/main.pbs",
|
||||
"4": "/virtual/stdlib/sdk/hash/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71329995, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@768fc0f2, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "Counter.$instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(8)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-service-singleton",
|
||||
"origin": "checkout",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+173
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/frontends/prometeu-frontend-pbs/build/classes/java/main/",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/cartridge",
|
||||
"bytecodeBytes": 2006,
|
||||
"bytecodeSha256": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/state.pbs",
|
||||
"3": "/virtual/stdlib/sdk/hash/main.pbs",
|
||||
"4": "/virtual/stdlib/sdk/hash/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6bf08014, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@732d0d24, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@1fb19a0, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@418c5a9c, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18e36d14, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5082d622, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@13d4992d, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@332729ad, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@71329995, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@71329995, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@768fc0f2, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "Counter.$instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7dc19a70, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(8)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@24c1b2d2, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/checkout/shared-service-singleton/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-service-singleton",
|
||||
"origin": "checkout",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+172
@@ -0,0 +1,172 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1620,
|
||||
"bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21337f7b, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "check",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e950bcf, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31bcf236, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4982cc36, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@61a88b8c, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22295ec4, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "contextual-overloads",
|
||||
"origin": "installed",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+201
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/cartridge",
|
||||
"bytecodeBytes": 1620,
|
||||
"bytecodeSha256": "ff953b569442267d605828ca2077f34a958d8bcd064dfaca5da2bda2943ff1e0",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21337f7b, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "check",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e950bcf, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31bcf236, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4982cc36, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@61a88b8c, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22295ec4, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "contextual-overloads",
|
||||
"origin": "installed",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/cartridge",
|
||||
"bytecodeBytes": 1642,
|
||||
"bytecodeSha256": "311eaa7690ba225d4fc6c29d26142a7ee5d8fbb4760c1b5f8b44778c31252ac4",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@21337f7b, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "check",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3568f9d2, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3e7dd664, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5b1ebf56, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6e950bcf, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@74bada02, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=check, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@134d26af, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@66ac5762, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@797cf65c, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@31bcf236, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b3ed2f0, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a12c404, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22d7b4f8, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4982cc36, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f1bfe23, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@61a88b8c, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@22295ec4, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.value",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@dbd8e44, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee4d9ab, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "dc54a66aa805768872c16ec45d8752c4ae9989a877e722eec637bd850478bcc3",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/contextual-overloads/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[137,180]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[189,325] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "contextual-overloads",
|
||||
"origin": "installed",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "c86450c4288ddbe77a90160b93a4d1df6c394fafdbd6de2541f9e3a296eafc07",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+197
@@ -0,0 +1,197 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [],
|
||||
"status": "public_compile_rejected",
|
||||
"exception": [
|
||||
{
|
||||
"class": "p.studio.compiler.exceptions.BuildException",
|
||||
"message": "issues found on pipeline stage: analyze"
|
||||
}
|
||||
],
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "7bd0bc2e-4ed8-4433-b518-5a64e2b1503c:0",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.assignment-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Assignment target 'count' does not resolve",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.assignment-target",
|
||||
"summary": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"rule": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "assignment",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "count",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"binding": {
|
||||
"value": "unresolved",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 29,
|
||||
"end": 34,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 34
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.assignment-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-global",
|
||||
"origin": "installed",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "6c8f9c0f-68f1-4e74-9493-e6e6e6a61426:0",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.assignment-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Assignment target 'count' does not resolve",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.assignment-target",
|
||||
"summary": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"rule": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "assignment",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "count",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"binding": {
|
||||
"value": "unresolved",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 29,
|
||||
"end": 34,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 34
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.assignment-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-global",
|
||||
"origin": "installed",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "3b0e4a12-d538-47b7-ab13-3448eff4ae1a:0",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.assignment-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Assignment target 'count' does not resolve",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.assignment-target",
|
||||
"summary": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"rule": "An assignment must resolve its target binding in the current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "assignment",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "count",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"binding": {
|
||||
"value": "unresolved",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 29,
|
||||
"end": 34,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 34
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.assignment-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "1cae7992e43f8f449ebe9697b8a479f093ea47c6183b6aff23f8565ac0d62dfb",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e370d51e1bf785964b66d5eccd9479b146ce56adf2051ee517de1c0d256ac7e2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-global/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) Assignment target 'count' does not resolve [file=0:29-34] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-global",
|
||||
"origin": "installed",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "d001a6d5c611d76d3fbf7dd08dcd3391dfe4e69c40b3aa18c69c2fec4c1f8114",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+151
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [],
|
||||
"status": "public_compile_rejected",
|
||||
"exception": [
|
||||
{
|
||||
"class": "p.studio.compiler.exceptions.BuildException",
|
||||
"message": "issues found on pipeline stage: analyze"
|
||||
}
|
||||
],
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "70f7bb74-5576-48ef-8bb9-06fa40ec6559:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "No callable overload matches the provided argument; numeric carriers require explicit conversion",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs",
|
||||
"fileId": 1,
|
||||
"span": {
|
||||
"start": 38,
|
||||
"end": 50,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 50
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"source": {
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/helper.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/helper.pbs",
|
||||
"relativePath": "src/helper.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-overload",
|
||||
"origin": "installed",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "66479724-bd46-4e27-b3d0-34567424716e:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "No callable overload matches the provided argument; numeric carriers require explicit conversion",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs",
|
||||
"fileId": 1,
|
||||
"span": {
|
||||
"start": 38,
|
||||
"end": 50,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 50
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"source": {
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/helper.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/helper.pbs",
|
||||
"relativePath": "src/helper.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-overload",
|
||||
"origin": "installed",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "bfba1132-4415-4811-aa4b-5d8881fbaf08:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_UNRESOLVED_OVERLOAD",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "No callable overload matches the provided argument; numeric carriers require explicit conversion",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs",
|
||||
"fileId": 1,
|
||||
"span": {
|
||||
"start": 38,
|
||||
"end": 50,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 50
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"source": {
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/helper.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/helper.pbs",
|
||||
"relativePath": "src/helper.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "0304be62977b3eae7b6c316600a2884bdc11400700f28d77a4916de4e44de9f0",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "d2aa9a8d91f5dea0f82a7a15cf510be4e1ad6e2b862061387f66a8e39ca1dda9",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "642dc5d2c889cf08d9ce7b9fdd149d4083c0723abc14450ff7899f04c5b85b48",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-overload/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_UNRESOLVED_OVERLOAD) No callable overload matches the provided argument; numeric carriers require explicit conversion [file=1:38-50] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-overload",
|
||||
"origin": "installed",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "59d9ab7560f89be231bd82243bcb9114a23c3de2e40b0f02c78669ed56dc917d",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+286
@@ -0,0 +1,286 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [],
|
||||
"status": "public_compile_rejected",
|
||||
"exception": [
|
||||
{
|
||||
"message": "issues found on pipeline stage: analyze",
|
||||
"class": "p.studio.compiler.exceptions.BuildException"
|
||||
}
|
||||
],
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "59e59111-2d77-4012-9c34-2efdea974793:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Invalid member access target",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
},
|
||||
{
|
||||
"issueId": "59e59111-2d77-4012-9c34-2efdea974793:1",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.call-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Apply/call target is not callable",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.call-target",
|
||||
"summary": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"rule": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "application",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "Counter.value",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"calleeClassification": {
|
||||
"value": "UNKNOWN",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"argumentType": {
|
||||
"value": "UNIT",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"resolutionConstraints": {
|
||||
"value": null,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"candidateCount": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.call-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-service",
|
||||
"origin": "installed",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+285
@@ -0,0 +1,285 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "396458b4-2fa1-4d4a-b4a7-5c4091ae04fe:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Invalid member access target",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
},
|
||||
{
|
||||
"issueId": "396458b4-2fa1-4d4a-b4a7-5c4091ae04fe:1",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.call-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Apply/call target is not callable",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.call-target",
|
||||
"summary": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"rule": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "application",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "Counter.value",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"calleeClassification": {
|
||||
"value": "UNKNOWN",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"argumentType": {
|
||||
"value": "UNIT",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"resolutionConstraints": {
|
||||
"value": null,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"candidateCount": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.call-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-service",
|
||||
"origin": "installed",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+285
@@ -0,0 +1,285 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [
|
||||
{
|
||||
"issueId": "ee43bfb5-2571-49e4-8a92-500a4cadd63e:0",
|
||||
"producer": {
|
||||
"component": "compiler",
|
||||
"owner": "compiler",
|
||||
"languageId": null
|
||||
},
|
||||
"code": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_INVALID_MEMBER_ACCESS",
|
||||
"templateParameters": {},
|
||||
"checkId": null,
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Invalid member access target",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": null,
|
||||
"summary": null,
|
||||
"rule": null,
|
||||
"availability": "unavailable"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "unavailable",
|
||||
"facts": {}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [],
|
||||
"limitations": []
|
||||
},
|
||||
{
|
||||
"issueId": "ee43bfb5-2571-49e4-8a92-500a4cadd63e:1",
|
||||
"producer": {
|
||||
"component": "compiler-frontend",
|
||||
"owner": "compiler/pbs",
|
||||
"languageId": "pbs"
|
||||
},
|
||||
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"codeOrigin": "producer",
|
||||
"templateId": "E_SEM_APPLY_NON_CALLABLE_TARGET",
|
||||
"templateParameters": {},
|
||||
"checkId": "pbs.flow.call-target",
|
||||
"severity": "ERROR",
|
||||
"phase": "static-semantics",
|
||||
"stageId": "FrontendPhasePipelineStage",
|
||||
"failureKind": "program-rejection",
|
||||
"message": "Apply/call target is not callable",
|
||||
"facts": {},
|
||||
"explanation": {
|
||||
"id": "pbs.flow.call-target",
|
||||
"summary": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"rule": "An applied expression must resolve to a callable target in its current semantic scope.",
|
||||
"availability": "available"
|
||||
},
|
||||
"semanticContext": {
|
||||
"availability": "partial",
|
||||
"facts": {
|
||||
"construction": {
|
||||
"value": "application",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"requestedSymbol": {
|
||||
"value": "Counter.value",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"calleeClassification": {
|
||||
"value": "UNKNOWN",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"argumentType": {
|
||||
"value": "UNIT",
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"resolutionConstraints": {
|
||||
"value": null,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"candidateCount": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"scopeFileId": {
|
||||
"value": 0,
|
||||
"availability": "available",
|
||||
"reason": null
|
||||
},
|
||||
"expressionTypes": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"moduleIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
},
|
||||
"dependencyIdentity": {
|
||||
"value": null,
|
||||
"availability": "not-recorded",
|
||||
"reason": "Not recorded by this detector; source identity is carried separately"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs",
|
||||
"fileId": 0,
|
||||
"span": {
|
||||
"start": 39,
|
||||
"end": 52,
|
||||
"unit": "utf8-byte"
|
||||
},
|
||||
"range": {
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 39
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 52
|
||||
},
|
||||
"unit": "utf16"
|
||||
},
|
||||
"revision": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"source": {
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
"availability": "available",
|
||||
"attribution": {
|
||||
"originKind": "unknown",
|
||||
"locationKind": "none",
|
||||
"role": "detection",
|
||||
"absenceReason": "unknown"
|
||||
},
|
||||
"verification": null
|
||||
},
|
||||
"related": [],
|
||||
"suggestedChecks": [
|
||||
{
|
||||
"id": "pbs.flow.call-target.inspect-context",
|
||||
"description": "Inspect the recorded declaration, expression types and actual resolution constraints.",
|
||||
"evidenceFields": [
|
||||
"semanticContext",
|
||||
"origin",
|
||||
"facts"
|
||||
]
|
||||
}
|
||||
],
|
||||
"limitations": []
|
||||
}
|
||||
],
|
||||
"status": "failed"
|
||||
}
|
||||
],
|
||||
"status": "analysis_failed",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "da0b5fe3de6051d360ab223f6e911cb6926dc6772a55ad46008d498eb319aa96",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "9a789d3822fbca22c25345c45601335b240f5a3e9b389a4939b5def981bc17a7",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/private-service/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=0, globals=0, executableFunctions=0, modulePool=0, callableSignatures=0, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=none} \n",
|
||||
"[ERR] [static-semantics] (E_SEM_INVALID_MEMBER_ACCESS) Invalid member access target [file=0:39-52] \n",
|
||||
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) Apply/call target is not callable [file=0:39-52] \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n",
|
||||
"caseId": "private-service",
|
||||
"origin": "installed",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "1c5386df70cde3889fd16f20fafb7ace636aa32c457a9bea0bef0b35cfc99a07",
|
||||
"expectedCompile": "rejected",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true
|
||||
}
|
||||
+183
@@ -0,0 +1,183 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1846,
|
||||
"bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@632ceb35, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5143c662, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1800a575, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "receiver",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a709816, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "arg",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@176b3f44, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@517d4a0d, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a760689, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2250b9f2, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.read",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "receiver-argument-order",
|
||||
"origin": "installed",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/cartridge",
|
||||
"bytecodeBytes": 1846,
|
||||
"bytecodeSha256": "182fa3965b7b46f0c95627a276b4c6a0c1c791eabcbab560d2e28c5759b1cce5",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@632ceb35, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5143c662, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1800a575, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "receiver",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a709816, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "arg",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@176b3f44, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@517d4a0d, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a760689, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2250b9f2, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.read",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "receiver-argument-order",
|
||||
"origin": "installed",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+207
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/cartridge",
|
||||
"bytecodeBytes": 1868,
|
||||
"bytecodeSha256": "25228f14852f688c21473dfd584fa49542763f4f8a8c999f05419f837ca76598",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "$globals.0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@632ceb35, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5143c662, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:29], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@5143c662, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@1800a575, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "receiver",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@525575, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@46dffdc3, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a709816, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78383390, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ad3381f, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53dbe163, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@db57326, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@34a875b3, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "arg",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a6c1270, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=10, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@18a136ac, registryInstruction=null]",
|
||||
"Instruction[kind=MUL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77d67cf3, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6dee4f1b, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@176b3f44, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6ee6f53, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@421bba99, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d12a356, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4fad9bb2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@517d4a0d, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=receiver, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1941a8ff, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=arg, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38831718, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.read, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@2c1156a7, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@33fe57a9, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1a760689, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7241a47d, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@70f59913, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@77258e59, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=12, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5dcd8c7a, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2250b9f2, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7e3181aa, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@142269f2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@331acdad, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@41d426b5, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@8dbfffb, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6aa3a905, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "Probe.read",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6187d1f5, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2445445a, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__pbs.file_init$f0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.0, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(6)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(7)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@302f7971, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "a9cd13ef76ea80ac6d88ec1326c221c9dafebf0e03e66ee503afbf02c5a739f2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/receiver-argument-order/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=2, executableFunctions=6, modulePool=1, callableSignatures=6, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn receiver(0 params) returnType=explicit fileId=FileId(0) span=[141,198]\n - fn arg(0 params) returnType=explicit fileId=FileId(0) span=[199,246]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[255,366] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "receiver-argument-order",
|
||||
"origin": "installed",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "c37878a556424c11771db991be61c589a8243667c5b0c957216f23990ef88ca6",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+164
@@ -0,0 +1,164 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1332,
|
||||
"bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "$globals.2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "increment",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53bd8fca, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "__pbs.file_init$f2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-global-storage",
|
||||
"origin": "installed",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+193
@@ -0,0 +1,193 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/cartridge",
|
||||
"bytecodeBytes": 1332,
|
||||
"bytecodeSha256": "9f5d7425d3a21b7ed6101e809aaff7a12938b1ca5449b72d61b955066e2b11a2",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "$globals.2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "increment",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53bd8fca, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "__pbs.file_init$f2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-global-storage",
|
||||
"origin": "installed",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+188
@@ -0,0 +1,188 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/cartridge",
|
||||
"bytecodeBytes": 1354,
|
||||
"bytecodeSha256": "0522ef21628e354a1ac40b76515327e85790441cbcc6d32eca7f1ba70e6134df",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/state.pbs"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=4, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42bc14c1, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@531f4093, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@460ebd80, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@6f3c660a, registryInstruction=null]",
|
||||
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@2f1de2d6, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4eb386df, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79517588, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@3a0baae5, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=5, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ac0e420, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@289710d9, registryInstruction=null]",
|
||||
"Instruction[kind=OR, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5a18cd76, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@403f0a22, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@503ecb24, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4c51cf28, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@6995bf68, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@77825085, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "$globals.2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6fe1b4fb, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "increment",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5d5f10b2, registryInstruction=null]",
|
||||
"Instruction[kind=ADD, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@74c79fa2, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e0f9063, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53bd8fca, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(3)",
|
||||
"name": "__pbs.file_init$f2",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.2, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@67304a40, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(4)",
|
||||
"name": "__prometeu.lifecycle.module_init$m0",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@53251a66, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(5)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@63eef88a, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "2b0af0639df9fda39ae686b15a0b984de8a5695c8a1eae8b39eb9b1ecc45f40a",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "beca7f9291e530d7e0e0a671bff8659f3b895b9fbb661bcd67897ff44aa238d8",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e64dfe29f34fb53dc0716d2af7edca9dea7fee2548bd12e6cf52054bedde33be",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-global-storage/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=4, modulePool=1, callableSignatures=4, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,107]\n - fn increment(0 params) returnType=explicit fileId=FileId(2) span=[29,78] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-global-storage",
|
||||
"origin": "installed",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "95b641e1371de5bae0339f29bd32d44c81e5861b18ab0d1054e738c958b3ce9f",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+149
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "BuilderPipelineService.compile",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [],
|
||||
"status": "compiled",
|
||||
"diagnostics": [],
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/cartridge",
|
||||
"bytecodeBytes": 1984,
|
||||
"bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/state.pbs",
|
||||
"3": "/virtual/stdlib/sdk/hash/main.pbs",
|
||||
"4": "/virtual/stdlib/sdk/hash/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3b00856b, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@35d08e6c, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5aac4250, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1338fb5, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42463763, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59f63e24, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d36e77e, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "Counter.$instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(8)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized-public/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-service-singleton",
|
||||
"origin": "installed",
|
||||
"variant": "optimized-public",
|
||||
"sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+178
@@ -0,0 +1,178 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized",
|
||||
"optimization": "optimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "OptimizeIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/cartridge",
|
||||
"bytecodeBytes": 1984,
|
||||
"bytecodeSha256": "4c29928bd03583aee9cb701ce9157cfb2f924a0ff5ffe4293d97aa6e4c175c8d",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/state.pbs",
|
||||
"3": "/virtual/stdlib/sdk/hash/main.pbs",
|
||||
"4": "/virtual/stdlib/sdk/hash/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3b00856b, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@35d08e6c, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5aac4250, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1338fb5, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42463763, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59f63e24, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d36e77e, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "Counter.$instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(8)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/optimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-service-singleton",
|
||||
"origin": "installed",
|
||||
"variant": "optimized",
|
||||
"sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
+173
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized",
|
||||
"optimization": "unoptimized",
|
||||
"entrypoint": "public analysis + production compile stages",
|
||||
"frontendOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"sdkOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-frontend-pbs.jar",
|
||||
"javaVersion": "21.0.4",
|
||||
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-app/build/install/prometeu-app/lib/prometeu-build-pipeline.jar",
|
||||
"phases": [
|
||||
{
|
||||
"phase": "analysis",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LowerToIRVMPipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "EmitBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "LinkBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"phase": "VerifyBytecodePipelineStage",
|
||||
"diagnostics": [],
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"status": "compiled",
|
||||
"cartridge": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/cartridge",
|
||||
"bytecodeBytes": 2006,
|
||||
"bytecodeSha256": "9f5b3ccfa13ac21b7343bbe7ef4d56feccd20c9dc159e214eb614e185e94bb5c",
|
||||
"files": {
|
||||
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/main.pbs",
|
||||
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/mod.barrel",
|
||||
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/state.pbs",
|
||||
"3": "/virtual/stdlib/sdk/hash/main.pbs",
|
||||
"4": "/virtual/stdlib/sdk/hash/mod.barrel"
|
||||
},
|
||||
"projectFunctions": [
|
||||
{
|
||||
"callableId": "CallableId(0)",
|
||||
"name": "frame",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Counter.$instance, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3b00856b, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=instance, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@35d08e6c, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$generic$fn$pbs:FunctionDecl:3:954[21:pbs:ServiceDecl:2:0[]], calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@53d102a2, registryInstruction=null]",
|
||||
"Instruction[kind=NOT, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6c45ee6e, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@5aac4250, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1338fb5, registryInstruction=null]",
|
||||
"Instruction[kind=DIV, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@42463763, registryInstruction=null]",
|
||||
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@59f63e24, registryInstruction=null]",
|
||||
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_1, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@7ca33c24, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(2)",
|
||||
"name": "instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@1253e7cb, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d36e77e, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(1)",
|
||||
"name": "Counter.$instance",
|
||||
"file": "src/state.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=NEQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__service_ready_0, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__service_ready_0, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ddbbdf8, registryInstruction=null]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"callableId": "CallableId(8)",
|
||||
"name": "__prometeu.lifecycle.frame_wrapper$m0",
|
||||
"file": "src/main.pbs",
|
||||
"instructions": [
|
||||
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=EQ, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=JMP_IF_TRUE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=bootstrap_done, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=PUSH_BOOL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=true, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=bootstrap_done, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]",
|
||||
"Instruction[kind=RET, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@455b6df1, registryInstruction=null]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"fileId": 0,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/main.pbs",
|
||||
"relativePath": "src/main.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "b19dcc8b139d5eca7b340d6f558870dc48edaa8329284fb1b98a51ed7f206c9f",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 1,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/mod.barrel",
|
||||
"relativePath": "src/mod.barrel",
|
||||
"originScope": "project",
|
||||
"sha256": "db064b95785794584f9e6adcc4bf288016ae7ca549de32d38f21f6c398c7937e",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"fileId": 2,
|
||||
"projectId": 0,
|
||||
"inputKind": "source",
|
||||
"observationScope": "compiler",
|
||||
"uri": "file:///private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src/state.pbs",
|
||||
"relativePath": "src/state.pbs",
|
||||
"originScope": "project",
|
||||
"sha256": "e4e829d20b0552ea19437e6e6e88714e0ae0afc522a78b976838141685b2d2d2",
|
||||
"revisionAvailability": "available",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"logs": [
|
||||
"[INFO] [DEPS]: dependency completed successfully \n",
|
||||
"[DEBUG] Project [ caseapp ] source loading... \n",
|
||||
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbs-production-corpus-1ia43g7r/installed/shared-service-singleton/unoptimized/src ] \n",
|
||||
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=2, executableFunctions=8, modulePool=2, callableSignatures=8, intrinsicPool=3, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[51,143]\n - fn instance(0 params) returnType=explicit fileId=FileId(2) span=[27,71] \n",
|
||||
"[DEBUG] Frontend phase completed successfully! \n",
|
||||
"[DEBUG] Common lifecycle assembly completed successfully! \n",
|
||||
"[INFO] builder pipeline stage group completed successfully \n"
|
||||
],
|
||||
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline stage group completed successfully\n",
|
||||
"caseId": "shared-service-singleton",
|
||||
"origin": "installed",
|
||||
"variant": "unoptimized",
|
||||
"sourceSha256": "e5a21998b2eb8f7e47a5818f59081d080dd332cc36bbb032ddcff07b3335f3d5",
|
||||
"expectedCompile": "compiled",
|
||||
"matchesExpectation": true,
|
||||
"sourcesUnchanged": true,
|
||||
"manifestSha256": "8ade712c3ba6ad970009265ad4355b06d3ed46d04be90d66bcef12a1c5d1ad63"
|
||||
}
|
||||
Reference in New Issue
Block a user