feat(studio): improve compiler reliability and AI diagnostics
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit

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:
2026-11-10 12:36:25 +00:00
parent 38f201a9c9
commit ea1cc26fe3
1216 changed files with 168017 additions and 354 deletions
@@ -0,0 +1,56 @@
# Discover project services through session metadata
Owner: studio. Completed through AGD-0105, DEC-0087 and PLN-0165.
## Original problem
The app correctly assigned a loopback LSP port to each open project, but VS Code
still assumed 7775. Every refusal produced another attempt and error popup after
two seconds. Manually copying a port worked only until the next Studio session.
## Consolidated decision and implementation
An ephemeral service needs a discoverable identity as well as an address. Studio
now atomically publishes `.studio/lsp.json` when the project server starts. The
record contains schema version, canonical project root, process identity, session
identity and actual loopback endpoint. Publication failure rolls back server boot;
shutdown removes only metadata matching the owning session. This non-secret file
is separate from automation credentials and grants.
The extension defaults to discovery for one local project root. It rejects malformed,
misbound and non-loopback metadata and ignores dead-process records. Discovery
file and workspace/configuration changes trigger serialized reconnection. Missing
metadata means waiting for Studio. Backoff progresses through 2, 4, 8, 16 and 30
seconds, resets on success, and is cancelled during shutdown. Status is visible
without recurring connection-error dialogs. Explicit manual mode preserves other
LSP hosting arrangements; automatic mode never guesses a fixed port.
For example, open `zelda-1` in Studio and the same folder in VS Code. Reopening
Studio may change the port; VS Code reads the new discovery record automatically.
Older running binaries must be rebuilt and restarted before they can publish it.
## Pitfalls
- A live process ID alone is not a project binding: validate the canonical root and
keep the LSP server's initialize-time root validation authoritative.
- A new server session invalidates old SDK consumer identities. Reset those before
reconnecting; retain old virtual-document text, and navigate again for fresh URIs.
Short socket reconnects to the same session can retain consumer identity.
- languageclient 9 may invoke stop while failed initialization is still Starting.
The adapter waits for start settlement before stopping, avoiding an unhandled
rejection during a failed handshake.
- A successful socket test does not prove file watching and editor recovery. Use a
real isolated Extension Development Host to exercise publication and replacement.
## Validation and limits
97 application tests passed, including four new real ephemeral-server discovery
lifecycle tests. Two Node tests cover malformed/missing/stale/misbound metadata,
canonical symlink roots, replacement and capped backoff. TypeScript compilation
passed. The isolated real VS Code gate passed starting without discovery, file
creation, server replacement on a new port, continued project queries, manual mode,
SDK navigation and ordinary project editing. This gate uses a development-classpath
LSP host, not a packaged Studio installation or the user's active Zelda editor.
No runtime files were changed and no commits were created.
## References
- [Project-local state specification](../../../docs/specs/studio/8.%20Project-Local%20Studio%20State%20Specification.md)
- [Extension operation](../../../tools/vscode-extension/README.md)
- `LspLifecycleAdapter`, `LspDiscoveryTest`, `discovery.ts` and
`ExternalSourceDevelopmentHostTest` contain the executable contract.
@@ -0,0 +1,96 @@
---
id: LSN-0106
ticket: pbs-production-reproductions-and-fixes
title: PBS Production Binding and Lowering Corrections
created: 2026-11-10
tags: [compiler, pbs, bugfix, testing]
---
## Scope and outcome
**Domain owner:** `compiler/pbs`. **Discussion:** DSC-0111. This lesson consolidates accepted DEC-0088 and completed PLN-0166. It covers all eight reproduced failures, the complete unchanged 28-case corpus, and the compiler-to-guest qualification. The [umbrella](../../workflow/agendas/AGD-0106-compiler-production-reliability-and-source-diagnostics.md) continues to coordinate the integrated result.
All eight valid programs now compile and execute with their original source files, names, imports and module boundaries. The other 18 valid programs retain their behavior. File-private access remains a source rejection, and the deliberate runtime trap still faults. No language, visibility, initialization, ABI, PBX or runtime capability was added.
The implementation started after the completed compiler and Studio diagnostic deliveries ([LSN-0104](../DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md) and [LSN-0105](../DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md)). On 2026-11-10, the user accepted their submitted evidence and released the dependency gate by directing: “vamos impl o plan 166 dado que agora podemos.” That release was recorded in PLN-0166 and AGD-0106 before product edits.
## Why these programs failed
The production investigation reduced Zelda feedback to five families and 28 cases. Eight valid programs failed in the PBS frontend before IRVM. Equivalent controls passed when authors introduced locals, combined files or renamed a private type. Those transformations isolated defects; they were never accepted as required authoring conventions.
| Group | Corrected cases | Demonstrated cause and correction |
| --- | --- | --- |
| PBS-EXPRESSION-CONTEXT | F1-direct, F1-two-calls, F1-service-this | An enclosing bool expectation constrained an int-valued comparison operand. Infer operands outside that enclosing expectation, then lower each using its inferred or contextually required operand type. |
| PBS-MODULE-PEER-SURFACE | F3-function, F3-global, F3-service | Sibling semantic context omitted admitted ordinary executable bindings. Carry declaration/signature admission from module assembly and bind calls, storage and singleton accessors to their definitions. |
| PBS-NOMINAL-DEPENDENCY | F4-same-dependency, F4-same-direct | Name-only owner lookup and an unscoped synthetic receiver lost declaration identity when a dependency supplied a private homonym. Resolve owners and imported callables by canonical declaration origin and retain definition scope on receivers. |
The original [inventory](evidence/baseline/inventory.json) retains 168 compilation observations and 76 guest executions of the then-compilable programs. The [initial integrated regression](evidence/frontend-before.log) reproduced exactly eight failures among the 28 unchanged cases before these corrections.
## Scope expected types to their expression
For `return receiver.value() != 0`, the return expects bool because the comparison produces bool. The operand call still returns int. Propagating the outer bool into callable selection caused a false rejection.
Comparison inference now temporarily clears the enclosing expectation, derives the operand types, and restores the context. Each operand is emitted with its own inferred type, using the opposite operand's known type where contextual selection needs it. Other expression boundaries retain legitimate expected-return overload selection.
Inference does not execute an operand. Emission still evaluates receivers and explicit arguments exactly once in the existing order. The original F2 controls and an additional order-sensitive control check effects; a focused bool/int overload control prevents an unconditional removal of expected-return matching from masquerading as a fix.
## Carry visibility and executable identity together
Module assembly now obtains sibling declaration spans from the same signature/name/category interning keys used by barrel validation. Both `mod` and `pub` admit same-module access. Omission remains file-private. Admitting one overload does not admit every overload with the same spelling.
`PbsImportedSemanticContextService` supplies ordinary sibling functions, globals and service methods/accessors with references to their defining module and declaration. Caller-visible names remain distinct from the private dependencies needed to compile a definition's body. An implementation declaration is propagated only when its owner belongs to the current scope or the admitted sibling surface. Otherwise unrelated private implementations could arrive without their private contract types; bundled examples caught that regression during implementation.
Global references must resolve to one storage location. Lowering uses PBS-private temporary slot references for imported globals. After module aggregation, `PbsGlobalReferenceLinker` resolves them by defining file and global name to the original global slot, before publishing common IRBackend. It preserves the function metadata and semantic facts. It neither clones storage/initialization nor changes the common GET_GLOBAL/SET_GLOBAL contract. Own declarations retain normal shadowing.
Service method and singleton references similarly retain their original owner/accessor. The focused guest controls mutate a sibling global and observe that mutation through the defining function, and compare the sibling service with its defining accessor by reference identity. Successful compilation alone would not prove either property.
## Validate nominal identity before choosing a fix
The [pre-correction trace](evidence/nominal/before.json) compared distinct names, homonyms without a dependency, homonyms with a dependency, and the local rename. In the dependency case, the declared receiver remained `src/a/data.pbs`, but a flat lookup selected `src/b/data.pbs`. The synthetic receiver key changed from `pbs:struct:file3:0` to `pbs:struct:file6:0`. The other three controls retained the local owner. This confirmed the localized name-index hypothesis before the nominal correction.
The corrected path uses existing `PbsContractTypes.declaration(TypeRef)` and lexical binding data for struct/service ownership. Synthetic receiver types retain their defining function's span. Imported callable surfaces carry the owner declaration span so exact callable matching can distinguish owners with otherwise identical method shapes. Aliases keep the original declaration identity.
The [post-correction trace](evidence/nominal/after.json) shows the synthetic receiver and declared receiver sharing the local key. Its auxiliary raw flat-map observation still demonstrates the collision; the corrected owner lookup no longer uses that map as authority for a resolved nominal declaration. The regression separately asserts canonical owner equality. Numeric keys illustrate this single observation and are not stable IDs required across builds.
## Qualification through production boundaries
The [structured qualification](evidence/qualification.json) and [evidence guide](evidence/README.md) contain the commands, input hashes, reports and limits.
| Gate | Result |
| --- | --- |
| Frozen input | 28 cases; SHA-256 `0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87`; all 181 baseline files retained unchanged. |
| Complete compilation matrix | 168 correctly classified observations: 28 cases × two compiler/SDK origins × three paths. |
| Source-negative control | F3-file-private rejected as a source error in all six configurations. |
| Complete guest matrix | 108 executions: 104 normal three-frame successes and four deliberate faults. Every worker terminated. |
| Additional behavioral/privacy matrix | Seven cases, 42 compilation observations and 16 successful guest executions, including three negative privacy cases. |
| Required Gradle suites | 724 tests recorded, 711 passed, 13 skipped, zero failures/errors. |
| Producer-to-consumer integration | Real project LSP and authenticated HTTP MCP: the eight corrected programs plus F1-local succeed; F3-file-private retains structured rejection, facts, revisions and canonical projection. |
Compilation paths are optimized production stages, an investigation-only unoptimized stage sequence, and the public optimized facade. Each observation uses a fresh JVM and scratch project. The unoptimized variant omits `OptimizeIRVMPipelineStage` and passes original IRVM to emission; it is not a public compiler option. Guest runs cover both stage variants and both origins.
Installed probes run outside the checkout with only the candidate distribution's product JARs/resources. The runner checks product classes against those JARs and records actual frontend/pipeline/SDK origins, Java version, JAR hashes and source/PBX/manifest hashes. Git HEAD alone would be insufficient because this candidate includes uncommitted work; worktree state and [source hashes](evidence/candidate-source-sha256.json) accompany the artifact provenance.
The existing debug headless executable is identified by SHA-256 `a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6`. It reports runtime 0.1.0 and protocol 1.1. The harness negotiates only supported boot/advance/state/fault/shutdown capabilities, checks completed frames and faults, then waits for termination. No runtime source, game workspace or user memcard was written, and no commit was created.
## Retain diagnostics while removing false rejection
The earlier diagnostic delivery intentionally recorded all eight rejections. Its evidence remains historical and unchanged. Current regression expectations now reflect the corrected valid programs. `PbsFacadeDiagnosticTest` uses the unchanged F3-file-private program for an actual source-negative result. `StructuredDiagnosticsIntegrationTest` verifies positive build/analysis results and the negative control through existing public services.
Diagnostic ownership, stable detector IDs, source attribution and failure classifications remain those of the preceding deliveries. Shipper remains internal. AI consumers continue using the specialized public automation/MCP services and the same result projected by the FE. A correctness fix does not require another public diagnostic schema or treating missing/failed analysis as an empty successful result.
## Limits and recurring pitfalls
- The historical `MARSHAL_VERIFY_PRECHECK_BAD_RET_STACK_HEIGHT` and `Unsupported PBS runtime type: Scene` failures remain not reproduced in their original failing forms. Passing F2/F5 controls does not establish a general correction of those reports.
- Installed compiler/SDK proof with this existing headless executable does not qualify an installed runtime distribution. The corpus matrix itself does not establish a live Studio/LSP/MCP session; the separate repository integration test supplies the stated consumer evidence.
- This execution did not repeat an interactive desktop session. The first delivery's JavaFX proof and its explicit pack/assets/configuration-revision limits remain in LSN-0105.
- Never fix a contextual-type bug by deleting all contextual resolution, a visibility bug by admitting all same-name overloads, or a nominal bug by requiring globally unique author names.
- Do not copy sibling globals or singleton initialization to make names visible. Preserve the defining storage/accessor and verify identity through observable behavior.
- Keep private dependency context separate from caller-visible names. Unconditionally injecting unrelated private implementation declarations can break otherwise valid modules.
- A loader failure, timeout or partial frame count is neither successful guest execution nor the required source rejection. Keep the deliberately faulting control and check cleanup on every path.
- Archive before/after evidence separately. The baseline's fixed-output research scripts are retained as historical artifacts; use the maintained runner with a new output directory for subsequent qualification.
## Maintenance references
Normative obligations are propagated to PBS [4 — Static Semantics](../../../docs/specs/compiler-languages/pbs/4.%20Static%20Semantics%20Specification.md), [12 — Diagnostics](../../../docs/specs/compiler-languages/pbs/12.%20Diagnostics%20Specification.md), and [13 — Lowering IRBackend](../../../docs/specs/compiler-languages/pbs/13.%20Lowering%20IRBackend%20Specification.md). Existing PBS [3 — Core Syntax](../../../docs/specs/compiler-languages/pbs/3.%20Core%20Syntax%20Specification.md), [5 — Resolution](../../../docs/specs/compiler-languages/pbs/5.%20Manifest%2C%20Stdlib%2C%20and%20SDK%20Resolution%20Specification.md), and [9 — Dynamic Semantics](../../../docs/specs/compiler-languages/pbs/9.%20Dynamic%20Semantics%20Specification.md) remain authoritative for the unchanged language contracts.
Durable regressions live in [PbsProductionLoweringRegressionTest](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsProductionLoweringRegressionTest.java), [PbsNominalOwnerRegressionTest](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/lowering/PbsNominalOwnerRegressionTest.java), and the [unchanged corpus resource](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json). The maintained [runner guide](../../../tools/pbs-production-corpus/README.md) describes reproduction. DEC-0088 and PLN-0166 are completed control artifacts consolidated here; their workflow files are removed by CLI housekeeping.
@@ -0,0 +1,32 @@
# PBS production correction evidence
Owner: compiler/pbs; DSC-0111; accepted DEC-0088; completed PLN-0166; candidate observed on 2026-11-10. Start with [qualification.json](qualification.json).
| Location | Meaning |
| --- | --- |
| baseline/ | All 181 original AGD-0113 evidence files, moved byte-for-byte before housekeeping. The inventory records 168 compile observations and 76 pre-fix guest executions. |
| baseline-preserved-sha256.json | Full file hashes captured before product changes and verified after archival. The baseline's original SHA256SUMS is also unchanged. |
| cases.json | Exact original 28-case input; matches the maintained frontend test resource and baseline hash. |
| frontend-before.log | The newly integrated regression initially reproduced eight failures among 28 cases. This expected pre-fix test failure is historical evidence. |
| nominal/before.json, nominal/after.json | Four-context trace captured immediately before the nominal correction and after it. The before trace follows the earlier F1/F3 work; it is not a claim that the entire frontend was untouched at that point. |
| final/summary.json | Complete post-fix 168-compilation/108-execution matrix; no failed expectations. |
| final/provenance.json | Candidate JAR hashes/class freshness, actual runtime hash, Java version, worktree/source/tooling provenance and scratch isolation. |
| final/compilation/, final/execution/ | Per-case/configuration structured diagnostics, phase results, source/artifact correlation, runtime protocol transcripts and process termination. |
| final/artifacts/ | Retained emitted PBX and minimal cartridge manifests. Original scratch paths remain in the factual reports; these copies preserve the same bytes. |
| final/checksums.json | Relative hashes of final matrix inputs/results/artifacts, verified after archival. |
| focused/, focused-cases.json | Supplemental overload/order/storage/singleton/privacy matrix: 42 compilations and 16 normal guest runs. |
| tests/, gradle-final.log | JUnit XML and successful log for all required Gradle tasks: 724 recorded, 711 passed, 13 skipped, zero failures/errors. |
| studio/frozen-corpus-after.json | Ten observations through authenticated HTTP MCP and real project LSP: nine valid programs and one source-negative control. Previous first-delivery reports remain in LSN-0105 unchanged. |
| candidate-source-sha256.json | Candidate product source/resource/build and maintained tooling hashes, complementing dirty-worktree and emitted JAR provenance. |
The runtime executable is the existing debug `prometeu-headless`, SHA-256 `a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6`. The compiler/SDK candidate was built by the required Gradle gate. Each installed observation ran outside the checkout with only candidate product JARs/resources. Normal cases completed three frames without faults; all four trap-control runs faulted as intended. Every worker was terminated and waited for.
The full corpus command was:
```bash
python3 tools/pbs-production-corpus/run.py --corpus prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json --distribution prometeu-app/build/install/prometeu-app --runtime-headless /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless --output build/pbs-production-corpus/pln166-final-v2-20261110
```
The focused run used `focused-cases.json` and `build/pbs-production-corpus/pln166-focused-v2-20261110`. Failed preflight attempts with earlier output directories never produced a qualifying matrix and are not counted. Use a fresh directory on rerun; never rerun the baseline's fixed-output research scripts. Those scripts retain their historical path assumptions as part of the unchanged baseline.
The investigation-only unoptimized variant is not a public compiler flag. This compiler matrix does not qualify an installed runtime distribution or a live Studio session. The separate integration test supplies the stated MCP/LSP evidence. No new interactive desktop run was performed. Historical BAD_RET/Scene failures remain not reproduced, and LSN-0105's explicit revision-coverage limits remain applicable. No runtime/game/memcard writes or commits occurred.
@@ -0,0 +1,183 @@
{
"provenance.json": "8f4e7bb1f3813f7bd4b25309629f39b0a44c57fae6e9f492d80c6746a4740450",
"execute.py": "3cba903588aeba2b3615058d06102e9b2b0d84a4738f1d7e33f41e16428a930f",
"summarize.py": "f58d64158242408961f707fed7c3d2b7b1715e3b9e74e5344f1bcb2bedab5508",
"cases.json": "0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87",
"inventory.json": "d56838a9083394197a447dc1ca3bf723bd071c1d4ff215b473d535f6799f7b8a",
"Agd113Probe.java": "af8f1f8621ef33ef341d6d13748dff003108fff30124c083b7cb5744eb56e309",
"SHA256SUMS": "70c8225e346d0b73adf8ed0c5c2b1c46264c55dc24dbf76e32268a58a48afa51",
"investigate.py": "fe281b67cd942290d1fdcf44da471f17303335fea59ce75449f64e415763787c",
"reports/installed/F2-locals-unoptimized.json": "35d6057c2d06fb579ac7cfda017cee3ad4d195541970ba6e083d1498fbdf2670",
"reports/installed/F1-condition-optimized.json": "469f804f373dc836723cc1a3819ebe887d949f68662df02712fca59432d64281",
"reports/installed/summary.json": "ccda50babb0435b71a8be61cfb917a61d2fcfb40b9175726934061b7ca345a83",
"reports/installed/F3-file-private-unoptimized.json": "aee05b230a89fa80bd63fe994cb8be3159d77e22213b39344072595943dcec27",
"reports/installed/F3-service-local-optimized.json": "073f9da774e8f1fae31ca8502660f0952a0c8c69953915e751315ab124264f52",
"reports/installed/F2-struct-method-unoptimized.json": "f7c5f05ea2f7039f1a7a4b58e78f22873ccd995bf5368e8181c0278c6e2632fc",
"reports/installed/F4-same-dependency-optimized.json": "b23771bdeb63b8b57f3d61bae5cc490c6b21db026bd080c7271f5827702c5a28",
"reports/installed/runtime.json": "f4fa2254c59287e612ad15def09923d1b06bb99ebaf9ed963c772e3c6bef6ac0",
"reports/installed/F3-service-local-optimized-public.json": "5ea34cb5f32828c94cb22592cf29c8f018dc60c1a899e14b7995d8d5b50e3347",
"reports/installed/F4-same-no-dependency-optimized.json": "424d84c46f387d174f375412aa2e5aeff80e1cbb94ce754734588ca080fffa4f",
"reports/installed/F2-arguments-optimized-public.json": "feb21410cb1ec1a06622e92637f0362d6364175745904ab651234a2b41f87040",
"reports/installed/F1-local-optimized-public.json": "c2513667963a8a67070b1cc10ba08efe68ef8af719ae664e6e4b6554ce0e01ac",
"reports/installed/runtime-trap-control-unoptimized.json": "4717b4e67e8833c1ff97a5f8b2f889ec2a5257ac4da2ab3e9f911f7347e301ab",
"reports/installed/F4-distinct-unoptimized.json": "e087bdeee22535e90d9fac072d24fd14ef32c1850d32ee25f66f2894cefd32e3",
"reports/installed/F2-arguments-optimized.json": "a84cfdbd07d153fa4c2bd5215e6c73e7b3f23cf9368ee595307f5e27d390df91",
"reports/installed/F4-distinct-optimized-public.json": "74b134569c412f3d883879d2c9fc46c36290d25bea74b275f379e42ad73cd22f",
"reports/installed/F4-public-aliases-optimized-public.json": "b0354d3f005a4411f7dfe216628dfd3aa6d9a3098a0d73e0acb9c67737b18cc7",
"reports/installed/F3-function-optimized.json": "83115007570081c0c608b9f3896fd4bb6a2b8ec4abc950fddf6207dcf9a19dab",
"reports/installed/F3-single-file-unoptimized.json": "ac02aeb7dc426c9f271c314cfb8b67dd5bb7053ddd5aebebef7cab7eb253060e",
"reports/installed/F5-scene-alias-optimized.json": "9fde0cbe08ac1a7289bce315e641d9538f6a551894d434cc265f30dbd4b86cb9",
"reports/installed/F2-locals-optimized-public.json": "78c8f1e93daaef9eca253da562491c97c8313c351e5471495246d5325d46079d",
"reports/installed/F2-struct-method-optimized-public.json": "3795228c5d28454e6003edb046d495e3834065f5f2b8205a4aae3691850db101",
"reports/installed/F1-two-calls-optimized-public.json": "3c13ff6c444abb13ec91dbc2d3cb9f672815f6194cda32a15f655aa9941ed907",
"reports/installed/F1-service-this-optimized.json": "63704de93235b32d9b1d8c0ce7d9d23f0cd55f1139155faabaf01d61feed15fa",
"reports/installed/F4-rename-a-optimized.json": "6049003c167951da2b09b292a511c049f38fbf7e0cee70dae54fe3ba429501ae",
"reports/installed/F4-distinct-optimized.json": "39fbba16eb57fa255314703d30cd50468ba0485161024b2620e5758e4cd6b82e",
"reports/installed/F4-same-direct-optimized.json": "63cfe8f2117c0d7d4e4862c1757d60bf575483f95b9f4d26117257a77dbb194c",
"reports/installed/F3-global-optimized-public.json": "6c54ebaa699b648af9e13042010dc8fcaf03b07f85981a71a5e55f9c203b0dd5",
"reports/installed/F1-direct-unoptimized.json": "e1c1e3300d337886bf19e8d898fe99c041b080d23553b976ff0376e851c8463b",
"reports/installed/F2-expression-optimized.json": "68c9e518d9618758e0f4ac56fb9b90e6cb980f202c7ef59491b2403c0b35c1bf",
"reports/installed/F4-rename-a-optimized-public.json": "2d5a8a4856f0317e6e30f9a25d0215687446323c5b7ed1c06cd9c19843c593d1",
"reports/installed/F5-scene-positional-optimized.json": "563908675229d594cb84868f13991386347f49a10186712e3615d9a528870acb",
"reports/installed/F3-single-file-optimized.json": "d1f4e1ba3eb4add3967bf3f8f3cd4d85ebb36f3207fe35db3dfc53ee815292b6",
"reports/installed/F3-global-local-unoptimized.json": "39d075d8acd637052c039aaf443710607b897060ecd4dcf4de0606c6525e19b3",
"reports/installed/F4-same-direct-optimized-public.json": "151906886bd63c0ea527e9e5ade1de04f61d664482928b6cbd6c2382f94bcdc4",
"reports/installed/F4-public-aliases-optimized.json": "c146756e6bc640d0c303a30a44b2e3227a56a92a28458341f5d3b3ee830c289a",
"reports/installed/F5-scene-alias-optimized-public.json": "7b1885628b3493403170b54342abc388a50442d7fa120a18a04aa22dc60ef31b",
"reports/installed/F3-file-private-optimized-public.json": "6832d99b8ea7e979a1c368fe022ac29595c68546697fbfa76499f4a74371027e",
"reports/installed/F4-public-aliases-unoptimized.json": "557f86fe0522db15bd23f60de6a3852a5a2350e880a6e3152b36f30153f26877",
"reports/installed/F5-scene-positional-unoptimized.json": "5a43c1f448791d82d0915cad5f276d7c43c8ca862535bd9984c8a07ec4c94975",
"reports/installed/F3-service-local-unoptimized.json": "b502718a9c5fd1617c29858ac790a3eb60c1150ac0aabcf4a4bc9fa7a8e4cf89",
"reports/installed/F4-same-no-dependency-optimized-public.json": "9fdaf41b8a8c493a5660e1b4fbf6c480cbf6af9f324017ec855fc23cb0b1b69e",
"reports/installed/F2-struct-method-optimized.json": "6478d644c1ef0411d46e868048559c91af1b2991dee293bfa5d17f5df1817c55",
"reports/installed/F3-global-unoptimized.json": "fdae63aa0bac5994cbacc15aa5499acd42c19d0fdb77292bfe73ce2cc3937d38",
"reports/installed/F4-same-no-dependency-unoptimized.json": "16b73210ab56edcc9f8085cfcd3178f2f75dab82f3e7454a2eb47e477e069d71",
"reports/installed/F3-global-optimized.json": "dabbd7673f094d416cde03d949a8a671013200b6126b1202cae7827e61ed4f85",
"reports/installed/F5-scene-alias-unoptimized.json": "bc5daab68bb2277bd27e2033701bc2af3152121bd0a98d94140ccaf79c253054",
"reports/installed/F5-shopvisit-unoptimized.json": "5ada64b78c6bbd2edf6e8fdb3bdd3f2636e65f83433be1a416f29fc321ced246",
"reports/installed/F5-scene-optimized.json": "799850e92bcb8131ece497ad6ae3483f24393f763c7cc45602865e444343d4b5",
"reports/installed/runtime-trap-control-optimized.json": "adf1ed574b9b6efc24e96f30345481306b11cde436ef8089e61e92917c0197a6",
"reports/installed/F1-direct-optimized-public.json": "940ea6f79bcd75fdc8bee32b136bc8a35a49f9ec96478d6740f3b094e74b4e73",
"reports/installed/F2-expression-optimized-public.json": "9af9025a55eea1abe6a15c0c5e48ee6cf7046b3179d909efe48ae1d7b99a4c26",
"reports/installed/F2-expression-unoptimized.json": "c7be8a43b1a751f89f363259dc55496c47229984b85e6324dffc1e4dd3d87601",
"reports/installed/F3-global-local-optimized.json": "7aef5c854de418b7a74bfe2a64a99f0769c82862ceb31c8402b43121ba9103dd",
"reports/installed/F3-service-unoptimized.json": "5ea12eaabe8e7fa52589981d7af270f4cbe94e8891c2e4c5a84fe8a59b88cf39",
"reports/installed/F1-two-calls-unoptimized.json": "ab0219ef9e1ee1f7ffaa7b412fbc1f9c012b15627178ecf5befe0efda6affbb8",
"reports/installed/F3-service-optimized-public.json": "b51efdaa8fe8dd1466da235765579c436507f44d880d5e375a4d94a6e57bb32d",
"reports/installed/F5-scene-unoptimized.json": "efd5a110e9e045e4dacaa8460b1ef0836ac28f93beccdabdbdd46187c487cf06",
"reports/installed/F2-arguments-unoptimized.json": "a3efe914c7d380a1048bbee6c27ef54f29e52df0db81e271c720198ac1212680",
"reports/installed/runtime-trap-control-optimized-public.json": "85f48d8419ed67df2012374bde725b1384770c4af09e359565ffae64b4d39d42",
"reports/installed/F1-condition-optimized-public.json": "100808d1ea68e381465d3decfa6522f7441c70e98651e1080908a80f7537857e",
"reports/installed/F1-service-local-optimized-public.json": "f87301a43d1da6189a05e1615292f7bb3f736c09260db952c7bdfac68731fdd6",
"reports/installed/F1-service-this-unoptimized.json": "535682fbb82e6d63a77935d525d5742369d311a0179a2028082b78521503f599",
"reports/installed/F5-shopvisit-optimized.json": "e2a6b92a411fcc7bd773f722ed01e19dc05fdf79ace2ed9817b44900690ec25b",
"reports/installed/F2-locals-optimized.json": "59f81ac09ed1dfce7c010b07ed7266a6269eaef3258c61c30f8ed5ad71328b77",
"reports/installed/F3-file-private-optimized.json": "56f11754501835fbebe8eaa07d77fff75d5fc44da469788b851b3e5428c410fa",
"reports/installed/F1-service-local-optimized.json": "327480aa7a9f38cfea84b2f203f0c73b7db65dad618e8771758e87f51f96e70d",
"reports/installed/F1-service-this-optimized-public.json": "aed97548ad25fe49cf3fd8325262c5aecc3e61922523f4b11304f80f05c9dfaf",
"reports/installed/F1-condition-unoptimized.json": "76b545a80eb73145679f92519b208851a77a52dc393d677f95feeada6bbc098f",
"reports/installed/F3-function-optimized-public.json": "fa8602e15f6c39b76b178960aa7a5f9a18c8c1d287170f83361e4805478e9134",
"reports/installed/F5-scene-optimized-public.json": "90e54e732893942b9bcf8d89fbc489b0e26aeeb1b7b533b5d68993714c0aa72e",
"reports/installed/F3-function-unoptimized.json": "b909651d53273a5b1679dadbd7eb907c57c63a9d5ec066b1d086ee145fef97e5",
"reports/installed/F4-same-dependency-unoptimized.json": "5ea243ea90d0a645b2a77b372a9c175e25a5ff88e9a607d9b73304d7fcf7699e",
"reports/installed/F4-same-dependency-optimized-public.json": "56c08b4740fec55da814113af821a016203e81f04523e512ac0ac5b2eb7cbc2d",
"reports/installed/F5-scene-positional-optimized-public.json": "83d97898eda3a9c4229dbd2b03f63da0a8995c0cb5549cc079097a3f1db391cf",
"reports/installed/F1-local-unoptimized.json": "a394ce2946175e8defb4dfea63a4317e2e7a938cf5056eabc742e56229c045e3",
"reports/installed/F1-service-local-unoptimized.json": "b40707baea181926efac541755a6606d5d714116cd10e713a6d8f7f78f1438b7",
"reports/installed/F3-service-optimized.json": "6f354bfa25b6a4b8087dda58162ef9ed4b94a24b116398bf011a4e52374e2aa7",
"reports/installed/F4-same-direct-unoptimized.json": "d4f77e9e881cfe05c7d97a0aa4d7bfbf9dbb81c037481803f9048ec9c7ecf20f",
"reports/installed/F3-global-local-optimized-public.json": "2bf6e162cc5c124f7226137e26287b867c6856cc4080528904540e773f74a45b",
"reports/installed/F1-direct-optimized.json": "886cdff925114dfae3c5bb7e8dd390eb966d866b776fdbc7f358b1842bf37c48",
"reports/installed/F1-local-optimized.json": "f85554cde597855a4aa9851fb58e6663a5860737607f21cc660db6d7e6689143",
"reports/installed/F4-rename-a-unoptimized.json": "097162402ca387a7a328f951f5beafd5679c3ae22ac56b5e67ee239d375a9171",
"reports/installed/F5-shopvisit-optimized-public.json": "017ff972876aaac0ffa88ae7278a4807ce78718e301daf7db6fb2cf615d71833",
"reports/installed/F3-single-file-optimized-public.json": "060c004531a9e0d17350e76758c7ceebeab3d1d45e27e4fd71ee2edb297a685d",
"reports/installed/F1-two-calls-optimized.json": "22a09e04b5cb8d6282e6a05ef2ca4eaa105afcbb33a4a085aeb83681e95f40e0",
"reports/checkout/runtime-initial-handshake.json": "669d0a982cbeb933b115adeb9b3f71347e36ab6bc755705321d62113b9b2d728",
"reports/checkout/F2-locals-unoptimized.json": "49eb0331c8c01cda7646e536378a97eef67dff30b1c4921e3cd88a1daad92434",
"reports/checkout/F1-condition-optimized.json": "ed41f4cce9d1ca153bdadcd9bff00824723f3108023b8007b77949028b29a281",
"reports/checkout/summary.json": "2cfd0a6d35c6a8b1a7a4e8535802bd9c780128a861d17572cb3ab7aedf805fa5",
"reports/checkout/F3-file-private-unoptimized.json": "ae667cb198e37d013161c1566f28e748dff64a3fe8d55cb7da359de4486dce23",
"reports/checkout/F3-service-local-optimized.json": "da793046ada92a5f23fa87a592fa26274dbab9a1593798f5abe3c45efe76a313",
"reports/checkout/F2-struct-method-unoptimized.json": "c620d4faed2fab468299f189b6d4d12a9d2bfb1aa51f4e240facedc68ab0b685",
"reports/checkout/F4-same-dependency-optimized.json": "662fade4441344915b11e4ff4dc6390068d46d925b15321bfb50399589260f39",
"reports/checkout/runtime.json": "84c1ab043d2cd87a01e199852954462cb0c40c5eb95ecca7a32496156bed3061",
"reports/checkout/F3-service-local-optimized-public.json": "d9c7a893f61942965de31cb2436a8d71c952ac1903199d513a7a68c7afe4a118",
"reports/checkout/F4-same-no-dependency-optimized.json": "3b8a3efba8db5345b0a13615a08ad5a3ad474ee4a02fba5db4acc4cff48f162f",
"reports/checkout/F2-arguments-optimized-public.json": "7962da1e17131066356fbc427c4e3222800f92d64c2daea4ca290263fde7f33d",
"reports/checkout/F1-local-optimized-public.json": "505d6f8d6513cc6a6255cb04f47a0a4005e41076bfa7bef8b78828416dfd03da",
"reports/checkout/runtime-trap-control-unoptimized.json": "75f43f76eb1c1ed0a7db59abae547fcab8c0a902abb8d7c4910e2df01aff9d32",
"reports/checkout/F4-distinct-unoptimized.json": "872be60d90d610269245afc70c41a002530228e0f191f43dd71f6cf3e9a2b408",
"reports/checkout/F2-arguments-optimized.json": "176d8608dbee6b3e810a7877bc050335405c471c26a70e06f4a3d89542f680c5",
"reports/checkout/F4-distinct-optimized-public.json": "6f73bce5e1e9c5e43bab9ee39e9c42bcd938c9bd870abf368ad19bc0d90cf8a2",
"reports/checkout/F4-public-aliases-optimized-public.json": "bf25ff29b831dea99fe844914f785655ac07bd612be5aca536d0f91db7a4e1d4",
"reports/checkout/F3-function-optimized.json": "435c178660785d98d03f9b4d65dcd7d81bc96696a98e61edc61b2f977bee9456",
"reports/checkout/F3-single-file-unoptimized.json": "0cd9d3ff8b23a3314eae48edbd61ffcfe3b2bfa52b0bfa74ec19ecbeabaf6e06",
"reports/checkout/F5-scene-alias-optimized.json": "3ff0ea60bac3dd66afd7cdd101cfd93552f3e2a782078cd629daaf7c7eb4a61a",
"reports/checkout/F2-locals-optimized-public.json": "b789ff627c28c5d7034101494c22c7e032f765453332408b7d5b9fe809952a9d",
"reports/checkout/F2-struct-method-optimized-public.json": "c9227fb66a2951c3c3b97d30af3ab3bd4f4b521ca2b872523d366f70c9327985",
"reports/checkout/F1-two-calls-optimized-public.json": "10ff6b00173e5eeaa41a614515fe61e4a9d23bb21a347c11c04d0102d434d4c5",
"reports/checkout/F1-service-this-optimized.json": "ab773a10fa569b62545a1926396173d96d65f3868c1f7a129080c5ab0adf3ff0",
"reports/checkout/F4-rename-a-optimized.json": "a6fb35eb68c0c99d24179731cb3f89d4b54b95723f72a10d1f47ea8586e323a9",
"reports/checkout/F4-distinct-optimized.json": "74d8d5ed8fca23d3b4e85c96adea5f1ccfe97718484618037bd98e352cfd5062",
"reports/checkout/F4-same-direct-optimized.json": "e8dd28cb98e7f9f7bd6f8d3b1b8162d0089d85abcc9427d7c4230cf0757a7f41",
"reports/checkout/F3-global-optimized-public.json": "2173e30084cf5741e15d6ebf140467a3e26ed2834fcef778f573aabab356880f",
"reports/checkout/F1-direct-unoptimized.json": "2ea2c174d66d56de0c84d89c859723c7a08aae953c008988a059b81701eabce3",
"reports/checkout/F2-expression-optimized.json": "0ad1dc045de85dd7342482097a8afa8cc152ed96ed63b5b5d70f0500b4394e5b",
"reports/checkout/F4-rename-a-optimized-public.json": "8bdd1b2e0fe3e7da4501a545da5e59bed01d7e5bcb635f64d237840c9a619c97",
"reports/checkout/F5-scene-positional-optimized.json": "e03557490642f2ecf373a4a0ce64cac047721eafc6c23efaa238149b5eaa8e12",
"reports/checkout/F3-single-file-optimized.json": "b7a5f4703b09eff8ad54104f5b234391a6e3b1a51382dae4af75fe39c0489cc4",
"reports/checkout/F3-global-local-unoptimized.json": "ca346d5e9ae745e09a2cd97971379391c9cb38ae2ddd779f97e80b3755d99f07",
"reports/checkout/F4-same-direct-optimized-public.json": "57f8b30e08f5c54747e619d75fd3c5059688ed51389d8af5b4b28710fa6dde3b",
"reports/checkout/F4-public-aliases-optimized.json": "eb1605676719e503440029891065456cb870fb506895f471ba19932104eb3b95",
"reports/checkout/F5-scene-alias-optimized-public.json": "1cd29e27f06c6ae439ba3395894e0491dc3863c74978cfec346b4f51e0d8e3a6",
"reports/checkout/F3-file-private-optimized-public.json": "2ac2b85b6c67b3745eac29218a856a7fe703a3f1dbcb49b458fbcd2f2bbc2033",
"reports/checkout/F4-public-aliases-unoptimized.json": "938af1d55ec13be6f2c6b9effdd48a6971cfb2abed6a5c363cc29dbacf709137",
"reports/checkout/F5-scene-positional-unoptimized.json": "8205daf41fd1fec91f7eb4a4fb3a32716ca7cb12c0d69ff69de52298dcf6de57",
"reports/checkout/F3-service-local-unoptimized.json": "397692fd20299301dd23e95688579778942282f14a3dacf76a8d791955039661",
"reports/checkout/F4-same-no-dependency-optimized-public.json": "b929fdce1bb2adc171cda77f3c5d00d10064038ff31bb9e67a4fa919291342c3",
"reports/checkout/F2-struct-method-optimized.json": "4b0695cdcaf2a9790e9e452a94cd944745b43bc36c2a9b285b3c7b248b72d9af",
"reports/checkout/F3-global-unoptimized.json": "400763686b2aa7c03a247cbc4e46766559d817c894d47388bdf847a5a4ab194c",
"reports/checkout/F4-same-no-dependency-unoptimized.json": "23ef1ae540a19deb0aeca1b80d7511caaa5ab6fbdd08dc561c83f194cf342057",
"reports/checkout/F3-global-optimized.json": "bf2d212af3ec56c175ef7fc8f9f0e0219ccde18ce0b9a71f660d8549c93e2dd6",
"reports/checkout/F5-scene-alias-unoptimized.json": "98363fb941edab045b444c2175eecfe3a28dd1f25a2cfbd2b2ec03338c67d32b",
"reports/checkout/F5-shopvisit-unoptimized.json": "f01bf3edb5298450bd5f6e67b84a9d7016a8dda6cd71e2780e45c4f00f5573af",
"reports/checkout/F5-scene-optimized.json": "b757da19f950882d7cf02ccb24d1c47d2abce6d6501303535894d743f0985c28",
"reports/checkout/runtime-trap-control-optimized.json": "2830b850d4f7b53feb533bb1e5de5f5fd634a7225df7c6a5d90bfd78419ce311",
"reports/checkout/F1-direct-optimized-public.json": "b4284de76faf9cb0e6aa7b526832192c65a08becb2f00be573ac6963970aa8a7",
"reports/checkout/F2-expression-optimized-public.json": "1f5b2023bf61036ab07baff0333af8448a584fa77d4bb1afcc78dd254c012a1b",
"reports/checkout/F2-expression-unoptimized.json": "1c6f59574d057de7d735042734d06bf027b165da7bca8c4052bf831abc9d897b",
"reports/checkout/F3-global-local-optimized.json": "057924e0ecf5b2fab67152b9d03d1056ac22c806749884eb1bd6754346dbb69d",
"reports/checkout/F3-service-unoptimized.json": "86fdff33d4a698301fbecc1f6fdaf3593a64ef4fb48943259fe2c51e674b9196",
"reports/checkout/F1-two-calls-unoptimized.json": "e61747e1942c26fcd41399543f49aa81b1b55b27eac437bc402b50c52dff120f",
"reports/checkout/F3-service-optimized-public.json": "660b7998bdc363713271b14286a692e693c7f8275b8a670f5a6d441a5e08af55",
"reports/checkout/F5-scene-unoptimized.json": "2fc680a289da1ee9f814471d2f075c92793c910b9f1b86c890defafcba48b0b6",
"reports/checkout/F2-arguments-unoptimized.json": "68b4f5658b4eea648ef5e8111fadb00c610e44338c130926c7064dde233b5254",
"reports/checkout/runtime-trap-control-optimized-public.json": "0a43c7628c5c4aefdaf1065a7423da6a0193dc38155c0ed0d7669b5acf72a6fa",
"reports/checkout/F1-condition-optimized-public.json": "cedd3a4fee41e3fae8ca6cfafecb017f136eb0b2d97519426ccc5a71e3dc4f72",
"reports/checkout/F1-service-local-optimized-public.json": "317fc4c92a6797d2b2277f7d67422a6288e2880d63b8e47ae58cbd9e94d534c6",
"reports/checkout/F1-service-this-unoptimized.json": "aca7356a8d12038fc024d9e6490339f3c7101a347c8864fa2f43458effcee47c",
"reports/checkout/F5-shopvisit-optimized.json": "abeb3f2f53340d870fd249db1b1e0b7ceffa4ceb001a35d884db7d2c047febe3",
"reports/checkout/F2-locals-optimized.json": "102214812939f713581fd3fef313ff013c3d8e5e0192e2a8464405cf6a29ce41",
"reports/checkout/F3-file-private-optimized.json": "bddba2d4ccb3d0b9102ef35a0513f997410838e210d9bab0b1311bea8111f37f",
"reports/checkout/F1-service-local-optimized.json": "96f9e435ae954959d3c28da5601fc39c4646b173de559543cec8890ce2e0a036",
"reports/checkout/F1-service-this-optimized-public.json": "18f89a1ef43176e90c3b73fb84252d67e9ad7ea9232aff9235cd4d144b9fff1e",
"reports/checkout/F1-condition-unoptimized.json": "e2585e9bb47fa36a2591716a9d24e030b3e0df1045175c48321a3f9303d0ebde",
"reports/checkout/F3-function-optimized-public.json": "b90f93a857d581805a01b0a70f4ab763e2f6d90167f94eb3a2f641f5bfeb85d2",
"reports/checkout/F5-scene-optimized-public.json": "14e5e25778a293e0702fc185fafea6b52e0904b81b74150dfb07d20dc966772a",
"reports/checkout/F3-function-unoptimized.json": "64e6de7b86c55abf407082a7229292ff50f6804ca28acfb3e6c7424fc143145e",
"reports/checkout/F4-same-dependency-unoptimized.json": "b0b0347a6cc19bf53f84a21c82b566a6ab22ed79da554bc90dcb0a423c863281",
"reports/checkout/F4-same-dependency-optimized-public.json": "5b96fa1d29243f15da7ba47c2a057e9c135b82886d301873ce26ce66e2227d20",
"reports/checkout/F5-scene-positional-optimized-public.json": "d76779ea0cc78df721bca18385749fa88c93ea8113b1716e710163e42e74a90f",
"reports/checkout/F1-local-unoptimized.json": "103e5d8427a9a1d79906c2918896a9ef7f7a048ab5668b4c8fc471bbf694f453",
"reports/checkout/F1-service-local-unoptimized.json": "2b291762465fca0a006d35f50551e4d4cb2a156ff30f215e1adb101f28ebcc9f",
"reports/checkout/F3-service-optimized.json": "b3d6ae4ffa5d624da1ce7a7bd6c9022e67abd8aca09ebd9c4735db517ea2b685",
"reports/checkout/F4-same-direct-unoptimized.json": "82ed66e07c912049538fecf740827886c6424aaa9efcd45b485d052a4aa6768d",
"reports/checkout/F3-global-local-optimized-public.json": "9d08f6da3526bb1d12d3bc9530880eb7524059a2d31a663f4ad1907e3c6558df",
"reports/checkout/F1-direct-optimized.json": "920a8be8ffff2277537bb7880fe5a8a0c8ee0713a7fe954855a713f1efbeff82",
"reports/checkout/F1-local-optimized.json": "6aa1ba9458301d726618ffb8859b8ef4d7f93011830f1486e5b6cae507a73037",
"reports/checkout/F4-rename-a-unoptimized.json": "352812f18295e3f10d3140b7fc82a041719be547df26b11196299e527074fa89",
"reports/checkout/F5-shopvisit-optimized-public.json": "0eca1c05d959aaefcee4aea6cc442a20149741f83ca8f0523f7be1262af7c917",
"reports/checkout/F3-single-file-optimized-public.json": "360e34ddd6ce5f968bff9e60e8fb43c10a9a74d3f17ada017af779fb848268d6",
"reports/checkout/F1-two-calls-optimized.json": "efa10923db0bdc3ef3e1542438aa70cb842352c8880da23224c5bb43cc711372"
}
@@ -0,0 +1,134 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import p.studio.compiler.FrontendRegistryService;
import p.studio.compiler.messages.BuildingIssue;
import p.studio.compiler.messages.BuilderPipelineConfig;
import p.studio.compiler.models.BuilderPipelineContext;
import p.studio.compiler.source.identifiers.FileId;
import p.studio.compiler.workspaces.BuilderPipelineService;
import p.studio.compiler.workspaces.PipelineStage;
import p.studio.compiler.workspaces.stages.*;
import p.studio.utilities.logs.LogAggregator;
import java.nio.file.*;
import java.security.MessageDigest;
import java.util.*;
/** Research-only probe: production stages, isolated source projects, no compiler changes. */
public final class Agd113Probe {
static final ObjectMapper MAPPER = new ObjectMapper();
static final List<String> LOG = new ArrayList<>();
public static void main(String[] args) throws Exception {
Path root = Path.of(args[0]).toRealPath();
boolean optimize = args[1].equals("optimized");
boolean publicEntry = args.length > 3 && args[3].equals("public");
var result = new LinkedHashMap<String, Object>();
result.put("projectRoot", root.toString());
result.put("optimization", optimize ? "optimized" : "unoptimized");
result.put("entrypoint", publicEntry ? "BuilderPipelineService.compile" : "public analysis + production compile stages");
result.put("frontendOrigin", FrontendRegistryService.require("pbs").getClass().getProtectionDomain().getCodeSource().getLocation().toString());
result.put("pipelineOrigin", BuilderPipelineService.class.getProtectionDomain().getCodeSource().getLocation().toString());
var ctx = BuilderPipelineContext.fromConfig(new BuilderPipelineConfig(false, root.toString()));
var logs = LogAggregator.with(LOG::add);
var phases = new ArrayList<Map<String, Object>>();
result.put("phases", phases);
result.put("status", "infrastructure_failure");
try {
if (publicEntry) {
var compiled = BuilderPipelineService.INSTANCE.compile(ctx, logs);
result.put("diagnostics", compiled.diagnostics().stream().map(i -> issue(i, ctx)).toList());
result.put("status", "compiled");
} else {
var analyzed = BuilderPipelineService.INSTANCE.analyze(ctx, logs);
var phase = new LinkedHashMap<String, Object>();
phase.put("phase", "analysis");
phase.put("diagnostics", analyzed.diagnostics().stream().map(i -> issue(i, ctx)).toList());
boolean failed = analyzed.diagnostics().stream().anyMatch(BuildingIssue::isError);
phase.put("status", failed ? "failed" : "passed");
phases.add(phase);
if (failed) result.put("status", "analysis_failed");
else {
var stages = new ArrayList<PipelineStage>();
stages.add(new LowerToIRVMPipelineStage());
if (optimize) stages.add(new OptimizeIRVMPipelineStage());
stages.add(new EmitBytecodePipelineStage());
stages.add(new LinkBytecodePipelineStage());
stages.add(new VerifyBytecodePipelineStage());
result.put("status", "compiled");
for (var stage : stages) {
if (!optimize && stage instanceof EmitBytecodePipelineStage) ctx.optimizedIrvm = ctx.irvm;
var issues = stage.run(ctx, logs).asCollection();
var item = new LinkedHashMap<String, Object>();
item.put("phase", stage.getClass().getSimpleName());
item.put("diagnostics", issues.stream().map(i -> issue(i, ctx)).toList());
boolean errors = issues.stream().anyMatch(BuildingIssue::isError);
item.put("status", errors ? "failed" : "passed");
phases.add(item);
if (errors) { result.put("status", "compile_failed"); break; }
}
}
}
if (result.get("status").equals("compiled")) {
Path cartridge = root.resolve("cartridge");
Files.createDirectories(cartridge);
Files.write(cartridge.resolve("program.pbx"), ctx.bytecodeBytes);
var manifest = new LinkedHashMap<String, Object>();
manifest.put("magic", "PMTU"); manifest.put("cartridge_version", 1);
manifest.put("app_id", 113); manifest.put("title", "AGD113 isolated assertion fixture");
manifest.put("app_version", "1.0.0"); manifest.put("app_mode", "Game");
manifest.put("capabilities", List.of()); manifest.put("asset_table", List.of()); manifest.put("preload", List.of());
MAPPER.writerWithDefaultPrettyPrinter().writeValue(cartridge.resolve("manifest.json").toFile(), manifest);
result.put("cartridge", cartridge.toString());
result.put("bytecodeBytes", ctx.bytecodeBytes.length);
result.put("bytecodeSha256", HexFormat.of().formatHex(MessageDigest.getInstance("SHA-256").digest(ctx.bytecodeBytes)));
}
} catch (Throwable failure) {
result.put("status", failure instanceof p.studio.compiler.exceptions.BuildException
? "public_compile_rejected" : "pipeline_exception");
result.put("exception", causes(failure));
}
if (ctx.fileTable != null) {
var files = new LinkedHashMap<String, Object>();
for (int i = 0; i < ctx.fileTable.size(); i++) {
var f = ctx.fileTable.get(new FileId(i));
files.put(Integer.toString(i), f.getCanonPath().toString());
}
result.put("files", files);
}
if (ctx.irBackend != null) {
var functions = new ArrayList<Map<String, Object>>();
for (var fn : ctx.irBackend.getExecutableFunctions()) {
var file = ctx.fileTable.get(fn.fileId()).getCanonPath();
if (!file.startsWith(root)) continue;
var f = new LinkedHashMap<String, Object>();
f.put("callableId", fn.callableId().toString()); f.put("name", fn.callableName());
f.put("file", root.relativize(file).toString());
f.put("instructions", fn.instructions().stream().map(Object::toString).toList());
functions.add(f);
}
result.put("projectFunctions", functions);
}
result.put("logs", LOG);
Path report = Path.of(args[2]); Files.createDirectories(report.getParent());
MAPPER.writerWithDefaultPrettyPrinter().writeValue(report.toFile(), result);
System.out.println(result.get("status") + " " + root.getFileName());
}
static Map<String, Object> issue(BuildingIssue i, BuilderPipelineContext ctx) {
var out = new LinkedHashMap<String, Object>();
out.put("error", i.isError()); out.put("code", i.getCode()); out.put("phase", i.getPhase());
out.put("message", i.getMessage()); out.put("fileId", i.getFileId());
out.put("start", i.getStart()); out.put("end", i.getEnd());
out.put("functionIndex", i.getFunctionIndex()); out.put("pc", i.getPc());
if (i.getFileId() != null && i.getFileId() >= 0 && ctx.fileTable != null && i.getFileId() < ctx.fileTable.size())
out.put("file", ctx.fileTable.get(new FileId(i.getFileId())).getCanonPath().toString());
if (i.getException() != null) out.put("exception", causes(i.getException()));
return out;
}
static List<Map<String, String>> causes(Throwable t) {
var result = new ArrayList<Map<String, String>>();
for (int n = 0; t != null && n < 8; n++, t = t.getCause())
result.add(Map.of("class", t.getClass().getName(), "message", String.valueOf(t.getMessage())));
return result;
}
}
@@ -0,0 +1,180 @@
af8f1f8621ef33ef341d6d13748dff003108fff30124c083b7cb5744eb56e309 Agd113Probe.java
0ad291942af21e990f5cae3348a5be368dee865aa2843ba0d0effd1a9136cb87 cases.json
3cba903588aeba2b3615058d06102e9b2b0d84a4738f1d7e33f41e16428a930f execute.py
d56838a9083394197a447dc1ca3bf723bd071c1d4ff215b473d535f6799f7b8a inventory.json
fe281b67cd942290d1fdcf44da471f17303335fea59ce75449f64e415763787c investigate.py
8f4e7bb1f3813f7bd4b25309629f39b0a44c57fae6e9f492d80c6746a4740450 provenance.json
cedd3a4fee41e3fae8ca6cfafecb017f136eb0b2d97519426ccc5a71e3dc4f72 reports/checkout/F1-condition-optimized-public.json
ed41f4cce9d1ca153bdadcd9bff00824723f3108023b8007b77949028b29a281 reports/checkout/F1-condition-optimized.json
e2585e9bb47fa36a2591716a9d24e030b3e0df1045175c48321a3f9303d0ebde reports/checkout/F1-condition-unoptimized.json
b4284de76faf9cb0e6aa7b526832192c65a08becb2f00be573ac6963970aa8a7 reports/checkout/F1-direct-optimized-public.json
920a8be8ffff2277537bb7880fe5a8a0c8ee0713a7fe954855a713f1efbeff82 reports/checkout/F1-direct-optimized.json
2ea2c174d66d56de0c84d89c859723c7a08aae953c008988a059b81701eabce3 reports/checkout/F1-direct-unoptimized.json
505d6f8d6513cc6a6255cb04f47a0a4005e41076bfa7bef8b78828416dfd03da reports/checkout/F1-local-optimized-public.json
6aa1ba9458301d726618ffb8859b8ef4d7f93011830f1486e5b6cae507a73037 reports/checkout/F1-local-optimized.json
103e5d8427a9a1d79906c2918896a9ef7f7a048ab5668b4c8fc471bbf694f453 reports/checkout/F1-local-unoptimized.json
317fc4c92a6797d2b2277f7d67422a6288e2880d63b8e47ae58cbd9e94d534c6 reports/checkout/F1-service-local-optimized-public.json
96f9e435ae954959d3c28da5601fc39c4646b173de559543cec8890ce2e0a036 reports/checkout/F1-service-local-optimized.json
2b291762465fca0a006d35f50551e4d4cb2a156ff30f215e1adb101f28ebcc9f reports/checkout/F1-service-local-unoptimized.json
18f89a1ef43176e90c3b73fb84252d67e9ad7ea9232aff9235cd4d144b9fff1e reports/checkout/F1-service-this-optimized-public.json
ab773a10fa569b62545a1926396173d96d65f3868c1f7a129080c5ab0adf3ff0 reports/checkout/F1-service-this-optimized.json
aca7356a8d12038fc024d9e6490339f3c7101a347c8864fa2f43458effcee47c reports/checkout/F1-service-this-unoptimized.json
10ff6b00173e5eeaa41a614515fe61e4a9d23bb21a347c11c04d0102d434d4c5 reports/checkout/F1-two-calls-optimized-public.json
efa10923db0bdc3ef3e1542438aa70cb842352c8880da23224c5bb43cc711372 reports/checkout/F1-two-calls-optimized.json
e61747e1942c26fcd41399543f49aa81b1b55b27eac437bc402b50c52dff120f reports/checkout/F1-two-calls-unoptimized.json
7962da1e17131066356fbc427c4e3222800f92d64c2daea4ca290263fde7f33d reports/checkout/F2-arguments-optimized-public.json
176d8608dbee6b3e810a7877bc050335405c471c26a70e06f4a3d89542f680c5 reports/checkout/F2-arguments-optimized.json
68b4f5658b4eea648ef5e8111fadb00c610e44338c130926c7064dde233b5254 reports/checkout/F2-arguments-unoptimized.json
1f5b2023bf61036ab07baff0333af8448a584fa77d4bb1afcc78dd254c012a1b reports/checkout/F2-expression-optimized-public.json
0ad1dc045de85dd7342482097a8afa8cc152ed96ed63b5b5d70f0500b4394e5b reports/checkout/F2-expression-optimized.json
1c6f59574d057de7d735042734d06bf027b165da7bca8c4052bf831abc9d897b reports/checkout/F2-expression-unoptimized.json
b789ff627c28c5d7034101494c22c7e032f765453332408b7d5b9fe809952a9d reports/checkout/F2-locals-optimized-public.json
102214812939f713581fd3fef313ff013c3d8e5e0192e2a8464405cf6a29ce41 reports/checkout/F2-locals-optimized.json
49eb0331c8c01cda7646e536378a97eef67dff30b1c4921e3cd88a1daad92434 reports/checkout/F2-locals-unoptimized.json
c9227fb66a2951c3c3b97d30af3ab3bd4f4b521ca2b872523d366f70c9327985 reports/checkout/F2-struct-method-optimized-public.json
4b0695cdcaf2a9790e9e452a94cd944745b43bc36c2a9b285b3c7b248b72d9af reports/checkout/F2-struct-method-optimized.json
c620d4faed2fab468299f189b6d4d12a9d2bfb1aa51f4e240facedc68ab0b685 reports/checkout/F2-struct-method-unoptimized.json
2ac2b85b6c67b3745eac29218a856a7fe703a3f1dbcb49b458fbcd2f2bbc2033 reports/checkout/F3-file-private-optimized-public.json
bddba2d4ccb3d0b9102ef35a0513f997410838e210d9bab0b1311bea8111f37f reports/checkout/F3-file-private-optimized.json
ae667cb198e37d013161c1566f28e748dff64a3fe8d55cb7da359de4486dce23 reports/checkout/F3-file-private-unoptimized.json
b90f93a857d581805a01b0a70f4ab763e2f6d90167f94eb3a2f641f5bfeb85d2 reports/checkout/F3-function-optimized-public.json
435c178660785d98d03f9b4d65dcd7d81bc96696a98e61edc61b2f977bee9456 reports/checkout/F3-function-optimized.json
64e6de7b86c55abf407082a7229292ff50f6804ca28acfb3e6c7424fc143145e reports/checkout/F3-function-unoptimized.json
9d08f6da3526bb1d12d3bc9530880eb7524059a2d31a663f4ad1907e3c6558df reports/checkout/F3-global-local-optimized-public.json
057924e0ecf5b2fab67152b9d03d1056ac22c806749884eb1bd6754346dbb69d reports/checkout/F3-global-local-optimized.json
ca346d5e9ae745e09a2cd97971379391c9cb38ae2ddd779f97e80b3755d99f07 reports/checkout/F3-global-local-unoptimized.json
2173e30084cf5741e15d6ebf140467a3e26ed2834fcef778f573aabab356880f reports/checkout/F3-global-optimized-public.json
bf2d212af3ec56c175ef7fc8f9f0e0219ccde18ce0b9a71f660d8549c93e2dd6 reports/checkout/F3-global-optimized.json
400763686b2aa7c03a247cbc4e46766559d817c894d47388bdf847a5a4ab194c reports/checkout/F3-global-unoptimized.json
d9c7a893f61942965de31cb2436a8d71c952ac1903199d513a7a68c7afe4a118 reports/checkout/F3-service-local-optimized-public.json
da793046ada92a5f23fa87a592fa26274dbab9a1593798f5abe3c45efe76a313 reports/checkout/F3-service-local-optimized.json
397692fd20299301dd23e95688579778942282f14a3dacf76a8d791955039661 reports/checkout/F3-service-local-unoptimized.json
660b7998bdc363713271b14286a692e693c7f8275b8a670f5a6d441a5e08af55 reports/checkout/F3-service-optimized-public.json
b3d6ae4ffa5d624da1ce7a7bd6c9022e67abd8aca09ebd9c4735db517ea2b685 reports/checkout/F3-service-optimized.json
86fdff33d4a698301fbecc1f6fdaf3593a64ef4fb48943259fe2c51e674b9196 reports/checkout/F3-service-unoptimized.json
360e34ddd6ce5f968bff9e60e8fb43c10a9a74d3f17ada017af779fb848268d6 reports/checkout/F3-single-file-optimized-public.json
b7a5f4703b09eff8ad54104f5b234391a6e3b1a51382dae4af75fe39c0489cc4 reports/checkout/F3-single-file-optimized.json
0cd9d3ff8b23a3314eae48edbd61ffcfe3b2bfa52b0bfa74ec19ecbeabaf6e06 reports/checkout/F3-single-file-unoptimized.json
6f73bce5e1e9c5e43bab9ee39e9c42bcd938c9bd870abf368ad19bc0d90cf8a2 reports/checkout/F4-distinct-optimized-public.json
74d8d5ed8fca23d3b4e85c96adea5f1ccfe97718484618037bd98e352cfd5062 reports/checkout/F4-distinct-optimized.json
872be60d90d610269245afc70c41a002530228e0f191f43dd71f6cf3e9a2b408 reports/checkout/F4-distinct-unoptimized.json
bf25ff29b831dea99fe844914f785655ac07bd612be5aca536d0f91db7a4e1d4 reports/checkout/F4-public-aliases-optimized-public.json
eb1605676719e503440029891065456cb870fb506895f471ba19932104eb3b95 reports/checkout/F4-public-aliases-optimized.json
938af1d55ec13be6f2c6b9effdd48a6971cfb2abed6a5c363cc29dbacf709137 reports/checkout/F4-public-aliases-unoptimized.json
8bdd1b2e0fe3e7da4501a545da5e59bed01d7e5bcb635f64d237840c9a619c97 reports/checkout/F4-rename-a-optimized-public.json
a6fb35eb68c0c99d24179731cb3f89d4b54b95723f72a10d1f47ea8586e323a9 reports/checkout/F4-rename-a-optimized.json
352812f18295e3f10d3140b7fc82a041719be547df26b11196299e527074fa89 reports/checkout/F4-rename-a-unoptimized.json
5b96fa1d29243f15da7ba47c2a057e9c135b82886d301873ce26ce66e2227d20 reports/checkout/F4-same-dependency-optimized-public.json
662fade4441344915b11e4ff4dc6390068d46d925b15321bfb50399589260f39 reports/checkout/F4-same-dependency-optimized.json
b0b0347a6cc19bf53f84a21c82b566a6ab22ed79da554bc90dcb0a423c863281 reports/checkout/F4-same-dependency-unoptimized.json
57f8b30e08f5c54747e619d75fd3c5059688ed51389d8af5b4b28710fa6dde3b reports/checkout/F4-same-direct-optimized-public.json
e8dd28cb98e7f9f7bd6f8d3b1b8162d0089d85abcc9427d7c4230cf0757a7f41 reports/checkout/F4-same-direct-optimized.json
82ed66e07c912049538fecf740827886c6424aaa9efcd45b485d052a4aa6768d reports/checkout/F4-same-direct-unoptimized.json
b929fdce1bb2adc171cda77f3c5d00d10064038ff31bb9e67a4fa919291342c3 reports/checkout/F4-same-no-dependency-optimized-public.json
3b8a3efba8db5345b0a13615a08ad5a3ad474ee4a02fba5db4acc4cff48f162f reports/checkout/F4-same-no-dependency-optimized.json
23ef1ae540a19deb0aeca1b80d7511caaa5ab6fbdd08dc561c83f194cf342057 reports/checkout/F4-same-no-dependency-unoptimized.json
1cd29e27f06c6ae439ba3395894e0491dc3863c74978cfec346b4f51e0d8e3a6 reports/checkout/F5-scene-alias-optimized-public.json
3ff0ea60bac3dd66afd7cdd101cfd93552f3e2a782078cd629daaf7c7eb4a61a reports/checkout/F5-scene-alias-optimized.json
98363fb941edab045b444c2175eecfe3a28dd1f25a2cfbd2b2ec03338c67d32b reports/checkout/F5-scene-alias-unoptimized.json
14e5e25778a293e0702fc185fafea6b52e0904b81b74150dfb07d20dc966772a reports/checkout/F5-scene-optimized-public.json
b757da19f950882d7cf02ccb24d1c47d2abce6d6501303535894d743f0985c28 reports/checkout/F5-scene-optimized.json
d76779ea0cc78df721bca18385749fa88c93ea8113b1716e710163e42e74a90f reports/checkout/F5-scene-positional-optimized-public.json
e03557490642f2ecf373a4a0ce64cac047721eafc6c23efaa238149b5eaa8e12 reports/checkout/F5-scene-positional-optimized.json
8205daf41fd1fec91f7eb4a4fb3a32716ca7cb12c0d69ff69de52298dcf6de57 reports/checkout/F5-scene-positional-unoptimized.json
2fc680a289da1ee9f814471d2f075c92793c910b9f1b86c890defafcba48b0b6 reports/checkout/F5-scene-unoptimized.json
0eca1c05d959aaefcee4aea6cc442a20149741f83ca8f0523f7be1262af7c917 reports/checkout/F5-shopvisit-optimized-public.json
abeb3f2f53340d870fd249db1b1e0b7ceffa4ceb001a35d884db7d2c047febe3 reports/checkout/F5-shopvisit-optimized.json
f01bf3edb5298450bd5f6e67b84a9d7016a8dda6cd71e2780e45c4f00f5573af reports/checkout/F5-shopvisit-unoptimized.json
669d0a982cbeb933b115adeb9b3f71347e36ab6bc755705321d62113b9b2d728 reports/checkout/runtime-initial-handshake.json
0a43c7628c5c4aefdaf1065a7423da6a0193dc38155c0ed0d7669b5acf72a6fa reports/checkout/runtime-trap-control-optimized-public.json
2830b850d4f7b53feb533bb1e5de5f5fd634a7225df7c6a5d90bfd78419ce311 reports/checkout/runtime-trap-control-optimized.json
75f43f76eb1c1ed0a7db59abae547fcab8c0a902abb8d7c4910e2df01aff9d32 reports/checkout/runtime-trap-control-unoptimized.json
84c1ab043d2cd87a01e199852954462cb0c40c5eb95ecca7a32496156bed3061 reports/checkout/runtime.json
2cfd0a6d35c6a8b1a7a4e8535802bd9c780128a861d17572cb3ab7aedf805fa5 reports/checkout/summary.json
100808d1ea68e381465d3decfa6522f7441c70e98651e1080908a80f7537857e reports/installed/F1-condition-optimized-public.json
469f804f373dc836723cc1a3819ebe887d949f68662df02712fca59432d64281 reports/installed/F1-condition-optimized.json
76b545a80eb73145679f92519b208851a77a52dc393d677f95feeada6bbc098f reports/installed/F1-condition-unoptimized.json
940ea6f79bcd75fdc8bee32b136bc8a35a49f9ec96478d6740f3b094e74b4e73 reports/installed/F1-direct-optimized-public.json
886cdff925114dfae3c5bb7e8dd390eb966d866b776fdbc7f358b1842bf37c48 reports/installed/F1-direct-optimized.json
e1c1e3300d337886bf19e8d898fe99c041b080d23553b976ff0376e851c8463b reports/installed/F1-direct-unoptimized.json
c2513667963a8a67070b1cc10ba08efe68ef8af719ae664e6e4b6554ce0e01ac reports/installed/F1-local-optimized-public.json
f85554cde597855a4aa9851fb58e6663a5860737607f21cc660db6d7e6689143 reports/installed/F1-local-optimized.json
a394ce2946175e8defb4dfea63a4317e2e7a938cf5056eabc742e56229c045e3 reports/installed/F1-local-unoptimized.json
f87301a43d1da6189a05e1615292f7bb3f736c09260db952c7bdfac68731fdd6 reports/installed/F1-service-local-optimized-public.json
327480aa7a9f38cfea84b2f203f0c73b7db65dad618e8771758e87f51f96e70d reports/installed/F1-service-local-optimized.json
b40707baea181926efac541755a6606d5d714116cd10e713a6d8f7f78f1438b7 reports/installed/F1-service-local-unoptimized.json
aed97548ad25fe49cf3fd8325262c5aecc3e61922523f4b11304f80f05c9dfaf reports/installed/F1-service-this-optimized-public.json
63704de93235b32d9b1d8c0ce7d9d23f0cd55f1139155faabaf01d61feed15fa reports/installed/F1-service-this-optimized.json
535682fbb82e6d63a77935d525d5742369d311a0179a2028082b78521503f599 reports/installed/F1-service-this-unoptimized.json
3c13ff6c444abb13ec91dbc2d3cb9f672815f6194cda32a15f655aa9941ed907 reports/installed/F1-two-calls-optimized-public.json
22a09e04b5cb8d6282e6a05ef2ca4eaa105afcbb33a4a085aeb83681e95f40e0 reports/installed/F1-two-calls-optimized.json
ab0219ef9e1ee1f7ffaa7b412fbc1f9c012b15627178ecf5befe0efda6affbb8 reports/installed/F1-two-calls-unoptimized.json
feb21410cb1ec1a06622e92637f0362d6364175745904ab651234a2b41f87040 reports/installed/F2-arguments-optimized-public.json
a84cfdbd07d153fa4c2bd5215e6c73e7b3f23cf9368ee595307f5e27d390df91 reports/installed/F2-arguments-optimized.json
a3efe914c7d380a1048bbee6c27ef54f29e52df0db81e271c720198ac1212680 reports/installed/F2-arguments-unoptimized.json
9af9025a55eea1abe6a15c0c5e48ee6cf7046b3179d909efe48ae1d7b99a4c26 reports/installed/F2-expression-optimized-public.json
68c9e518d9618758e0f4ac56fb9b90e6cb980f202c7ef59491b2403c0b35c1bf reports/installed/F2-expression-optimized.json
c7be8a43b1a751f89f363259dc55496c47229984b85e6324dffc1e4dd3d87601 reports/installed/F2-expression-unoptimized.json
78c8f1e93daaef9eca253da562491c97c8313c351e5471495246d5325d46079d reports/installed/F2-locals-optimized-public.json
59f81ac09ed1dfce7c010b07ed7266a6269eaef3258c61c30f8ed5ad71328b77 reports/installed/F2-locals-optimized.json
35d6057c2d06fb579ac7cfda017cee3ad4d195541970ba6e083d1498fbdf2670 reports/installed/F2-locals-unoptimized.json
3795228c5d28454e6003edb046d495e3834065f5f2b8205a4aae3691850db101 reports/installed/F2-struct-method-optimized-public.json
6478d644c1ef0411d46e868048559c91af1b2991dee293bfa5d17f5df1817c55 reports/installed/F2-struct-method-optimized.json
f7c5f05ea2f7039f1a7a4b58e78f22873ccd995bf5368e8181c0278c6e2632fc reports/installed/F2-struct-method-unoptimized.json
6832d99b8ea7e979a1c368fe022ac29595c68546697fbfa76499f4a74371027e reports/installed/F3-file-private-optimized-public.json
56f11754501835fbebe8eaa07d77fff75d5fc44da469788b851b3e5428c410fa reports/installed/F3-file-private-optimized.json
aee05b230a89fa80bd63fe994cb8be3159d77e22213b39344072595943dcec27 reports/installed/F3-file-private-unoptimized.json
fa8602e15f6c39b76b178960aa7a5f9a18c8c1d287170f83361e4805478e9134 reports/installed/F3-function-optimized-public.json
83115007570081c0c608b9f3896fd4bb6a2b8ec4abc950fddf6207dcf9a19dab reports/installed/F3-function-optimized.json
b909651d53273a5b1679dadbd7eb907c57c63a9d5ec066b1d086ee145fef97e5 reports/installed/F3-function-unoptimized.json
2bf6e162cc5c124f7226137e26287b867c6856cc4080528904540e773f74a45b reports/installed/F3-global-local-optimized-public.json
7aef5c854de418b7a74bfe2a64a99f0769c82862ceb31c8402b43121ba9103dd reports/installed/F3-global-local-optimized.json
39d075d8acd637052c039aaf443710607b897060ecd4dcf4de0606c6525e19b3 reports/installed/F3-global-local-unoptimized.json
6c54ebaa699b648af9e13042010dc8fcaf03b07f85981a71a5e55f9c203b0dd5 reports/installed/F3-global-optimized-public.json
dabbd7673f094d416cde03d949a8a671013200b6126b1202cae7827e61ed4f85 reports/installed/F3-global-optimized.json
fdae63aa0bac5994cbacc15aa5499acd42c19d0fdb77292bfe73ce2cc3937d38 reports/installed/F3-global-unoptimized.json
5ea34cb5f32828c94cb22592cf29c8f018dc60c1a899e14b7995d8d5b50e3347 reports/installed/F3-service-local-optimized-public.json
073f9da774e8f1fae31ca8502660f0952a0c8c69953915e751315ab124264f52 reports/installed/F3-service-local-optimized.json
b502718a9c5fd1617c29858ac790a3eb60c1150ac0aabcf4a4bc9fa7a8e4cf89 reports/installed/F3-service-local-unoptimized.json
b51efdaa8fe8dd1466da235765579c436507f44d880d5e375a4d94a6e57bb32d reports/installed/F3-service-optimized-public.json
6f354bfa25b6a4b8087dda58162ef9ed4b94a24b116398bf011a4e52374e2aa7 reports/installed/F3-service-optimized.json
5ea12eaabe8e7fa52589981d7af270f4cbe94e8891c2e4c5a84fe8a59b88cf39 reports/installed/F3-service-unoptimized.json
060c004531a9e0d17350e76758c7ceebeab3d1d45e27e4fd71ee2edb297a685d reports/installed/F3-single-file-optimized-public.json
d1f4e1ba3eb4add3967bf3f8f3cd4d85ebb36f3207fe35db3dfc53ee815292b6 reports/installed/F3-single-file-optimized.json
ac02aeb7dc426c9f271c314cfb8b67dd5bb7053ddd5aebebef7cab7eb253060e reports/installed/F3-single-file-unoptimized.json
74b134569c412f3d883879d2c9fc46c36290d25bea74b275f379e42ad73cd22f reports/installed/F4-distinct-optimized-public.json
39fbba16eb57fa255314703d30cd50468ba0485161024b2620e5758e4cd6b82e reports/installed/F4-distinct-optimized.json
e087bdeee22535e90d9fac072d24fd14ef32c1850d32ee25f66f2894cefd32e3 reports/installed/F4-distinct-unoptimized.json
b0354d3f005a4411f7dfe216628dfd3aa6d9a3098a0d73e0acb9c67737b18cc7 reports/installed/F4-public-aliases-optimized-public.json
c146756e6bc640d0c303a30a44b2e3227a56a92a28458341f5d3b3ee830c289a reports/installed/F4-public-aliases-optimized.json
557f86fe0522db15bd23f60de6a3852a5a2350e880a6e3152b36f30153f26877 reports/installed/F4-public-aliases-unoptimized.json
2d5a8a4856f0317e6e30f9a25d0215687446323c5b7ed1c06cd9c19843c593d1 reports/installed/F4-rename-a-optimized-public.json
6049003c167951da2b09b292a511c049f38fbf7e0cee70dae54fe3ba429501ae reports/installed/F4-rename-a-optimized.json
097162402ca387a7a328f951f5beafd5679c3ae22ac56b5e67ee239d375a9171 reports/installed/F4-rename-a-unoptimized.json
56c08b4740fec55da814113af821a016203e81f04523e512ac0ac5b2eb7cbc2d reports/installed/F4-same-dependency-optimized-public.json
b23771bdeb63b8b57f3d61bae5cc490c6b21db026bd080c7271f5827702c5a28 reports/installed/F4-same-dependency-optimized.json
5ea243ea90d0a645b2a77b372a9c175e25a5ff88e9a607d9b73304d7fcf7699e reports/installed/F4-same-dependency-unoptimized.json
151906886bd63c0ea527e9e5ade1de04f61d664482928b6cbd6c2382f94bcdc4 reports/installed/F4-same-direct-optimized-public.json
63cfe8f2117c0d7d4e4862c1757d60bf575483f95b9f4d26117257a77dbb194c reports/installed/F4-same-direct-optimized.json
d4f77e9e881cfe05c7d97a0aa4d7bfbf9dbb81c037481803f9048ec9c7ecf20f reports/installed/F4-same-direct-unoptimized.json
9fdaf41b8a8c493a5660e1b4fbf6c480cbf6af9f324017ec855fc23cb0b1b69e reports/installed/F4-same-no-dependency-optimized-public.json
424d84c46f387d174f375412aa2e5aeff80e1cbb94ce754734588ca080fffa4f reports/installed/F4-same-no-dependency-optimized.json
16b73210ab56edcc9f8085cfcd3178f2f75dab82f3e7454a2eb47e477e069d71 reports/installed/F4-same-no-dependency-unoptimized.json
7b1885628b3493403170b54342abc388a50442d7fa120a18a04aa22dc60ef31b reports/installed/F5-scene-alias-optimized-public.json
9fde0cbe08ac1a7289bce315e641d9538f6a551894d434cc265f30dbd4b86cb9 reports/installed/F5-scene-alias-optimized.json
bc5daab68bb2277bd27e2033701bc2af3152121bd0a98d94140ccaf79c253054 reports/installed/F5-scene-alias-unoptimized.json
90e54e732893942b9bcf8d89fbc489b0e26aeeb1b7b533b5d68993714c0aa72e reports/installed/F5-scene-optimized-public.json
799850e92bcb8131ece497ad6ae3483f24393f763c7cc45602865e444343d4b5 reports/installed/F5-scene-optimized.json
83d97898eda3a9c4229dbd2b03f63da0a8995c0cb5549cc079097a3f1db391cf reports/installed/F5-scene-positional-optimized-public.json
563908675229d594cb84868f13991386347f49a10186712e3615d9a528870acb reports/installed/F5-scene-positional-optimized.json
5a43c1f448791d82d0915cad5f276d7c43c8ca862535bd9984c8a07ec4c94975 reports/installed/F5-scene-positional-unoptimized.json
efd5a110e9e045e4dacaa8460b1ef0836ac28f93beccdabdbdd46187c487cf06 reports/installed/F5-scene-unoptimized.json
017ff972876aaac0ffa88ae7278a4807ce78718e301daf7db6fb2cf615d71833 reports/installed/F5-shopvisit-optimized-public.json
e2a6b92a411fcc7bd773f722ed01e19dc05fdf79ace2ed9817b44900690ec25b reports/installed/F5-shopvisit-optimized.json
5ada64b78c6bbd2edf6e8fdb3bdd3f2636e65f83433be1a416f29fc321ced246 reports/installed/F5-shopvisit-unoptimized.json
85f48d8419ed67df2012374bde725b1384770c4af09e359565ffae64b4d39d42 reports/installed/runtime-trap-control-optimized-public.json
adf1ed574b9b6efc24e96f30345481306b11cde436ef8089e61e92917c0197a6 reports/installed/runtime-trap-control-optimized.json
4717b4e67e8833c1ff97a5f8b2f889ec2a5257ac4da2ab3e9f911f7347e301ab reports/installed/runtime-trap-control-unoptimized.json
f4fa2254c59287e612ad15def09923d1b06bb99ebaf9ed963c772e3c6bef6ac0 reports/installed/runtime.json
ccda50babb0435b71a8be61cfb917a61d2fcfb40b9175726934061b7ca345a83 reports/installed/summary.json
f58d64158242408961f707fed7c3d2b7b1715e3b9e74e5344f1bcb2bedab5508 summarize.py
@@ -0,0 +1,451 @@
{
"schemaVersion": 1,
"cases": [
{
"id": "F1-local",
"family": "call-comparison-return",
"description": "Control: method result materialized before comparison",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { let value=data.value(); return value!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n"
},
"sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990"
},
{
"id": "F1-direct",
"family": "call-comparison-return",
"description": "Method call compared directly in returned expression",
"control": "F1-local",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()!=0; }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n"
},
"sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61"
},
{
"id": "F1-two-calls",
"family": "call-comparison-return",
"description": "Two method calls as comparison operands",
"control": "F1-local",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn check() -> bool { return data.value()==data.value(); }\n[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n"
},
"sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f"
},
{
"id": "F1-service-this",
"family": "call-comparison-return",
"description": "Service receiver this inside a returned comparison",
"control": "F1-service-local",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { return this.value()!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n"
},
"sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089"
},
{
"id": "F1-service-local",
"family": "call-comparison-return",
"description": "Control: identical service call materialized before returned comparison",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { let value=this.value(); return value!=0; } }\n[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n"
},
"sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb"
},
{
"id": "F1-condition",
"family": "call-comparison-return",
"description": "Control: direct method comparison in an if condition",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\n[Frame] fn frame() -> void { if data.value()!=1 { let failure=1/0; } }\n"
},
"sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014"
},
{
"id": "F2-locals",
"family": "nested-call-expression",
"description": "Control: effectful call arguments stored in locals",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let a=next(); let b=next(); let value=add(a,b); if value!=3 || calls!=2 { let failure=1/0; } }\n"
},
"sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218"
},
{
"id": "F2-arguments",
"family": "nested-call-expression",
"description": "Effectful call arguments evaluate once, left to right",
"control": "F2-locals",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next(),next()); if value!=3 || calls!=2 { let failure=1/0; } }\n"
},
"sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c"
},
{
"id": "F2-expression",
"family": "nested-call-expression",
"description": "Effectful calls nested inside arithmetic argument",
"control": "F2-locals",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { calls=0; let value=add(next()+next(),next()); if value!=6 || calls!=3 { let failure=1/0; } }\n"
},
"sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073"
},
{
"id": "F2-struct-method",
"family": "nested-call-expression",
"description": "Struct method used as another method argument",
"control": "F2-locals",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\nfn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { let value=add(data.value(),data.value()); if value!=2 { let failure=1/0; } }\n"
},
"sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894"
},
{
"id": "F3-single-file",
"family": "same-module-files",
"description": "Control: function and caller in the same file",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "fn increment(value: int) -> int { return value+1; }\n[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n"
},
"sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a"
},
{
"id": "F3-function",
"family": "same-module-files",
"description": "mod function called from another file",
"control": "F3-single-file",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\nmod fn increment(value: int) -> int;\n",
"src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n",
"src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n"
},
"sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1"
},
{
"id": "F3-global",
"family": "same-module-files",
"description": "mod global mutated from another file",
"control": "F3-global-local",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\nmod global count;\n",
"src/state.pbs": "declare global count: int=0;\n",
"src/main.pbs": "[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n"
},
"sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34"
},
{
"id": "F3-service",
"family": "same-module-files",
"description": "mod service called from another file",
"control": "F3-service-local",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\nmod service Helper;\n",
"src/helpers.pbs": "declare service Helper { fn value() -> int { return 3; } }\n",
"src/main.pbs": "[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n"
},
"sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22"
},
{
"id": "F3-global-local",
"family": "same-module-files",
"description": "Control: identical global and caller in the same file",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare global count: int=0;\n[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n"
},
"sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924"
},
{
"id": "F3-service-local",
"family": "same-module-files",
"description": "Control: identical service and caller in the same file",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "declare service Helper { fn value() -> int { return 3; } }\n[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n"
},
"sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb"
},
{
"id": "F3-file-private",
"family": "same-module-files",
"description": "Negative control: function absent from barrel stays file-private",
"control": "F3-function",
"expectedCompile": "rejected",
"expectedRuntime": "not_run",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n",
"src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); }\n"
},
"sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb"
},
{
"id": "F4-distinct",
"family": "homonymous-types",
"description": "Types ARoomData/BRoomData; dependency=True; direct=False",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n",
"src/a/mod.barrel": "pub service A;\nmod struct ARoomData;\n",
"src/a/data.pbs": "declare struct ARoomData() { fn value() -> int { return 1; } }\n",
"src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: ARoomData = new ARoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n",
"src/b/mod.barrel": "pub service B;\nmod struct BRoomData;\n",
"src/b/data.pbs": "declare struct BRoomData() { fn value() -> int { return 2; } }\n",
"src/b/main.pbs": "declare global room: BRoomData = new BRoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n"
},
"sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811"
},
{
"id": "F4-same-no-dependency",
"family": "homonymous-types",
"description": "Types RoomData/RoomData; dependency=False; direct=False",
"control": "F4-distinct",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=1 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n",
"src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n",
"src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n",
"src/a/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); return own; } }\n",
"src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n",
"src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n",
"src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n"
},
"sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5"
},
{
"id": "F4-same-dependency",
"family": "homonymous-types",
"description": "Types RoomData/RoomData; dependency=True; direct=False",
"control": "F4-distinct",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n",
"src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n",
"src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n",
"src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n",
"src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n",
"src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n",
"src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n"
},
"sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831"
},
{
"id": "F4-rename-a",
"family": "homonymous-types",
"description": "Types StartRoomData/RoomData; dependency=True; direct=False",
"control": "F4-distinct",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n",
"src/a/mod.barrel": "pub service A;\nmod struct StartRoomData;\n",
"src/a/data.pbs": "declare struct StartRoomData() { fn value() -> int { return 1; } }\n",
"src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: StartRoomData = new StartRoomData();\ndeclare service A { fn value() -> int { let own=room.value(); let other=B.value(); return own+other; } }\n",
"src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n",
"src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n",
"src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n"
},
"sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e"
},
{
"id": "F4-same-direct",
"family": "homonymous-types",
"description": "Types RoomData/RoomData; dependency=True; direct=True",
"control": "F4-distinct",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { A } from @caseapp:a;\nimport { B } from @caseapp:b;\n[Frame] fn frame() -> void { let value=A.value(); if value!=3 { let failure=1/0; } let other=B.value(); if other!=2 { let failure=1/0; } }\n",
"src/a/mod.barrel": "pub service A;\nmod struct RoomData;\n",
"src/a/data.pbs": "declare struct RoomData() { fn value() -> int { return 1; } }\n",
"src/a/main.pbs": "import { B } from @caseapp:b;\ndeclare global room: RoomData = new RoomData();\ndeclare service A { fn value() -> int { return room.value()+B.value(); } }\n",
"src/b/mod.barrel": "pub service B;\nmod struct RoomData;\n",
"src/b/data.pbs": "declare struct RoomData() { fn value() -> int { return 2; } }\n",
"src/b/main.pbs": "declare global room: RoomData = new RoomData();\ndeclare service B { fn value() -> int { return room.value(); } }\n"
},
"sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e"
},
{
"id": "F4-public-aliases",
"family": "homonymous-types",
"description": "Two distinct nominal RoomData declarations imported with aliases",
"control": "F4-distinct",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { RoomData as LeftData } from @caseapp:a;\nimport { RoomData as RightData } from @caseapp:b;\ndeclare global left: LeftData = new LeftData(1);\ndeclare global right: RightData = new RightData(2);\n[Frame] fn frame() -> void { let a=left.value(); let b=right.value(); if a!=1 || b!=2 { let failure=1/0; } }\n",
"src/a/mod.barrel": "pub struct RoomData;\n",
"src/a/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n",
"src/b/mod.barrel": "pub struct RoomData;\n",
"src/b/main.pbs": "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n"
},
"sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207"
},
{
"id": "F5-shopvisit",
"family": "imported-struct-construction",
"description": "Imported ShopVisit, alias=None, positional=False",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { ShopVisit } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: ShopVisit = new ShopVisit.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n",
"src/scene/mod.barrel": "pub struct ShopVisit;\n",
"src/scene/main.pbs": "declare struct ShopVisit(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n",
"src/link/mod.barrel": "pub service Link;\n",
"src/link/main.pbs": "import { ShopVisit } from @caseapp:scene;\ndeclare service Link { fn read(scene: ShopVisit) -> int { return scene.read(); } }\n"
},
"sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38"
},
{
"id": "F5-scene",
"family": "imported-struct-construction",
"description": "Imported Scene, alias=None, positional=False",
"control": "F5-shopvisit",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n",
"src/scene/mod.barrel": "pub struct Scene;\n",
"src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n",
"src/link/mod.barrel": "pub service Link;\n",
"src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n"
},
"sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f"
},
{
"id": "F5-scene-alias",
"family": "imported-struct-construction",
"description": "Imported Scene, alias=WorldScene, positional=False",
"control": "F5-shopvisit",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { Scene as WorldScene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: WorldScene = new WorldScene.make(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n",
"src/scene/mod.barrel": "pub struct Scene;\n",
"src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n",
"src/link/mod.barrel": "pub service Link;\n",
"src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n"
},
"sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959"
},
{
"id": "F5-scene-positional",
"family": "imported-struct-construction",
"description": "Imported Scene, alias=None, positional=True",
"control": "F5-shopvisit",
"expectedCompile": "compiled",
"expectedRuntime": "passed",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "import { Scene } from @caseapp:scene;\nimport { Link } from @caseapp:link;\ndeclare global scene: Scene = new Scene(10);\n[Frame] fn frame() -> void { let value=Link.read(scene); if value!=10 { let failure=1/0; } }\n",
"src/scene/mod.barrel": "pub struct Scene;\n",
"src/scene/main.pbs": "declare struct Scene(value: int) { ctor make(value: int) { this.value=value; } fn read() -> int { return this.value; } }\n",
"src/link/mod.barrel": "pub service Link;\n",
"src/link/main.pbs": "import { Scene } from @caseapp:scene;\ndeclare service Link { fn read(scene: Scene) -> int { return scene.read(); } }\n"
},
"sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7"
},
{
"id": "runtime-trap-control",
"family": "harness-control",
"description": "Deliberate guest fault proves frame assertions are executed",
"control": null,
"expectedCompile": "compiled",
"expectedRuntime": "fault",
"files": {
"prometeu.json": "{\n \"name\": \"caseapp\",\n \"version\": \"1.0.0\",\n \"language\": \"pbs\",\n \"stdlib\": \"1\",\n \"target\": \"Game\",\n \"dependencies\": []\n}\n",
"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": "[Frame] fn frame() -> void { let failure=1/0; }\n"
},
"sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9"
}
]
}
@@ -0,0 +1,133 @@
#!/usr/bin/env python3
"""Execute isolated assertion cartridges against an existing, unmodified headless binary."""
import argparse
import hashlib
import json
import os
from pathlib import Path
import selectors
import signal
import subprocess
import tempfile
import time
HERE = Path(__file__).resolve().parent
ROOT = HERE.parents[3]
class Session:
def __init__(self, binary, directory):
self.stderr = open(directory / "runtime.stderr", "wb")
self.process = subprocess.Popen([str(binary), "--stdio"], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=self.stderr, cwd=directory, start_new_session=True)
self.selector = selectors.DefaultSelector()
self.selector.register(self.process.stdout, selectors.EVENT_READ)
self.buffer = bytearray()
self.transcript = []
self.request = 0
def event(self):
deadline = time.monotonic() + 12
while b"\n" not in self.buffer:
remaining = deadline - time.monotonic()
if remaining <= 0 or not self.selector.select(remaining):
raise TimeoutError("Runtime reply deadline")
data = os.read(self.process.stdout.fileno(), 65536)
if not data:
raise EOFError("Runtime closed stdout")
self.buffer.extend(data)
line, _, rest = self.buffer.partition(b"\n")
self.buffer = bytearray(rest)
value = json.loads(line)
self.transcript.append({"direction": "received", "message": value})
return value
def call(self, command, params=None):
self.request += 1
request = {"requestId": f"agd113-{self.request}", "command": command, "params": params or {}}
self.transcript.append({"direction": "sent", "message": request})
self.process.stdin.write(json.dumps(request).encode() + b"\n")
self.process.stdin.flush()
while True:
response = self.event()
if response.get("requestId") != request["requestId"]:
raise AssertionError("Unexpected response correlation")
if response.get("type") == "progress":
continue
if "error" in response:
raise RuntimeError(json.dumps(response["error"]))
return response.get("result")
def close(self):
try:
if self.process.poll() is None:
try:
self.call("shutdown")
self.process.wait(timeout=5)
except Exception:
os.killpg(self.process.pid, signal.SIGKILL)
self.process.wait(timeout=5)
finally:
self.selector.close()
self.stderr.close()
self.process.stdin.close()
self.process.stdout.close()
def main():
parser = argparse.ArgumentParser()
parser.add_argument("--mode", choices=["checkout", "installed"], default="checkout")
parser.add_argument("--runtime", type=Path, default=ROOT.parent / "runtime/target/debug/prometeu-headless")
parser.add_argument("--select", help="Comma-separated case IDs")
args = parser.parse_args()
binary = args.runtime.resolve(strict=True)
cases = {c["id"]: c for c in json.loads((HERE / "cases.json").read_text())["cases"]}
summary = json.loads((HERE / "reports" / args.mode / "summary.json").read_text())
selected = set(args.select.split(",")) if args.select else None
results = {"schemaVersion": 1, "mode": args.mode, "binary": str(binary),
"binarySha256": hashlib.sha256(binary.read_bytes()).hexdigest(), "cases": []}
for item in summary["cases"]:
if item["public"] or item["status"] != "compiled" or (selected and item["id"] not in selected):
continue
report = json.loads((HERE / item["report"]).read_text())
work = Path(tempfile.mkdtemp(prefix="agd113-runtime-"))
outcome = {"id": item["id"], "optimization": item["optimization"], "compileReport": item["report"],
"sourceSha256": report["sourceSha256"], "bytecodeSha256": report["bytecodeSha256"],
"expectedRuntime": cases[item["id"]]["expectedRuntime"], "observedRuntime": "infrastructure_failure"}
session = Session(binary, work)
try:
hello = session.event()
assert hello["type"] == "hello"
outcome["hello"] = hello
assert hello["protocolVersion"]["major"] == 1
required = ["boot", "advance", "get_state", "get_fault", "shutdown"]
assert set(required) <= set(hello["capabilities"])
session.call("initialize", {"protocolVersion": {"major": 1, "minor": min(1, hello["protocolVersion"]["minor"])},
"requiredCapabilities": required})
outcome["boot"] = session.call("boot", {"path": report["cartridge"]})
advance = session.call("advance", {"frames": 3})
fault = session.call("get_fault")
outcome["advance"] = advance
outcome["fault"] = fault
outcome["state"] = session.call("get_state")
actual_fault = fault.get("fault") if isinstance(fault, dict) and "fault" in fault else fault
if actual_fault is not None:
outcome["observedRuntime"] = "fault"
elif advance.get("completed") == 3:
outcome["observedRuntime"] = "passed"
else:
outcome["observedRuntime"] = "incomplete"
except Exception as error:
outcome["exception"] = {"class": type(error).__name__, "message": str(error)}
finally:
session.close()
outcome["transcript"] = session.transcript
outcome["stderr"] = (work / "runtime.stderr").read_text(errors="replace")
outcome["matchesExpectation"] = outcome["observedRuntime"] == outcome["expectedRuntime"]
results["cases"].append(outcome)
(HERE / "reports" / args.mode / "runtime.json").write_text(json.dumps(results, indent=2) + "\n")
print(args.mode, outcome["id"], outcome["optimization"], outcome["observedRuntime"], outcome["matchesExpectation"], flush=True)
if __name__ == "__main__":
main()
@@ -0,0 +1,178 @@
#!/usr/bin/env python3
"""Research corpus for AGD-0113. Only writes evidence and isolated scratch projects."""
import argparse
import hashlib
import json
import os
from pathlib import Path
import subprocess
import tempfile
import time
HERE = Path(__file__).resolve().parent
ROOT = HERE.parents[3]
INSTALL = ROOT / "prometeu-app/build/install/prometeu-app"
JAVA = INSTALL / "runtime/bin/java"
JAVAC = INSTALL / "runtime/bin/javac"
MANIFEST = {"name": "caseapp", "version": "1.0.0", "language": "pbs", "stdlib": "1", "target": "Game", "dependencies": []}
def digest(data):
return hashlib.sha256(data).hexdigest()
def corpus():
cases = []
def add(case_id, family, description, files, control=None, expected="compiled", runtime="passed"):
files = {"prometeu.json": json.dumps(MANIFEST, indent=2) + "\n", **files}
cases.append({"id": case_id, "family": family, "description": description,
"control": control, "expectedCompile": expected, "expectedRuntime": runtime,
"files": files, "sourceSha256": digest(json.dumps(files, sort_keys=True).encode())})
def one(case_id, family, description, body, control=None):
add(case_id, family, description, {"src/mod.barrel": "pub fn frame() -> void;\n", "src/main.pbs": body}, control)
check = "[Frame] fn frame() -> void { if !check() { let failure=1/0; } }\n"
data = "declare struct Probe() { fn value() -> int { return 1; } }\ndeclare global data: Probe = new Probe();\n"
one("F1-local", "call-comparison-return", "Control: method result materialized before comparison", data + "fn check() -> bool { let value=data.value(); return value!=0; }\n" + check)
one("F1-direct", "call-comparison-return", "Method call compared directly in returned expression", data + "fn check() -> bool { return data.value()!=0; }\n" + check, "F1-local")
one("F1-two-calls", "call-comparison-return", "Two method calls as comparison operands", data + "fn check() -> bool { return data.value()==data.value(); }\n" + check, "F1-local")
service = "declare service Probe { fn value() -> int { return 1; } fn check() -> bool { return this.value()!=0; } }\n"
one("F1-service-this", "call-comparison-return", "Service receiver this inside a returned comparison", service + "[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n", "F1-local")
one("F1-service-local", "call-comparison-return", "Control: identical service call materialized before returned comparison", service.replace("return this.value()!=0;", "let value=this.value(); return value!=0;") + "[Frame] fn frame() -> void { if !Probe.check() { let failure=1/0; } }\n")
one("F1-condition", "call-comparison-return", "Control: direct method comparison in an if condition", data + "[Frame] fn frame() -> void { if data.value()!=1 { let failure=1/0; } }\n")
effects = "declare global calls: int=0;\nfn next() -> int { calls+=1; return calls; }\nfn add(a: int,b: int) -> int { return a+b; }\n"
one("F2-locals", "nested-call-expression", "Control: effectful call arguments stored in locals", effects + "[Frame] fn frame() -> void { calls=0; let a=next(); let b=next(); let value=add(a,b); if value!=3 || calls!=2 { let failure=1/0; } }\n")
one("F2-arguments", "nested-call-expression", "Effectful call arguments evaluate once, left to right", effects + "[Frame] fn frame() -> void { calls=0; let value=add(next(),next()); if value!=3 || calls!=2 { let failure=1/0; } }\n", "F2-locals")
one("F2-expression", "nested-call-expression", "Effectful calls nested inside arithmetic argument", effects + "[Frame] fn frame() -> void { calls=0; let value=add(next()+next(),next()); if value!=6 || calls!=3 { let failure=1/0; } }\n", "F2-locals")
one("F2-struct-method", "nested-call-expression", "Struct method used as another method argument", data + "fn add(a: int,b: int) -> int { return a+b; }\n[Frame] fn frame() -> void { let value=add(data.value(),data.value()); if value!=2 { let failure=1/0; } }\n", "F2-locals")
one("F3-single-file", "same-module-files", "Control: function and caller in the same file", "fn increment(value: int) -> int { return value+1; }\n[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n")
add("F3-function", "same-module-files", "mod function called from another file", {"src/mod.barrel": "pub fn frame() -> void;\nmod fn increment(value: int) -> int;\n", "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); if value!=3 { let failure=1/0; } }\n"}, "F3-single-file")
add("F3-global", "same-module-files", "mod global mutated from another file", {"src/mod.barrel": "pub fn frame() -> void;\nmod global count;\n", "src/state.pbs": "declare global count: int=0;\n", "src/main.pbs": "[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n"})
add("F3-service", "same-module-files", "mod service called from another file", {"src/mod.barrel": "pub fn frame() -> void;\nmod service Helper;\n", "src/helpers.pbs": "declare service Helper { fn value() -> int { return 3; } }\n", "src/main.pbs": "[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n"})
one("F3-global-local", "same-module-files", "Control: identical global and caller in the same file", "declare global count: int=0;\n[Frame] fn frame() -> void { count=4; if count!=4 { let failure=1/0; } }\n")
one("F3-service-local", "same-module-files", "Control: identical service and caller in the same file", "declare service Helper { fn value() -> int { return 3; } }\n[Frame] fn frame() -> void { let value=Helper.value(); if value!=3 { let failure=1/0; } }\n")
add("F3-file-private", "same-module-files", "Negative control: function absent from barrel stays file-private", {"src/mod.barrel": "pub fn frame() -> void;\n", "src/helpers.pbs": "fn increment(value: int) -> int { return value+1; }\n", "src/main.pbs": "[Frame] fn frame() -> void { let value=increment(2); }\n"}, "F3-function", expected="rejected", runtime="not_run")
def rooms(case_id, name_a, name_b, dependency, direct=False):
a_import = "import { B } from @caseapp:b;\n" if dependency else ""
a_return = "let own=room.value(); let other=B.value(); return own+other;" if dependency else "let own=room.value(); return own;"
if direct:
a_return = "return room.value()+B.value();" if dependency else "return room.value();"
expected = 3 if dependency else 1
files = {"src/mod.barrel": "pub fn frame() -> void;\n", "src/main.pbs": f"import {{ A }} from @caseapp:a;\nimport {{ B }} from @caseapp:b;\n[Frame] fn frame() -> void {{ let value=A.value(); if value!={expected} {{ let failure=1/0; }} let other=B.value(); if other!=2 {{ let failure=1/0; }} }}\n"}
for module, service_name, typ, value in [("a", "A", name_a, 1), ("b", "B", name_b, 2)]:
files[f"src/{module}/mod.barrel"] = f"pub service {service_name};\nmod struct {typ};\n"
files[f"src/{module}/data.pbs"] = f"declare struct {typ}() {{ fn value() -> int {{ return {value}; }} }}\n"
method = a_return if module == "a" else "return room.value();"
files[f"src/{module}/main.pbs"] = (a_import if module == "a" else "") + f"declare global room: {typ} = new {typ}();\ndeclare service {service_name} {{ fn value() -> int {{ {method} }} }}\n"
add(case_id, "homonymous-types", f"Types {name_a}/{name_b}; dependency={dependency}; direct={direct}", files,
None if case_id == "F4-distinct" else "F4-distinct")
rooms("F4-distinct", "ARoomData", "BRoomData", True)
rooms("F4-same-no-dependency", "RoomData", "RoomData", False)
rooms("F4-same-dependency", "RoomData", "RoomData", True)
rooms("F4-rename-a", "StartRoomData", "RoomData", True)
rooms("F4-same-direct", "RoomData", "RoomData", True, True)
alias_case = {"src/mod.barrel": "pub fn frame() -> void;\n", "src/main.pbs": "import { RoomData as LeftData } from @caseapp:a;\nimport { RoomData as RightData } from @caseapp:b;\ndeclare global left: LeftData = new LeftData(1);\ndeclare global right: RightData = new RightData(2);\n[Frame] fn frame() -> void { let a=left.value(); let b=right.value(); if a!=1 || b!=2 { let failure=1/0; } }\n"}
for module in ("a", "b"):
alias_case[f"src/{module}/mod.barrel"] = "pub struct RoomData;\n"
alias_case[f"src/{module}/main.pbs"] = "declare struct RoomData(number: int) { fn value() -> int { return this.number; } }\n"
add("F4-public-aliases", "homonymous-types", "Two distinct nominal RoomData declarations imported with aliases", alias_case, "F4-distinct")
def imported(case_id, type_name, alias=None, positional=False):
local = alias or type_name
ctor = f"new {local}(10)" if positional else f"new {local}.make(10)"
imported_name = f"{type_name} as {alias}" if alias else type_name
files = {"src/mod.barrel": "pub fn frame() -> void;\n",
"src/main.pbs": f"import {{ {imported_name} }} from @caseapp:scene;\nimport {{ Link }} from @caseapp:link;\ndeclare global scene: {local} = {ctor};\n[Frame] fn frame() -> void {{ let value=Link.read(scene); if value!=10 {{ let failure=1/0; }} }}\n",
"src/scene/mod.barrel": f"pub struct {type_name};\n",
"src/scene/main.pbs": f"declare struct {type_name}(value: int) {{ ctor make(value: int) {{ this.value=value; }} fn read() -> int {{ return this.value; }} }}\n",
"src/link/mod.barrel": "pub service Link;\n",
"src/link/main.pbs": f"import {{ {type_name} }} from @caseapp:scene;\ndeclare service Link {{ fn read(scene: {type_name}) -> int {{ return scene.read(); }} }}\n"}
add(case_id, "imported-struct-construction", f"Imported {type_name}, alias={alias}, positional={positional}", files,
None if case_id == "F5-shopvisit" else "F5-shopvisit")
imported("F5-shopvisit", "ShopVisit")
imported("F5-scene", "Scene")
imported("F5-scene-alias", "Scene", "WorldScene")
imported("F5-scene-positional", "Scene", positional=True)
one("runtime-trap-control", "harness-control", "Deliberate guest fault proves frame assertions are executed", "[Frame] fn frame() -> void { let failure=1/0; }\n")
cases[-1]["expectedRuntime"] = "fault"
for case in cases:
if case["id"] == "F1-service-this": case["control"] = "F1-service-local"
if case["id"] == "F3-global": case["control"] = "F3-global-local"
if case["id"] == "F3-service": case["control"] = "F3-service-local"
return cases
def classpath(mode):
installed = str(INSTALL / "lib/*")
if mode == "installed":
return installed
modules = ["prometeu-infra", "prometeu-animation", "prometeu-compiler/prometeu-compiler-core",
"prometeu-compiler/prometeu-frontend-api", "prometeu-compiler/frontends/prometeu-frontend-pbs",
"prometeu-compiler/prometeu-frontend-registry", "prometeu-compiler/prometeu-deps",
"prometeu-compiler/prometeu-build-pipeline"]
entries = [str(ROOT / m / suffix) for m in modules for suffix in ["build/classes/java/main", "build/resources/main"]
if (ROOT / m / suffix).exists()]
return os.pathsep.join(entries + [installed])
def main():
parser = argparse.ArgumentParser()
parser.add_argument("--mode", choices=["checkout", "installed"], default="checkout")
parser.add_argument("--select", help="Comma-separated case IDs; default is the full corpus")
parser.add_argument("--public", action="store_true", help="Also check the production public compile entrypoint")
args = parser.parse_args()
cases = corpus()
(HERE / "cases.json").write_text(json.dumps({"schemaVersion": 1, "cases": cases}, indent=2) + "\n")
selected = set(args.select.split(",")) if args.select else None
if selected:
assert selected <= {c["id"] for c in cases}, selected
cases = [c for c in cases if c["id"] in selected]
scratch = Path(tempfile.mkdtemp(prefix=f"agd113-{args.mode}-"))
cp = classpath(args.mode)
subprocess.run([str(JAVAC), "-proc:none", "-cp", cp, "-d", str(scratch / "classes"), str(HERE / "Agd113Probe.java")], check=True)
report_dir = HERE / "reports" / args.mode
report_dir.mkdir(parents=True, exist_ok=True)
prior = json.loads((report_dir / "summary.json").read_text()) if (report_dir / "summary.json").exists() else {}
summary = {"schemaVersion": 1, "mode": args.mode, "scratch": str(scratch), "cases": prior.get("cases", [])}
for case in cases:
for optimization in ["optimized", "unoptimized"]:
for public in ([False, True] if args.public and optimization == "optimized" else [False]):
suffix = optimization + ("-public" if public else "")
project = scratch / case["id"] / suffix
for path, source in case["files"].items():
target = project / path
target.parent.mkdir(parents=True, exist_ok=True)
target.write_text(source)
report = report_dir / f"{case['id']}-{suffix}.json"
cmd = [str(JAVA), "-cp", os.pathsep.join([str(scratch / "classes"), cp]), "Agd113Probe", str(project), optimization, str(report)]
if public:
cmd.append("public")
started = time.monotonic()
completed = subprocess.run(cmd, cwd=scratch, capture_output=True, text=True, timeout=50)
if completed.returncode:
report.write_text(json.dumps({"status": "probe_failure", "returncode": completed.returncode,
"stdout": completed.stdout, "stderr": completed.stderr}, indent=2) + "\n")
result = json.loads(report.read_text())
result["caseId"] = case["id"]
result["sourceSha256"] = case["sourceSha256"]
result["durationSeconds"] = round(time.monotonic() - started, 3)
result["stderr"] = completed.stderr
report.write_text(json.dumps(result, indent=2) + "\n")
summary["cases"] = [i for i in summary["cases"] if (i["id"], i["optimization"], i["public"]) != (case["id"], optimization, public)]
summary["cases"].append({"id": case["id"], "optimization": optimization, "public": public,
"expectedCompile": case["expectedCompile"], "status": result["status"],
"report": str(report.relative_to(HERE))})
print(args.mode, case["id"], suffix, result["status"], flush=True)
(report_dir / "summary.json").write_text(json.dumps(summary, indent=2) + "\n")
print("Scratch:", scratch, flush=True)
if __name__ == "__main__":
main()
@@ -0,0 +1,167 @@
{
"schemaVersion": 1,
"capturedAtUtc": "2026-11-09T15:01:24.959140+00:00",
"studioRevision": "38f201a9c9e9e23e961da4fa715ed5ee80283e94",
"studioWorktreeStatus": [
"M \"docs/specs/studio/8. Project-Local Studio State Specification.md\"",
" M prometeu-app/src/main/java/p/studio/app/lsp/LspLifecycleAdapter.java",
" M prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/ExternalSourceDevelopmentHostTest.java",
" M tools/vscode-extension/.gitignore",
" M tools/vscode-extension/README.md",
" M tools/vscode-extension/out/extension.js",
" M tools/vscode-extension/out/externalSources.js",
" M tools/vscode-extension/package.json",
" M tools/vscode-extension/src/extension.ts",
" M tools/vscode-extension/src/externalSources.ts",
" M tools/vscode-extension/src/test/externalSources.ts",
"?? discussion/lessons/DSC-0103-studio-lsp-discovery/",
"?? prometeu-app/src/test/java/p/studio/app/lsp/LspDiscoveryTest.java",
"?? tools/vscode-extension/out/discovery.js",
"?? tools/vscode-extension/src/discovery.ts",
"?? tools/vscode-extension/src/test/discovery.ts"
],
"platform": "macOS-27.2-x86_64-i386-64bit",
"machine": "x86_64",
"java": "openjdk version \"21.0.4\" 2024-07-16 LTS\nOpenJDK Runtime Environment Corretto-21.0.4.7.1 (build 21.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Corretto-21.0.4.7.1 (build 21.0.4+7-LTS, mixed mode)",
"modules": [
{
"path": "prometeu-infra",
"sources": {
"files": 13,
"sha256": "fa687886ae3dd448a4a4f75f050d105381738deefaabf8ab37c7c98530b03f82"
},
"classes": {
"files": 19,
"sha256": "ca8703e19f121597737819aa961387f93f62ca91bda6a3ea144637138d071a4a"
},
"installedJarSha256": "f13e51efc3c570f615bdae452ba1f309bf1c517f2a2b59d53c8bd2bc27b997a4",
"installedClassComparison": {
"matching": 19,
"differentOrMissing": []
}
},
{
"path": "prometeu-animation",
"sources": {
"files": 11,
"sha256": "3c9ba4e3f68e46bd93b21dfedf98f9ec86a175210c92835951a0938edf920c67"
},
"classes": {
"files": 20,
"sha256": "4e49a264283bd69c41c27522648a6475507dbe6f5e7551f9417d37f8718bb0f9"
},
"installedJarSha256": "14e8fa35594dc87d57ecb02774e8d59d01708b2f557707da4cb194b384fd6ba3",
"installedClassComparison": {
"matching": 20,
"differentOrMissing": []
}
},
{
"path": "prometeu-compiler/prometeu-compiler-core",
"sources": {
"files": 60,
"sha256": "63d91df2cd9659c84afc7b1f08e6ed2bb59459121dfff9d351b971b8b9729431"
},
"classes": {
"files": 69,
"sha256": "67195eb34021e0982dca4d13edf12bac5005596bb69f916b6df8065274364059"
},
"installedJarSha256": "3e59f47ebdd5817296e6cbd318a0550675c6e794786ea409461e33d8b7ee2e27",
"installedClassComparison": {
"matching": 69,
"differentOrMissing": []
}
},
{
"path": "prometeu-compiler/prometeu-frontend-api",
"sources": {
"files": 50,
"sha256": "1c32e9b8e7a8026c4c2632de4ff30df4af943ecc7d49738a55ab61703e59aee6"
},
"classes": {
"files": 80,
"sha256": "74ac9eb3b87ac2f9cc8a0ba53f27cf4a50d77d42255901a9ea6f31198d0990e8"
},
"installedJarSha256": "04f721e4afee0a9cdb4c86e3293b5bbe02aee6d903e4a529ed26c01df19d2167",
"installedClassComparison": {
"matching": 80,
"differentOrMissing": []
}
},
{
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs",
"sources": {
"files": 175,
"sha256": "bb26f87e8653d9096079320f2f13fa5e03f7feec274b7edf6ad96aae5ef46046"
},
"classes": {
"files": 382,
"sha256": "b4243aeac77e926c5f49f6c85378924cae1ac4a3d441addd373ae9a1bcadf4d7"
},
"installedJarSha256": "811c28b6cff04514dfd6350fc5be655c28e971403badb66eec9a9deea639c877",
"installedClassComparison": {
"matching": 382,
"differentOrMissing": []
}
},
{
"path": "prometeu-compiler/prometeu-frontend-registry",
"sources": {
"files": 1,
"sha256": "f15427b5306e828f350c499468520f14db04a213c8cc3e4a0e5b378c8ad9ce1b"
},
"classes": {
"files": 1,
"sha256": "5c5c66c058c558cd5555c9dfe71a70f51fee013539b77245bcb7932064a9f5ac"
},
"installedJarSha256": "5335baaa8d105a9f7ad7968d66edbd104afc1da2b206795adb5f12259a104a86",
"installedClassComparison": {
"matching": 1,
"differentOrMissing": []
}
},
{
"path": "prometeu-compiler/prometeu-deps",
"sources": {
"files": 22,
"sha256": "7675aef42c196ad300e756941c36360b7669466d6a152de63fdacd4d5ffc930a"
},
"classes": {
"files": 27,
"sha256": "16e4aed22abe63084b1e982122885dcf5331ae214262fa8c7a881cc4ce40bf85"
},
"installedJarSha256": "83a4f709e35b92f5a559f5cdc177853c1eb836d38d88740959b0162c4233ccb4",
"installedClassComparison": {
"matching": 27,
"differentOrMissing": []
}
},
{
"path": "prometeu-compiler/prometeu-build-pipeline",
"sources": {
"files": 48,
"sha256": "d2ae07badb20ee7c47d34967387f99a9c3c3fb088806d0626309bc7bed2f7674"
},
"classes": {
"files": 97,
"sha256": "f0677652a814732c6adbd500e8a008d32beed536208d5d77ba88c9eba4f58a8b"
},
"installedJarSha256": "999e0bf636fbf0115b857375ed91f73f9d44d0b16cec51ce3bad2b42d9ed9455",
"installedClassComparison": {
"matching": 97,
"differentOrMissing": []
}
}
],
"runtimeExecutables": [
{
"binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless",
"binarySha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6"
},
{
"binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless",
"binarySha256": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6"
}
],
"scope": "Runtime binaries were read/executed only; all cartridge/media-free fixture writes belong to scratch directories."
}
@@ -0,0 +1,109 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/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/",
"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/agd113-checkout-zo51sjpb/F1-condition/optimized-public/cartridge",
"bytecodeBytes": 1176,
"bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/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@a8ef162, 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@a8ef162, 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@a8ef162, 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@5340477f, 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@2f01783a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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@38af9828, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62656be4, 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@7d61eb55, 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@222a59e6, 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@4bff7da0, 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@4c2bb6e0, 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@3e62d773, 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@4ef74c30, 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@7283d3eb, 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@4bff7da0, 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@4bff7da0, 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@4bff7da0, 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@47caedad, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@18ece7f4, 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@3cce57c7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@2f01783a, 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@47caedad, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, 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@47caedad, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, 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=[109,171] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-condition",
"sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014",
"durationSeconds": 0.648,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,138 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/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/",
"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/agd113-checkout-zo51sjpb/F1-condition/optimized/cartridge",
"bytecodeBytes": 1176,
"bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/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@a8ef162, 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@a8ef162, 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@a8ef162, 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@5340477f, 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@2f01783a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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@38af9828, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62656be4, 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@7d61eb55, 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@222a59e6, 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@4bff7da0, 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@4c2bb6e0, 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@3e62d773, 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@4ef74c30, 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@7283d3eb, 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@4bff7da0, 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@4bff7da0, 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@4bff7da0, 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@47caedad, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@18ece7f4, 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@3cce57c7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@2f01783a, 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@47caedad, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, 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@47caedad, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, 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=[109,171] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-condition",
"sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014",
"durationSeconds": 0.685,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,133 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/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/",
"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/agd113-checkout-zo51sjpb/F1-condition/unoptimized/cartridge",
"bytecodeBytes": 1198,
"bytecodeSha256": "0a91fa28a6ad6cb99ad148da177bffebeb728d92eb92155269582f3e48a03bb2",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/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@a8ef162, 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@a8ef162, 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@a8ef162, 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@5340477f, 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@2f01783a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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@38af9828, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@62656be4, 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@7d61eb55, 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@222a59e6, 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@4bff7da0, 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@4c2bb6e0, 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@3e62d773, 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@4ef74c30, 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@7283d3eb, 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@4bff7da0, 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@4bff7da0, 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@4bff7da0, 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@47caedad, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@18ece7f4, 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@3cce57c7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@2f01783a, 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@47caedad, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, 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@47caedad, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@47caedad, 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@47caedad, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-condition/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, 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=[109,171] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-condition",
"sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014",
"durationSeconds": 0.639,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,33 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized-public/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-direct",
"sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61",
"durationSeconds": 0.602,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,46 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)",
"fileId": 0,
"start": 129,
"end": 141,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/optimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-direct",
"sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61",
"durationSeconds": 0.582,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,46 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)",
"fileId": 0,
"start": 129,
"end": 141,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/unoptimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-direct/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-direct",
"sourceSha256": "382223b4c520762a93e3ee767255175adec8b24f69949b335c1a0030c9d75e61",
"durationSeconds": 0.596,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,121 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/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/",
"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/agd113-checkout-0onfg84b/F1-local/optimized-public/cartridge",
"bytecodeBytes": 1331,
"bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/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@7ac296f6, 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@7ac296f6, 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@7ac296f6, 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@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@41488b16, 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@4e0ae11f, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@376a0d86, 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@62656be4, 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@17d919b6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"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@21d03963, 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@1f760b47, 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@3576ddc2, 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@3cce57c7, 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@1cf56a1c, 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@33f676f6, 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@4c5ae43b, 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@3576ddc2, 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@3576ddc2, 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@3576ddc2, 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@387a8303, 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@747f281, 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@1169afe1, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@41488b16, 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@387a8303, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, 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@387a8303, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-local",
"sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990",
"durationSeconds": 0.725,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,150 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/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/",
"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/agd113-checkout-0onfg84b/F1-local/optimized/cartridge",
"bytecodeBytes": 1331,
"bytecodeSha256": "8eccf8f6ba08c113d8427bda9063e6cf2f2a77f0cc1235c886ce40f7aaf1958b",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/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@7ac296f6, 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@7ac296f6, 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@7ac296f6, 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@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@41488b16, 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@4e0ae11f, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@376a0d86, 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@62656be4, 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@17d919b6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"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@21d03963, 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@1f760b47, 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@3576ddc2, 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@3cce57c7, 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@1cf56a1c, 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@33f676f6, 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@4c5ae43b, 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@3576ddc2, 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@3576ddc2, 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@3576ddc2, 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@387a8303, 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@747f281, 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@1169afe1, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@41488b16, 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@387a8303, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, 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@387a8303, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-local",
"sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990",
"durationSeconds": 1.132,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,145 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/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/",
"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/agd113-checkout-0onfg84b/F1-local/unoptimized/cartridge",
"bytecodeBytes": 1353,
"bytecodeSha256": "bc4bc7e4c786f499e6c2864b3935a7f3a4bb849523bf5ab032d74594ef914148",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/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@7ac296f6, 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@7ac296f6, 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@7ac296f6, 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@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@41488b16, 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@4e0ae11f, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@376a0d86, 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@62656be4, 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@17d919b6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"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@21d03963, 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@1f760b47, 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@3576ddc2, 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@3cce57c7, 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@1cf56a1c, 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@33f676f6, 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@4c5ae43b, 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@3576ddc2, 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@3576ddc2, 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@3576ddc2, 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@387a8303, 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@747f281, 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@1169afe1, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@41488b16, 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@387a8303, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, 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@387a8303, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, 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@387a8303, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-local/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn check(0 params) returnType=explicit fileId=FileId(0) span=[101,164]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[173,228] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-local",
"sourceSha256": "35df5a71b9d508b20e8b293a769ba1397a3209d99246c39240e8788cda932990",
"durationSeconds": 0.648,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,114 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/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/",
"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/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/cartridge",
"bytecodeBytes": 1310,
"bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@61710c6, 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@3214ee6, 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@41488b16, 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@2bdd8394, 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@5f9edf14, 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@68746f22, 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@2f01783a, 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@41488b16, 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@41488b16, 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@41488b16, 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@1be2019a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Probe.$instance",
"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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@18317edc, 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@4e0ae11f, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Probe.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@9cb8225, 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@9cb8225, 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@9cb8225, 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@9cb8225, 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@9cb8225, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@9cb8225, 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@9cb8225, 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@9cb8225, registryInstruction=null]",
"Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38af9828, 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@376a0d86, 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@62656be4, 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@17d919b6, 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@53f3bdbd, 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@34129c78, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, 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=[130,191] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-service-local",
"sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb",
"durationSeconds": 0.671,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,143 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/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/",
"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/agd113-checkout-zo51sjpb/F1-service-local/optimized/cartridge",
"bytecodeBytes": 1310,
"bytecodeSha256": "87de8807d637739e1721459c69603f495d2e84bc7b19a2c5b7d136c7d1832cc1",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@61710c6, 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@3214ee6, 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@41488b16, 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@2bdd8394, 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@5f9edf14, 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@68746f22, 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@2f01783a, 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@41488b16, 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@41488b16, 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@41488b16, 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@1be2019a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Probe.$instance",
"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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@18317edc, 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@4e0ae11f, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Probe.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@9cb8225, 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@9cb8225, 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@9cb8225, 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@9cb8225, 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@9cb8225, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@9cb8225, 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@9cb8225, 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@9cb8225, registryInstruction=null]",
"Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38af9828, 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@376a0d86, 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@62656be4, 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@17d919b6, 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@53f3bdbd, 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@34129c78, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, 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=[130,191] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-service-local",
"sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb",
"durationSeconds": 0.725,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,138 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/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/",
"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/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/cartridge",
"bytecodeBytes": 1332,
"bytecodeSha256": "27b125f6527f834808218aac651b7513bd46719f2436f82a3646fb84ff9fd4fb",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.check, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@61710c6, 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@3214ee6, 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@41488b16, 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@2bdd8394, 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@5f9edf14, 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@68746f22, 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@2f01783a, 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@41488b16, 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@41488b16, 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@41488b16, 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@1be2019a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Probe.$instance",
"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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@6f15d60e, 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@6f15d60e, 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@6f15d60e, 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@6f15d60e, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@18317edc, 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@4e0ae11f, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Probe.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@9cb8225, 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@9cb8225, 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@9cb8225, 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@9cb8225, 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@9cb8225, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@9cb8225, 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@9cb8225, 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@9cb8225, registryInstruction=null]",
"Instruction[kind=POP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@38af9828, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@38af9828, 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@376a0d86, 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@62656be4, 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@17d919b6, 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@53f3bdbd, 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@34129c78, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, 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@1be2019a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F1-service-local/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, 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=[130,191] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-service-local",
"sourceSha256": "f07038dc6f42923a65b1df8c4d17aa61eb1714ae7907d82b87fcda9e6c4b73fb",
"durationSeconds": 0.654,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,33 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized-public/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-service-this",
"sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089",
"durationSeconds": 0.573,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,46 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)",
"fileId": 0,
"start": 84,
"end": 96,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/optimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-service-this",
"sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089",
"durationSeconds": 0.579,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,46 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96)",
"fileId": 0,
"start": 84,
"end": 96,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/unoptimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-service-this/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[84,96) [file=0:84-96] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-service-this",
"sourceSha256": "78a7ba39a880d9136b49f82ecbee7d409333c26861ff0a6b429ae6a55f08d089",
"durationSeconds": 0.648,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,34 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized-public/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-two-calls",
"sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f",
"durationSeconds": 0.586,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,59 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)",
"fileId": 0,
"start": 129,
"end": 141,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/main.pbs"
},
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)",
"fileId": 0,
"start": 143,
"end": 155,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/optimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-two-calls",
"sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f",
"durationSeconds": 0.639,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,59 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141)",
"fileId": 0,
"start": 129,
"end": 141,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/main.pbs"
},
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155)",
"fileId": 0,
"start": 143,
"end": 155,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/unoptimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F1-two-calls/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[129,141) [file=0:129-141] \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: executable lowering requires resolvable callee identity @ FileId(0):[143,155) [file=0:143-155] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-two-calls",
"sourceSha256": "2e3da1c805c18b5cdc34ca372fae737804a9274205ef377ac21d5b0034d60c4f",
"durationSeconds": 0.613,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,131 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/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/",
"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/agd113-checkout-0onfg84b/F2-arguments/optimized-public/cartridge",
"bytecodeBytes": 1516,
"bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, 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@2bdd8394, 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@78fa769e, 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@16612a51, 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@54e041a4, 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@2c78324b, 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@79defdc, 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@18317edc, 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@4e0ae11f, 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@38af9828, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@9cb8225, 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@38af9828, 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@38af9828, 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@38af9828, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-arguments",
"sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c",
"durationSeconds": 0.613,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,160 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/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/",
"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/agd113-checkout-0onfg84b/F2-arguments/optimized/cartridge",
"bytecodeBytes": 1516,
"bytecodeSha256": "192729b10e48e3fecde68af9a92890b1a96352945811bf1decca23747e0d6f12",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, 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@2bdd8394, 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@78fa769e, 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@16612a51, 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@54e041a4, 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@2c78324b, 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@79defdc, 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@18317edc, 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@4e0ae11f, 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@38af9828, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@9cb8225, 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@38af9828, 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@38af9828, 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@38af9828, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-arguments",
"sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c",
"durationSeconds": 0.619,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,155 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/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/",
"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/agd113-checkout-0onfg84b/F2-arguments/unoptimized/cartridge",
"bytecodeBytes": 1538,
"bytecodeSha256": "043ede06360bbea0be59b2abbb46be2572dc21673c77c0d7a16936a24289b4f0",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, 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@2bdd8394, 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@78fa769e, 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@16612a51, 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@54e041a4, 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@2c78324b, 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@79defdc, 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@18317edc, 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@4e0ae11f, 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@38af9828, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@9cb8225, 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@38af9828, 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@38af9828, 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@38af9828, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-arguments/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,233] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-arguments",
"sourceSha256": "b8713121ffe7afacdd9d4ad6046768ff4ad681b44fcc153f84a432f6df75717c",
"durationSeconds": 0.621,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,133 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/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/",
"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/agd113-checkout-0onfg84b/F2-expression/optimized-public/cartridge",
"bytecodeBytes": 1556,
"bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, 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@7d7758be, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@68746f22, 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@2f01783a, 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@2c78324b, registryInstruction=null]",
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, 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@18317edc, 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@4e0ae11f, 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@238d68ff, 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@4b86805d, 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@5852c06f, 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@17d919b6, 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@9cb8225, 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@76b07f29, 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@38af9828, 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@376a0d86, 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@17d919b6, 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@17d919b6, 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@17d919b6, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-expression",
"sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073",
"durationSeconds": 0.674,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,162 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/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/",
"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/agd113-checkout-0onfg84b/F2-expression/optimized/cartridge",
"bytecodeBytes": 1556,
"bytecodeSha256": "41c8fca5b23cb85d9072d097593ea9811f96ad4ff7e6ea32d022aba82bfa8940",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, 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@7d7758be, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@68746f22, 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@2f01783a, 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@2c78324b, registryInstruction=null]",
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, 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@18317edc, 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@4e0ae11f, 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@238d68ff, 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@4b86805d, 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@5852c06f, 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@17d919b6, 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@9cb8225, 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@76b07f29, 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@38af9828, 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@376a0d86, 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@17d919b6, 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@17d919b6, 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@17d919b6, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-expression",
"sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073",
"durationSeconds": 0.635,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,157 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/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/",
"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/agd113-checkout-0onfg84b/F2-expression/unoptimized/cartridge",
"bytecodeBytes": 1578,
"bytecodeSha256": "1d285e27dc559efec8e204e39989778ef54112fbbbabc4275083e14169be6231",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@74287ea3, 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@7d7758be, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@5f9edf14, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@68746f22, 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@2f01783a, 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@2c78324b, registryInstruction=null]",
"Instruction[kind=PUSH_I32, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=6, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@79defdc, 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@18317edc, 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@4e0ae11f, 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@238d68ff, 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@4b86805d, 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@5852c06f, 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@17d919b6, 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@9cb8225, 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@76b07f29, 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@38af9828, 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@376a0d86, 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@17d919b6, 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@17d919b6, 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@17d919b6, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-expression/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,240] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-expression",
"sourceSha256": "c6ede06ecfad7bdd167b8f3afb849df362787484db1968f74b62c24909818073",
"durationSeconds": 0.7,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,135 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/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/",
"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/agd113-checkout-0onfg84b/F2-locals/optimized-public/cartridge",
"bytecodeBytes": 1604,
"bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3214ee6, 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@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, 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@2bdd8394, 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@2f01783a, 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@68878f6d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@41488b16, 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@a8ef162, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, 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@238d68ff, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@9cb8225, 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@76b07f29, 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@7d61eb55, 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@376a0d86, 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@62656be4, 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@17d919b6, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, 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@7d61eb55, 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@7d61eb55, 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@7d61eb55, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-locals",
"sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218",
"durationSeconds": 0.655,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,164 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/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/",
"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/agd113-checkout-0onfg84b/F2-locals/optimized/cartridge",
"bytecodeBytes": 1604,
"bytecodeSha256": "3696d790e5b0725e9e597da749b8f5593446cd207ccb7ad2d8ce6705bc09c43b",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3214ee6, 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@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, 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@2bdd8394, 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@2f01783a, 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@68878f6d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@41488b16, 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@a8ef162, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, 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@238d68ff, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@9cb8225, 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@76b07f29, 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@7d61eb55, 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@376a0d86, 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@62656be4, 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@17d919b6, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, 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@7d61eb55, 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@7d61eb55, 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@7d61eb55, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-locals",
"sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218",
"durationSeconds": 0.64,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,159 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/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/",
"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/agd113-checkout-0onfg84b/F2-locals/unoptimized/cartridge",
"bytecodeBytes": 1626,
"bytecodeSha256": "2714e0c32b458d834d174431355a83467214779101b43563a6533ad9120fe0a4",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/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@24959ca4, 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@6f43c82, 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@17503f6b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "next",
"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@7975d1d8, 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@41f69e84, 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@7975d1d8, 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@7975d1d8, 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@2438dcd, 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@24105dc5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@50f6ac94, 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@6cc4cdb9, 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@28194a50, 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@7f2cfe3f, 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@7d9f158f, 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@45efd90f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@3214ee6, 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@383dc82c, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=next, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@7d7758be, 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@2bdd8394, 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@2f01783a, 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@68878f6d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@41488b16, 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@a8ef162, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4e0ae11f, 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@238d68ff, 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@4b86805d, 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@5852c06f, 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@4149c063, 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@9cb8225, 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@76b07f29, 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@7d61eb55, 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@376a0d86, 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@62656be4, 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@17d919b6, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@53f3bdbd, 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@7d61eb55, 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@7d61eb55, 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@7d61eb55, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@17503f6b, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"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(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-locals/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=3, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn next(0 params) returnType=explicit fileId=FileId(0) span=[29,73]\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[74,118]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[127,251] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-locals",
"sourceSha256": "1eb4dbd0bfa6fbc9e002793e6c23eefa80eb091d40ccf2253520b532b3420218",
"durationSeconds": 0.61,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,125 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/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/",
"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/agd113-checkout-0onfg84b/F2-struct-method/optimized-public/cartridge",
"bytecodeBytes": 1431,
"bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/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@22f59fa, 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@22f59fa, 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@22f59fa, 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@47caedad, 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@2eea88a1, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@9cb8225, 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@76b07f29, 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@38af9828, 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@376a0d86, 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@6c7a164b, 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@3e62d773, 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@4ef74c30, 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@638ef7ed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bff7da0, 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@3f1d2e23, 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@264f218, 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@b86de0d, 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@81d9a72, 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@13df2a8c, 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@1169afe1, 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@2ca26d77, 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@4808bc9b, 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@70e38ce1, 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@13df2a8c, 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@13df2a8c, 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@13df2a8c, 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@163370c2, 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@51bf5add, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@2eea88a1, 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.module_init$m0",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), 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(6)",
"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(5), 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]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-struct-method",
"sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894",
"durationSeconds": 0.682,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,154 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/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/",
"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/agd113-checkout-0onfg84b/F2-struct-method/optimized/cartridge",
"bytecodeBytes": 1431,
"bytecodeSha256": "7cbac9160150b2734e6bf1e1f7a91b7150c35bec2c60b2e846d48af594ed03c7",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/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@22f59fa, 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@22f59fa, 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@22f59fa, 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@47caedad, 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@2eea88a1, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@9cb8225, 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@76b07f29, 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@38af9828, 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@376a0d86, 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@6c7a164b, 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@3e62d773, 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@4ef74c30, 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@638ef7ed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bff7da0, 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@3f1d2e23, 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@264f218, 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@b86de0d, 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@81d9a72, 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@13df2a8c, 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@1169afe1, 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@2ca26d77, 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@4808bc9b, 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@70e38ce1, 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@13df2a8c, 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@13df2a8c, 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@13df2a8c, 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@163370c2, 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@51bf5add, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@2eea88a1, 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.module_init$m0",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), 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(6)",
"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(5), 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]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-struct-method",
"sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894",
"durationSeconds": 0.672,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,149 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/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/",
"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/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/cartridge",
"bytecodeBytes": 1453,
"bytecodeSha256": "a55b21d1a21a5055f06b6caf65d7ac8a8dbf41e7d25d609115041f4f54e4ccb4",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/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@22f59fa, 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@22f59fa, 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@22f59fa, 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@47caedad, 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@2eea88a1, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "add",
"file": "src/main.pbs",
"instructions": [
"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@9cb8225, 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@76b07f29, 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@38af9828, 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@376a0d86, 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@6c7a164b, 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@3e62d773, 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@4ef74c30, 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@638ef7ed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=add, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=1, span=p.studio.compiler.source.Span@4bff7da0, 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@3f1d2e23, 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@264f218, 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@b86de0d, 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@81d9a72, 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@13df2a8c, 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@1169afe1, 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@2ca26d77, 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@4808bc9b, 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@70e38ce1, 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@13df2a8c, 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@13df2a8c, 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@13df2a8c, 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@163370c2, 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@51bf5add, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@2eea88a1, 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.module_init$m0",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f0, calleeCallableId=CallableId(4), 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(6)",
"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(5), 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]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F2-struct-method/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=1, globals=1, executableFunctions=5, modulePool=1, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn add(2 params) returnType=explicit fileId=FileId(0) span=[101,145]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[154,251] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F2-struct-method",
"sourceSha256": "8ed2b002ef5c20f01ae09949dc0ae75c574cce782dbe27bd304b25fa94045894",
"durationSeconds": 0.668,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,34 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized-public/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-file-private",
"sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb",
"durationSeconds": 0.609,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,47 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)",
"fileId": 1,
"start": 39,
"end": 48,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/optimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-file-private",
"sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb",
"durationSeconds": 0.584,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,47 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)",
"fileId": 1,
"start": 39,
"end": 48,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/unoptimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-file-private/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-file-private",
"sourceSha256": "b9359695e141c6fd14d5fbfcab68a8829ef4d87c3c7408dbc366465184ec2cfb",
"durationSeconds": 0.576,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,34 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized-public/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-function",
"sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1",
"durationSeconds": 0.567,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,47 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)",
"fileId": 1,
"start": 39,
"end": 48,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/optimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-function",
"sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1",
"durationSeconds": 0.572,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,47 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_APPLY_NON_CALLABLE_TARGET",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48)",
"fileId": 1,
"start": 39,
"end": 48,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/unoptimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-function/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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_APPLY_NON_CALLABLE_TARGET) [BUILD] E_SEM_APPLY_NON_CALLABLE_TARGET :: Apply/call target is not callable @ FileId(1):[39,48) [file=1:39-48] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-function",
"sourceSha256": "bcf9162dd44b7b7a50428e368789d10ab929301f382bae7c35cab06f1595c4b1",
"durationSeconds": 0.581,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,99 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/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/",
"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/agd113-checkout-zo51sjpb/F3-global-local/optimized-public/cartridge",
"bytecodeBytes": 1027,
"bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/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@7098b907, 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@23f5b5dc, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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@730d2164, 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@24959ca4, 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@7975d1d8, registryInstruction=null]",
"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@2438dcd, 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@24105dc5, 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@50f6ac94, 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@64b0598, 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@18f8cd79, 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@3e2055d6, 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@50029372, 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@50f6ac94, 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@50f6ac94, 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@50f6ac94, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@4f49f6af, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@34bde49d, 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@34bde49d, 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@34bde49d, 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@34bde49d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, 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@34bde49d, 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@34bde49d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-global-local",
"sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924",
"durationSeconds": 0.651,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,128 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/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/",
"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/agd113-checkout-zo51sjpb/F3-global-local/optimized/cartridge",
"bytecodeBytes": 1027,
"bytecodeSha256": "7460126ea0b1170477172e5d187b4985a6c49d6ab27de8be7a188c4ae4a80b1c",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/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@7098b907, 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@23f5b5dc, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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@730d2164, 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@24959ca4, 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@7975d1d8, registryInstruction=null]",
"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@2438dcd, 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@24105dc5, 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@50f6ac94, 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@64b0598, 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@18f8cd79, 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@3e2055d6, 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@50029372, 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@50f6ac94, 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@50f6ac94, 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@50f6ac94, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@4f49f6af, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@34bde49d, 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@34bde49d, 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@34bde49d, 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@34bde49d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, 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@34bde49d, 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@34bde49d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-global-local",
"sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924",
"durationSeconds": 0.646,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,123 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/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/",
"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/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/cartridge",
"bytecodeBytes": 1049,
"bytecodeSha256": "aea2a6d30e4292e29fee42ed8dc430b72f35a96f9fa5f5fa82dc1b927bb69209",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/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@7098b907, 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@23f5b5dc, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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@730d2164, 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@24959ca4, 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@7975d1d8, registryInstruction=null]",
"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@2438dcd, 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@24105dc5, 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@50f6ac94, 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@64b0598, 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@18f8cd79, 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@3e2055d6, 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@50029372, 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@50f6ac94, 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@50f6ac94, 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@50f6ac94, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@4f49f6af, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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@34bde49d, 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@34bde49d, 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@34bde49d, 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@34bde49d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, 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@34bde49d, 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@34bde49d, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@34bde49d, 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@34bde49d, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-global-local/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[37,101] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-global-local",
"sourceSha256": "e175339cc069d0e14deb8e4e098b1310d877851f2415991ad65b446563aea924",
"durationSeconds": 0.647,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,34 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public/src/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized-public/src/state.pbs"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-global",
"sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34",
"durationSeconds": 0.636,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,47 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)",
"fileId": 0,
"start": 29,
"end": 34,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/optimized/src/state.pbs"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-global",
"sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34",
"durationSeconds": 0.597,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,47 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_ASSIGN_TARGET_UNRESOLVED",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34)",
"fileId": 0,
"start": 29,
"end": 34,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-global/unoptimized/src/state.pbs"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_ASSIGN_TARGET_UNRESOLVED) [BUILD] E_SEM_ASSIGN_TARGET_UNRESOLVED :: Assignment target 'count' does not resolve @ FileId(0):[29,34) [file=0:29-34] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-global",
"sourceSha256": "89c0749385172457659ca2e337ebc368e349065626a815198c314a089d95fc34",
"durationSeconds": 0.628,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,95 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/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/",
"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/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/cartridge",
"bytecodeBytes": 1028,
"bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28194a50, 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@7f2cfe3f, 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@383dc82c, 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@2bdd8394, 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@5f9edf14, 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@7ac296f6, 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@2f01783a, 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@68878f6d, 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@41488b16, 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@a8ef162, 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@7ac296f6, 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@7ac296f6, 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@7ac296f6, 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@7857fe2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Helper.$instance",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Helper.value",
"file": "src/main.pbs",
"instructions": [
"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@4b86805d, 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@5852c06f, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-service-local",
"sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb",
"durationSeconds": 0.666,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,124 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/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/",
"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/agd113-checkout-zo51sjpb/F3-service-local/optimized/cartridge",
"bytecodeBytes": 1028,
"bytecodeSha256": "e7736ae26a7ded4b03eb6316798eed6c80c65a4f27a9cfe43670e7481dc864f6",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28194a50, 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@7f2cfe3f, 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@383dc82c, 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@2bdd8394, 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@5f9edf14, 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@7ac296f6, 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@2f01783a, 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@68878f6d, 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@41488b16, 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@a8ef162, 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@7ac296f6, 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@7ac296f6, 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@7ac296f6, 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@7857fe2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Helper.$instance",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Helper.value",
"file": "src/main.pbs",
"instructions": [
"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@4b86805d, 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@5852c06f, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-service-local",
"sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb",
"durationSeconds": 0.7,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,119 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/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/",
"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/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/cartridge",
"bytecodeBytes": 1050,
"bytecodeSha256": "c4339aa89d7336bdd94f04118f27ae8fb75c9d47e4e0925e61072f053763571a",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Helper.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28194a50, 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@7f2cfe3f, 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@383dc82c, 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@2bdd8394, 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@5f9edf14, 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@7ac296f6, 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@2f01783a, 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@68878f6d, 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@41488b16, 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@a8ef162, 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@7ac296f6, 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@7ac296f6, 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@7ac296f6, 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@7857fe2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Helper.$instance",
"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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0: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@20b2475a, 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@20b2475a, 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@20b2475a, 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@20b2475a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Helper.value",
"file": "src/main.pbs",
"instructions": [
"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@4b86805d, 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@5852c06f, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, 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@7857fe2, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F3-service-local/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=1, executableFunctions=3, modulePool=1, callableSignatures=3, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[67,148] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-service-local",
"sourceSha256": "387e15a0de25644a8862b6f88b74fc7839795e10c8736ebc5ada31670ffd79cb",
"durationSeconds": 0.81,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,35 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized-public/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-service",
"sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22",
"durationSeconds": 0.611,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,60 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)",
"fileId": 1,
"start": 39,
"end": 53,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/main.pbs"
},
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)",
"fileId": 1,
"start": 8,
"end": 89,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/optimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-service",
"sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22",
"durationSeconds": 0.739,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,60 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53)",
"fileId": 1,
"start": 39,
"end": 53,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/main.pbs"
},
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89)",
"fileId": 1,
"start": 8,
"end": 89,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/helpers.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-service/unoptimized/src/mod.barrel"
},
"projectFunctions": [],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-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",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: Helper.value @ FileId(1):[39,53) [file=1:39-53] \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: stack underflow at 0 set_local 29: need=1 have=0 @ FileId(1):[8,89) [file=1:8-89] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-service",
"sourceSha256": "37b6c3b4c7d94d1f6f1cc258c84791fdd32c20ea38a88940b735fccf1c7f3b22",
"durationSeconds": 0.635,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,82 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/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/",
"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/agd113-checkout-0onfg84b/F3-single-file/optimized-public/cartridge",
"bytecodeBytes": 859,
"bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "increment",
"file": "src/main.pbs",
"instructions": [
"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@3b35a229, 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@565f390, 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@7dc3712, 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@2f67a4d3, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"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@147e2ae7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@448c8166, 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@4470fbd6, 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@730d2164, 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@24959ca4, 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@10289886, 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@3e78b6a5, 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@461ad730, 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@4ee203eb, 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@1a5a4e19, 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@7068e664, 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@3e78b6a5, 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@3e78b6a5, 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@3e78b6a5, 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@4b520ea8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b520ea8, 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@4b520ea8, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-single-file",
"sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a",
"durationSeconds": 0.767,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,111 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/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/",
"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/agd113-checkout-0onfg84b/F3-single-file/optimized/cartridge",
"bytecodeBytes": 859,
"bytecodeSha256": "c9e287431efa1600aad7ce5ef6670c5acdfaa62a0f5132736277858862ac5524",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "increment",
"file": "src/main.pbs",
"instructions": [
"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@3b35a229, 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@565f390, 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@7dc3712, 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@2f67a4d3, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"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@147e2ae7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@448c8166, 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@4470fbd6, 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@730d2164, 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@24959ca4, 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@10289886, 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@3e78b6a5, 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@461ad730, 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@4ee203eb, 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@1a5a4e19, 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@7068e664, 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@3e78b6a5, 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@3e78b6a5, 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@3e78b6a5, 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@4b520ea8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b520ea8, 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@4b520ea8, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-single-file",
"sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a",
"durationSeconds": 0.667,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,106 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/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/",
"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/agd113-checkout-0onfg84b/F3-single-file/unoptimized/cartridge",
"bytecodeBytes": 881,
"bytecodeSha256": "f57b17513f84b7951b7bd5c03b646d2f793955b68c547b13f620b6f080d5809b",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "increment",
"file": "src/main.pbs",
"instructions": [
"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@3b35a229, 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@565f390, 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@7dc3712, 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@2f67a4d3, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"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@147e2ae7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=increment, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@448c8166, 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@4470fbd6, 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@730d2164, 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@24959ca4, 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@10289886, 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@3e78b6a5, 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@461ad730, 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@4ee203eb, 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@1a5a4e19, 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@7068e664, 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@3e78b6a5, 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@3e78b6a5, 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@3e78b6a5, 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@4b520ea8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, 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@4b520ea8, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4b520ea8, 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@4b520ea8, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F3-single-file/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=2, syntheticFunctions=0, globals=0, executableFunctions=2, modulePool=1, callableSignatures=2, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn increment(1 params) returnType=explicit fileId=FileId(0) span=[0,51]\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[60,139] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F3-single-file",
"sourceSha256": "aff9dbc6f5e3b67b713da29e7e20eb97913464bedcc5f858964ec110ed7b8c4a",
"durationSeconds": 0.66,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,227 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/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/",
"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/agd113-checkout-0onfg84b/F4-distinct/optimized-public/cartridge",
"bytecodeBytes": 2746,
"bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "ARoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@7b993c65, 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@7b993c65, 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@7b993c65, 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@15a04efb, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@7f284218, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, 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@2a7ed1f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, 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@5f0fd5a0, 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@64e7619d, 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@495ee280, 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@4fa1c212, 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@6ea2bc93, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "BRoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "$globals.4",
"file": "src/b/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@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@420a85c4, 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@420a85c4, 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@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@4bf48f6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, 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@4bd31064, 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@4bd31064, 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@4bd31064, 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@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "B.value",
"file": "src/b/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@1c852c0f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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@266374ef, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, 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@f14a7d4, 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@4b5189ac, 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@1e4d3ce5, 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@3ddc6915, 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@1bab8268, 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@379614be, 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@404bbcbd, 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@1e81f160, 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@1acaf3d, 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@1bab8268, 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@1bab8268, 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@1bab8268, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, 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@658c5a19, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, 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@59d4cd39, 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@389c4eb1, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@34f6515b, 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@4b34fff9, 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@1187c9e8, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@37fb0bed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(11)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, 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@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-distinct",
"sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811",
"durationSeconds": 0.659,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,256 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/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/",
"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/agd113-checkout-0onfg84b/F4-distinct/optimized/cartridge",
"bytecodeBytes": 2746,
"bytecodeSha256": "7445978d603e59621af500688107a6be19cb5ea2d9eb3e1be93c10c9bd27f58f",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "ARoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@7b993c65, 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@7b993c65, 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@7b993c65, 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@15a04efb, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@7f284218, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, 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@2a7ed1f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, 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@5f0fd5a0, 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@64e7619d, 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@495ee280, 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@4fa1c212, 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@6ea2bc93, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "BRoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "$globals.4",
"file": "src/b/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@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@420a85c4, 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@420a85c4, 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@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@4bf48f6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, 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@4bd31064, 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@4bd31064, 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@4bd31064, 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@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "B.value",
"file": "src/b/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@1c852c0f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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@266374ef, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, 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@f14a7d4, 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@4b5189ac, 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@1e4d3ce5, 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@3ddc6915, 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@1bab8268, 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@379614be, 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@404bbcbd, 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@1e81f160, 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@1acaf3d, 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@1bab8268, 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@1bab8268, 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@1bab8268, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, 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@658c5a19, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, 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@59d4cd39, 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@389c4eb1, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@34f6515b, 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@4b34fff9, 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@1187c9e8, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@37fb0bed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(11)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, 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@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-distinct",
"sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811",
"durationSeconds": 0.686,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,251 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/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/",
"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/agd113-checkout-0onfg84b/F4-distinct/unoptimized/cartridge",
"bytecodeBytes": 2790,
"bytecodeSha256": "c4b4bf48ef5a1725e6d1b6ef7eddea8a9d722af0df361c300eb6ad95e24d8573",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "ARoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@7b993c65, 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@7b993c65, 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@7b993c65, 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@15a04efb, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:80], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@7f284218, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=ARoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, 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@2a7ed1f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, 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@5f0fd5a0, 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@64e7619d, 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@495ee280, 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@4fa1c212, 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@6ea2bc93, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "BRoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "$globals.4",
"file": "src/b/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@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@420a85c4, 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@420a85c4, 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@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@4bf48f6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, 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@4bd31064, 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@4bd31064, 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@4bd31064, 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@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:50], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "B.value",
"file": "src/b/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@1c852c0f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=BRoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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@266374ef, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, 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@f14a7d4, 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@4b5189ac, 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@1e4d3ce5, 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@3ddc6915, 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@1bab8268, 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@379614be, 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@404bbcbd, 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@1e81f160, 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@1acaf3d, 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@1bab8268, 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@1bab8268, 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@1bab8268, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, 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@658c5a19, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, 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@59d4cd39, 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@389c4eb1, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@34f6515b, 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@4b34fff9, 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@1187c9e8, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@37fb0bed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(11)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, 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@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-distinct/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-distinct",
"sourceSha256": "99c527e7749e4ea7c1cecce4063467e4f411b5481cdd641186975fee42299811",
"durationSeconds": 0.697,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,147 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/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/",
"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/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/cartridge",
"bytecodeBytes": 1897,
"bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/a/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/a/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/b/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/b/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/a/main.pbs",
"instructions": [
"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@18317edc, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
"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@238d68ff, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "RoomData.value",
"file": "src/b/main.pbs",
"instructions": [
"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@74f6c5d8, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@27912e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"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@34b9f960, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "$globals.4",
"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@4d6025c5, 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@7f284218, 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@7f284218, 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=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, 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@7f284218, 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@7f284218, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
"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@7f284218, 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@2415fc55, 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@407a7f2a, 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@4ea5b703, 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@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, 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@14f232c4, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@723e88f9, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, 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@6ea2bc93, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f627d13, 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@4e928fbf, 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@1b266842, 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@7a3793c7, 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@42b3b079, 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@651aed93, 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@4dd6fd0a, 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@bb9e6dc, 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@5456afaa, 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@52815fa3, 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@1cd629b3, 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@589da3f3, 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@39d76cb5, 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@4a00d9cf, 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@52815fa3, 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@52815fa3, 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@52815fa3, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "__prometeu.lifecycle.module_init$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"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@13bc8645, 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@13bc8645, 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@13bc8645, 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@13bc8645, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, 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@13bc8645, 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@13bc8645, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-public-aliases",
"sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207",
"durationSeconds": 0.687,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,176 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/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/",
"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/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/cartridge",
"bytecodeBytes": 1897,
"bytecodeSha256": "adf367b878d95ecfc8e94004877eeb9c5ea4e04b7d18d1a13cb59af3e23b5705",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/a/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/a/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/b/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/b/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/a/main.pbs",
"instructions": [
"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@18317edc, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
"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@238d68ff, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "RoomData.value",
"file": "src/b/main.pbs",
"instructions": [
"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@74f6c5d8, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@27912e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"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@34b9f960, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "$globals.4",
"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@4d6025c5, 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@7f284218, 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@7f284218, 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=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, 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@7f284218, 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@7f284218, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
"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@7f284218, 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@2415fc55, 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@407a7f2a, 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@4ea5b703, 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@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, 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@14f232c4, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@723e88f9, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, 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@6ea2bc93, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f627d13, 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@4e928fbf, 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@1b266842, 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@7a3793c7, 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@42b3b079, 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@651aed93, 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@4dd6fd0a, 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@bb9e6dc, 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@5456afaa, 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@52815fa3, 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@1cd629b3, 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@589da3f3, 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@39d76cb5, 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@4a00d9cf, 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@52815fa3, 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@52815fa3, 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@52815fa3, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "__prometeu.lifecycle.module_init$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"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@13bc8645, 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@13bc8645, 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@13bc8645, 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@13bc8645, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, 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@13bc8645, 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@13bc8645, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-public-aliases",
"sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207",
"durationSeconds": 0.776,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,171 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/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/",
"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/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/cartridge",
"bytecodeBytes": 1919,
"bytecodeSha256": "e87c61dfbd75292b254e691f17e1c76408c206a561186bea777dcb49d8d9223b",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/a/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/a/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/b/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/b/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/a/main.pbs",
"instructions": [
"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@18317edc, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4e0ae11f, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
"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@238d68ff, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "RoomData.value",
"file": "src/b/main.pbs",
"instructions": [
"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@74f6c5d8, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@27912e3, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"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@34b9f960, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "$globals.4",
"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@4d6025c5, 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@7f284218, 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@7f284218, 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=1, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f284218, 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@7f284218, 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@7f284218, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f284218, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file0:0], targetType=null, function=null, member=0]]",
"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@7f284218, 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@2415fc55, 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@407a7f2a, 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@4ea5b703, 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@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@4ea5b703, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file2:0], targetType=null, function=null, member=0]]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4ea5b703, 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@14f232c4, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@723e88f9, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@495ee280, 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@6ea2bc93, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f627d13, 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@4e928fbf, 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@1b266842, 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@7a3793c7, 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@42b3b079, 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@651aed93, 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@4dd6fd0a, 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@bb9e6dc, 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@5456afaa, 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@52815fa3, 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@1cd629b3, 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@589da3f3, 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@39d76cb5, 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@4a00d9cf, 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@52815fa3, 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@52815fa3, 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@52815fa3, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=$globals.4, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "__prometeu.lifecycle.module_init$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"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@13bc8645, 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@13bc8645, 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@13bc8645, 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@13bc8645, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=__prometeu.lifecycle.module_init$m2, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, 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@13bc8645, 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@13bc8645, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@13bc8645, 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@13bc8645, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb/F4-public-aliases/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(4) span=[208,308] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-public-aliases",
"sourceSha256": "9379bc7c71cd6c1ff287f5771a78590a2e25b8dead05e78c563ff25ee8d1c207",
"durationSeconds": 0.688,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,227 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/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/",
"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/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/cartridge",
"bytecodeBytes": 2752,
"bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "StartRoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@7b993c65, 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@7b993c65, 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@7b993c65, 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@15a04efb, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@7f284218, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, 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@2a7ed1f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, 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@5f0fd5a0, 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@64e7619d, 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@495ee280, 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@4fa1c212, 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@6ea2bc93, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "$globals.4",
"file": "src/b/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@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@420a85c4, 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@420a85c4, 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@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@4bf48f6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, 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@4bd31064, 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@4bd31064, 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@4bd31064, 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@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "B.value",
"file": "src/b/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@1c852c0f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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@266374ef, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, 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@f14a7d4, 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@4b5189ac, 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@1e4d3ce5, 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@3ddc6915, 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@1bab8268, 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@379614be, 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@404bbcbd, 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@1e81f160, 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@1acaf3d, 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@1bab8268, 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@1bab8268, 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@1bab8268, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, 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@658c5a19, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, 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@59d4cd39, 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@389c4eb1, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@34f6515b, 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@4b34fff9, 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@1187c9e8, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@37fb0bed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(11)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, 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@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-rename-a",
"sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e",
"durationSeconds": 0.616,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,256 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/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/",
"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/agd113-checkout-0onfg84b/F4-rename-a/optimized/cartridge",
"bytecodeBytes": 2752,
"bytecodeSha256": "9e5322af65f0eb6bf6f8d4135241709b8027f0fff060dfc5cef4d1822b54e624",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "StartRoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@7b993c65, 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@7b993c65, 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@7b993c65, 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@15a04efb, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@7f284218, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, 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@2a7ed1f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, 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@5f0fd5a0, 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@64e7619d, 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@495ee280, 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@4fa1c212, 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@6ea2bc93, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "$globals.4",
"file": "src/b/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@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@420a85c4, 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@420a85c4, 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@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@4bf48f6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, 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@4bd31064, 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@4bd31064, 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@4bd31064, 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@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "B.value",
"file": "src/b/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@1c852c0f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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@266374ef, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, 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@f14a7d4, 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@4b5189ac, 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@1e4d3ce5, 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@3ddc6915, 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@1bab8268, 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@379614be, 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@404bbcbd, 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@1e81f160, 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@1acaf3d, 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@1bab8268, 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@1bab8268, 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@1bab8268, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, 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@658c5a19, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, 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@59d4cd39, 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@389c4eb1, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@34f6515b, 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@4b34fff9, 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@1187c9e8, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@37fb0bed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(11)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, 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@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-rename-a",
"sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e",
"durationSeconds": 0.671,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,251 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/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/",
"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/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/cartridge",
"bytecodeBytes": 2796,
"bytecodeSha256": "083c0e8fd089d410f7042389b3cf5d5a84d4045e89c682ca065b53c32b231dab",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "StartRoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@7b993c65, 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@7b993c65, 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@7b993c65, 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@15a04efb, 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@1df8b5b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:88], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@7f284218, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=StartRoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@4ea5b703, 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@2a7ed1f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@723e88f9, 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@5f0fd5a0, 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@64e7619d, 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@495ee280, 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@4fa1c212, 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@6ea2bc93, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1df8b5b8, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "$globals.4",
"file": "src/b/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@420a85c4, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@420a85c4, 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@420a85c4, 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@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@4bf48f6, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, 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@4bd31064, 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@4bd31064, 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@4bd31064, 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@4bd31064, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@4bd31064, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "B.value",
"file": "src/b/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@1c852c0f, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, 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@266374ef, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6b58b9e9, 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@f14a7d4, 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@4b5189ac, 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@1e4d3ce5, 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@3ddc6915, 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@1bab8268, 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@379614be, 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@404bbcbd, 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@1e81f160, 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@1acaf3d, 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@1bab8268, 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@1bab8268, 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@1bab8268, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6c61a903, 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@658c5a19, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@421e361, 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@59d4cd39, 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@389c4eb1, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@34f6515b, 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@4b34fff9, 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@1187c9e8, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@127a7a2e, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@78a773fd, 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@37fb0bed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(11)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, 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@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@37fb0bed, 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@37fb0bed, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-rename-a/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-rename-a",
"sourceSha256": "6cab04b1fbc3724cec1670a11ab46a792e5b83ea1fb12b4bf80f98d178c1290e",
"durationSeconds": 0.674,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,96 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@59e2d8e3, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.4",
"file": "src/b/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@62833051, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@62833051, 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@62833051, 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@5d43661b, 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@1c39680d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "B.$instance",
"file": "src/b/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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "B.value",
"file": "src/b/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@5d99c6b5, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@13b3d178, 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@24c4ddae, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1c39680d, 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@5d43661b, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-dependency",
"sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831",
"durationSeconds": 0.653,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,109 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)",
"fileId": 1,
"start": 126,
"end": 138,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@59e2d8e3, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.4",
"file": "src/b/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@62833051, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@62833051, 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@62833051, 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@5d43661b, 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@1c39680d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "B.$instance",
"file": "src/b/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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "B.value",
"file": "src/b/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@5d99c6b5, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@13b3d178, 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@24c4ddae, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1c39680d, 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@5d43661b, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-dependency",
"sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831",
"durationSeconds": 0.663,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,109 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138)",
"fileId": 1,
"start": 126,
"end": 138,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@59e2d8e3, 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@2b72cb8a, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.4",
"file": "src/b/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@62833051, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@62833051, 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@62833051, 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@5d43661b, 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@1c39680d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "B.$instance",
"file": "src/b/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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"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@329dbdbf, 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@329dbdbf, 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@329dbdbf, 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@329dbdbf, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "B.value",
"file": "src/b/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@5d99c6b5, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@13b3d178, 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@24c4ddae, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@1c39680d, 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@5d43661b, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-dependency/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[126,138) [file=1:126-138] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-dependency",
"sourceSha256": "c4c624cb3556b8d05927ceda69e596482f4ec1d7b82f7f4ca7442483e2b8b831",
"durationSeconds": 0.613,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,96 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/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/",
"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"
}
],
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@4c012563, 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@14a50707, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.4",
"file": "src/b/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@11d8ae8b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@11d8ae8b, 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@11d8ae8b, 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@4bd31064, 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@4ef782af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "B.$instance",
"file": "src/b/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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "B.value",
"file": "src/b/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@2b72cb8a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d43661b, 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@12299890, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@4bd31064, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-direct",
"sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e",
"durationSeconds": 0.61,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,109 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)",
"fileId": 1,
"start": 125,
"end": 137,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@4c012563, 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@14a50707, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.4",
"file": "src/b/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@11d8ae8b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@11d8ae8b, 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@11d8ae8b, 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@4bd31064, 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@4ef782af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "B.$instance",
"file": "src/b/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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "B.value",
"file": "src/b/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@2b72cb8a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d43661b, 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@12299890, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@4bd31064, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-direct",
"sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e",
"durationSeconds": 0.617,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,109 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/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/",
"pipelineOrigin": "file:/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/classes/java/main/",
"phases": [
{
"phase": "analysis",
"diagnostics": [
{
"error": true,
"code": "E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE",
"phase": "static-semantics",
"message": "[BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137)",
"fileId": 1,
"start": 125,
"end": 137,
"functionIndex": null,
"pc": null,
"file": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/main.pbs"
}
],
"status": "failed"
}
],
"status": "analysis_failed",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@4c012563, 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@14a50707, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.4",
"file": "src/b/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@11d8ae8b, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@11d8ae8b, 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@11d8ae8b, 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@4bd31064, 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@4ef782af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "B.$instance",
"file": "src/b/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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"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@39d76cb5, 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@39d76cb5, 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@39d76cb5, 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@39d76cb5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "B.value",
"file": "src/b/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@2b72cb8a, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@5d43661b, 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@12299890, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, 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@4bd31064, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-direct/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=0, syntheticFunctions=1, globals=2, executableFunctions=5, modulePool=3, callableSignatures=5, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared} \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[ERR] [static-semantics] (E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE) [BUILD] E_SEM_EXEC_LOWERING_UNRESOLVED_CALLEE :: Structured call requires exact overload: RoomData.value @ FileId(1):[125,137) [file=1:125-137] \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-direct",
"sourceSha256": "79fc0901e3e60e7b50b83f5d10ba4e548bd57b0c83d281def25369cadb74633e",
"durationSeconds": 0.63,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,223 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/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/",
"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/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/cartridge",
"bytecodeBytes": 2658,
"bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@3fce8fd9, 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@3fce8fd9, 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@3fce8fd9, 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@15a04efb, 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@72ade7e3, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@1df8b5b8, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, 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@37911f88, 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@6f1c29b7, 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@4d6025c5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@72ade7e3, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@4a00d9cf, 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@6736fa8d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "$globals.4",
"file": "src/b/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@e3c0e40, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@e3c0e40, 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@e3c0e40, 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@50313382, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "B.value",
"file": "src/b/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@20d7d6fb, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bd31064, 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@50313382, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28b46423, 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@7fc4780b, 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@797b0699, 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@5a37d3ed, 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@26df6e3a, 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@2d9caaeb, 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@6b58b9e9, 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@f14a7d4, 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@52e7a6b2, 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@29a5f4e7, 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@2d9caaeb, 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@2d9caaeb, 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@2d9caaeb, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f6745d6, 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@27508c5d, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f704591, 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@4b5189ac, 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@1e4d3ce5, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, 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@704deff2, 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@379614be, 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@404bbcbd, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, 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(11)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50313382, 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@50313382, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, 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@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, 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]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-no-dependency",
"sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5",
"durationSeconds": 0.682,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,252 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/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/",
"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/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/cartridge",
"bytecodeBytes": 2658,
"bytecodeSha256": "bdf4d4519ff45b936e7215b9a460eb0b24cb7d6279f8fe5618f7a2f8bcc6ebde",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@3fce8fd9, 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@3fce8fd9, 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@3fce8fd9, 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@15a04efb, 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@72ade7e3, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@1df8b5b8, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, 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@37911f88, 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@6f1c29b7, 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@4d6025c5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@72ade7e3, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@4a00d9cf, 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@6736fa8d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "$globals.4",
"file": "src/b/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@e3c0e40, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@e3c0e40, 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@e3c0e40, 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@50313382, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "B.value",
"file": "src/b/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@20d7d6fb, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bd31064, 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@50313382, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28b46423, 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@7fc4780b, 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@797b0699, 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@5a37d3ed, 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@26df6e3a, 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@2d9caaeb, 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@6b58b9e9, 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@f14a7d4, 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@52e7a6b2, 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@29a5f4e7, 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@2d9caaeb, 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@2d9caaeb, 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@2d9caaeb, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f6745d6, 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@27508c5d, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f704591, 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@4b5189ac, 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@1e4d3ce5, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, 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@704deff2, 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@379614be, 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@404bbcbd, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, 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(11)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50313382, 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@50313382, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, 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@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, 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]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-no-dependency",
"sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5",
"durationSeconds": 0.698,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,247 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/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/",
"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/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/cartridge",
"bytecodeBytes": 2702,
"bytecodeSha256": "5be75a512998ce50f161164c3aedee7b9ce1398aec0798c276dd3ea68cbe4a1f",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/a/data.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/a/main.pbs",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/a/mod.barrel",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/b/data.pbs",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/b/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/b/mod.barrel",
"6": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/main.pbs",
"7": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "RoomData.value",
"file": "src/a/data.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@33f676f6, 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@4c5ae43b, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "$globals.1",
"file": "src/a/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@3fce8fd9, 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@3fce8fd9, 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@3fce8fd9, 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@15a04efb, 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@72ade7e3, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "A.$instance",
"file": "src/a/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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file1:48], targetType=null, function=null, member=0]]",
"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@4f49f6af, 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@4f49f6af, 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@4f49f6af, 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@4f49f6af, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "A.value",
"file": "src/a/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@1df8b5b8, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=RoomData.value, calleeCallableId=CallableId(0), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@7b993c65, 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@37911f88, 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@6f1c29b7, 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@4d6025c5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "__pbs.file_init$f1",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=$globals.1, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@72ade7e3, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "RoomData.value",
"file": "src/b/data.pbs",
"instructions": [
"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@4a00d9cf, 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@6736fa8d, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "$globals.4",
"file": "src/b/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@e3c0e40, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file3: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@e3c0e40, 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@e3c0e40, 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@50313382, 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@4bd31064, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "B.$instance",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, 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@bb9e6dc, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:48], targetType=null, function=null, member=0]]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, registryInstruction=null]",
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@bb9e6dc, 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@bb9e6dc, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "B.value",
"file": "src/b/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@20d7d6fb, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=RoomData.value, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@11d8ae8b, 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@479cbee5, registryInstruction=null]"
]
},
{
"callableId": "CallableId(9)",
"name": "__pbs.file_init$f4",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.4, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@4bd31064, 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@50313382, registryInstruction=null]"
]
},
{
"callableId": "CallableId(10)",
"name": "frame",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=A.value, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@28b46423, 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@7fc4780b, 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@797b0699, 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@5a37d3ed, 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@26df6e3a, 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@2d9caaeb, 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@6b58b9e9, 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@f14a7d4, 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@52e7a6b2, 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@29a5f4e7, 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@2d9caaeb, 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@2d9caaeb, 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@2d9caaeb, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=B.value, calleeCallableId=CallableId(8), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=1, span=p.studio.compiler.source.Span@6f6745d6, 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@27508c5d, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@4f704591, 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@4b5189ac, 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@1e4d3ce5, registryInstruction=null]",
"Instruction[kind=JMP_IF_FALSE, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_else_2, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, 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@704deff2, 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@379614be, 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@404bbcbd, registryInstruction=null]",
"Instruction[kind=SET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=3, expectedRetSlots=null, span=p.studio.compiler.source.Span@1e81f160, registryInstruction=null]",
"Instruction[kind=JMP, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=__if_end_3, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_else_2, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, registryInstruction=null]",
"Instruction[kind=LABEL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=__if_end_3, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@6986852, 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(11)",
"name": "__prometeu.lifecycle.module_init$m0",
"file": "src/a/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__pbs.file_init$f1, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@15a04efb, 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@15a04efb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(12)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/b/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f4, calleeCallableId=CallableId(9), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@50313382, 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@50313382, registryInstruction=null]"
]
},
{
"callableId": "CallableId(13)",
"name": "__prometeu.lifecycle.frame_wrapper$m2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=GET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, 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@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=__prometeu.lifecycle.module_init$m0, calleeCallableId=CallableId(11), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(12), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=SET_GLOBAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=4, expectedRetSlots=null, span=p.studio.compiler.source.Span@7f8a9499, 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@7f8a9499, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=frame, calleeCallableId=CallableId(10), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@7f8a9499, 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]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F4-same-no-dependency/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=2, globals=4, executableFunctions=11, modulePool=3, callableSignatures=11, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(6) span=[68,198] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F4-same-no-dependency",
"sourceSha256": "db3c59d1f4f618856ed554310e5774f60d64f70e9ed0b122a5ab57d4e9870ce5",
"durationSeconds": 0.661,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,160 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/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/",
"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/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/cartridge",
"bytecodeBytes": 1947,
"bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene-alias",
"sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959",
"durationSeconds": 0.647,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,189 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/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/",
"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/agd113-checkout-0onfg84b/F5-scene-alias/optimized/cartridge",
"bytecodeBytes": 1947,
"bytecodeSha256": "b71ab0f6e69c351e2bc98853ae00685d35e60b0091ddd7b7963834a8c428608c",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene-alias",
"sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959",
"durationSeconds": 0.678,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,184 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/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/",
"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/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/cartridge",
"bytecodeBytes": 1969,
"bytecodeSha256": "c8c3553585ba25641f0d272266cd183ed8f5afae5367102b9083d6d0c8415772",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-alias/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[156,240] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene-alias",
"sourceSha256": "0f53a73f0f969919df0ad0df8a93e5b8e8db552310b69d37cae0f3ff9d625959",
"durationSeconds": 0.606,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,160 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/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/",
"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/agd113-checkout-0onfg84b/F5-scene/optimized-public/cartridge",
"bytecodeBytes": 1947,
"bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene",
"sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f",
"durationSeconds": 0.718,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,189 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/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/",
"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/agd113-checkout-0onfg84b/F5-scene/optimized/cartridge",
"bytecodeBytes": 1947,
"bytecodeSha256": "1becdc7846cf50f153a6293347d582130e0bc64d92c36346e28670f4e1076d4e",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene",
"sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f",
"durationSeconds": 0.708,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,160 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/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/",
"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/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/cartridge",
"bytecodeBytes": 1951,
"bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@53b7f657, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@797b0699, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@5a37d3ed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@29a5f4e7, 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@29a5f4e7, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, 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@79c97cb, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@6b58b9e9, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene-positional",
"sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7",
"durationSeconds": 0.708,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,189 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/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/",
"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/agd113-checkout-0onfg84b/F5-scene-positional/optimized/cartridge",
"bytecodeBytes": 1951,
"bytecodeSha256": "d398670e842f22dc989c9d9ae1fff70a3fbe456c4bebd3bc49f8f031a6fc16a6",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@53b7f657, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@797b0699, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@5a37d3ed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@29a5f4e7, 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@29a5f4e7, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, 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@79c97cb, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@6b58b9e9, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene-positional",
"sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7",
"durationSeconds": 0.702,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,184 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/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/",
"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/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/cartridge",
"bytecodeBytes": 1973,
"bytecodeSha256": "d2b5443351c997a4df758dccfa5b6d2cfc9a4776fba8083a538711f208e9839a",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@53b7f657, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@797b0699, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@5a37d3ed, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@29a5f4e7, 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@29a5f4e7, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@29a5f4e7, 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@79c97cb, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@2d9caaeb, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@6b58b9e9, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene-positional/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[127,211] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene-positional",
"sourceSha256": "65b3452b0e30037b1e744de8e36dc629f2f5d11f5fb97068566d1a4b38baaeb7",
"durationSeconds": 0.652,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,184 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/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/",
"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/agd113-checkout-0onfg84b/F5-scene/unoptimized/cartridge",
"bytecodeBytes": 1969,
"bytecodeSha256": "bf47f3c87829623232227953ffa361c94b0e0c9052b2112d888a6d741c0632a8",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:38], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=Scene.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "Scene.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "Scene.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-scene/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[132,216] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-scene",
"sourceSha256": "f84b4a4f6eb21100dfff74f26e4f453d4300d3e2dd79d70ee9b3992ed4c8d09f",
"durationSeconds": 0.675,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,160 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/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/",
"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/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/cartridge",
"bytecodeBytes": 1959,
"bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "ShopVisit.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "ShopVisit.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-shopvisit",
"sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38",
"durationSeconds": 0.645,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,189 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/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/",
"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/agd113-checkout-0onfg84b/F5-shopvisit/optimized/cartridge",
"bytecodeBytes": 1959,
"bytecodeSha256": "9963fe7c78267f893f0d339b4273977143300e8902a8b006582e9248cab2cee3",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "ShopVisit.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "ShopVisit.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-shopvisit",
"sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38",
"durationSeconds": 0.923,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,184 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/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/",
"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/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/cartridge",
"bytecodeBytes": 1981,
"bytecodeSha256": "1aa5d83624b8c2ba7b0e70dde45c04d4fcefdca3d1d1ae1c07596ae6adf772ff",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/link/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/link/mod.barrel",
"2": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/main.pbs",
"3": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/mod.barrel",
"4": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/scene/main.pbs",
"5": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src/scene/mod.barrel"
},
"projectFunctions": [
{
"callableId": "CallableId(0)",
"name": "Link.$instance",
"file": "src/link/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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file0:42], 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@415b0b49, 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@415b0b49, 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@415b0b49, 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@415b0b49, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"name": "Link.read",
"file": "src/link/main.pbs",
"instructions": [
"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@7de62196, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.read, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@51bf5add, 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@7905a0b8, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"name": "$globals.2",
"file": "src/main.pbs",
"instructions": [
"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@463fd068, 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@895e367, 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@895e367, registryInstruction=IRRegistryInstruction[kind=STRUCT_NEW, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@895e367, 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@895e367, 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@895e367, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(2), calleeCallableName=ShopVisit.$ctor.make, calleeCallableId=CallableId(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@895e367, 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@895e367, 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@37911f88, 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@748741cb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(5)",
"name": "frame",
"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@5456afaa, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Link.read, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@6692b6c6, 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@1cd629b3, 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@4bd31064, 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@e3c0e40, 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@329dbdbf, 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@2b72cb8a, 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@20d7d6fb, 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@4ef782af, 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@11d8ae8b, 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@479cbee5, 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@2b72cb8a, 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@2b72cb8a, 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@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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(6)",
"name": "__pbs.file_init$f2",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=$globals.2, calleeCallableId=CallableId(4), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@748741cb, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"name": "ShopVisit.read",
"file": "src/scene/main.pbs",
"instructions": [
"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@6b58b9e9, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@f14a7d4, registryInstruction=IRRegistryInstruction[kind=STRUCT_GET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@52e7a6b2, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"name": "ShopVisit.$ctor.make",
"file": "src/scene/main.pbs",
"instructions": [
"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@27e47833, 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@27e47833, registryInstruction=null]",
"Instruction[kind=GET_LOCAL, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=null, span=p.studio.compiler.source.Span@27e47833, 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@6f6745d6, registryInstruction=null]",
"Instruction[kind=REGISTRY, calleeModuleId=ModuleId(-1), calleeCallableName=, calleeCallableId=null, hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=2, expectedRetSlots=0, span=p.studio.compiler.source.Span@27508c5d, registryInstruction=IRRegistryInstruction[kind=STRUCT_SET, type=TypeRef[declarationKey=pbs:struct:file4:0], targetType=null, function=null, member=0]]",
"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@2d9caaeb, registryInstruction=null]"
]
},
{
"callableId": "CallableId(7)",
"name": "__prometeu.lifecycle.module_init$m1",
"file": "src/main.pbs",
"instructions": [
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__pbs.file_init$f2, calleeCallableId=CallableId(6), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
},
{
"callableId": "CallableId(8)",
"name": "__prometeu.lifecycle.frame_wrapper$m1",
"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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=__prometeu.lifecycle.module_init$m1, calleeCallableId=CallableId(7), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, 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@6f1c29b7, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(1), calleeCallableName=frame, calleeCallableId=CallableId(5), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@6f1c29b7, 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@6f1c29b7, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/F5-shopvisit/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=1, globals=2, executableFunctions=7, modulePool=3, callableSignatures=7, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(2) span=[144,228] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F5-shopvisit",
"sourceSha256": "5373eaa6bece79658cb4cbd74fecc47d7d2a5954eee1812576243155fecb4c38",
"durationSeconds": 0.61,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,61 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/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/",
"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/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/cartridge",
"bytecodeBytes": 558,
"bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/src/mod.barrel"
},
"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=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d29b4ee, 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@69ee81fc, 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@6e2aa843, 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@6f36c2f0, 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@60f00693, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "runtime-trap-control",
"sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9",
"durationSeconds": 0.623,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,90 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/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/",
"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/agd113-checkout-0onfg84b/runtime-trap-control/optimized/cartridge",
"bytecodeBytes": 558,
"bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/src/mod.barrel"
},
"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=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d29b4ee, 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@69ee81fc, 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@6e2aa843, 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@6f36c2f0, 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@60f00693, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/optimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "runtime-trap-control",
"sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9",
"durationSeconds": 0.648,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,85 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/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/",
"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/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/cartridge",
"bytecodeBytes": 558,
"bytecodeSha256": "8059817ad5559a7c1b0c42c4576008817a68877b619a530383e4a182fe44ac4d",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/src/mod.barrel"
},
"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=1, targetLabel=, expectedArgSlots=null, expectedRetSlots=null, span=p.studio.compiler.source.Span@2d29b4ee, 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@69ee81fc, 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@6e2aa843, 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@6f36c2f0, 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@60f00693, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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=0, expectedRetSlots=null, span=p.studio.compiler.source.Span@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, 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@60f00693, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-0onfg84b/runtime-trap-control/unoptimized/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, syntheticFunctions=0, globals=0, executableFunctions=1, modulePool=1, callableSignatures=1, intrinsicPool=0, hostBindings=0, builtinTypes=0, builtinConsts=0, requiredCapabilities=0, lifecycle=declared}\n - fn frame(0 params) returnType=explicit fileId=FileId(0) span=[8,47] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "runtime-trap-control",
"sourceSha256": "60013483001b50eb3e7f8a9360142ec5ab49f8ca56edf1d6b0ca5b32251510d9",
"durationSeconds": 0.63,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}
@@ -0,0 +1,679 @@
{
"schemaVersion": 1,
"mode": "checkout",
"scratch": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-checkout-zo51sjpb",
"cases": [
{
"id": "F1-local",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-local-optimized.json"
},
{
"id": "F1-local",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-local-optimized-public.json"
},
{
"id": "F1-local",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-local-unoptimized.json"
},
{
"id": "F1-direct",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F1-direct-optimized.json"
},
{
"id": "F1-direct",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F1-direct-optimized-public.json"
},
{
"id": "F1-direct",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F1-direct-unoptimized.json"
},
{
"id": "F1-two-calls",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F1-two-calls-optimized.json"
},
{
"id": "F1-two-calls",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F1-two-calls-optimized-public.json"
},
{
"id": "F1-two-calls",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F1-two-calls-unoptimized.json"
},
{
"id": "F1-service-this",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F1-service-this-optimized.json"
},
{
"id": "F1-service-this",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F1-service-this-optimized-public.json"
},
{
"id": "F1-service-this",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F1-service-this-unoptimized.json"
},
{
"id": "F2-locals",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-locals-optimized.json"
},
{
"id": "F2-locals",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-locals-optimized-public.json"
},
{
"id": "F2-locals",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-locals-unoptimized.json"
},
{
"id": "F2-arguments",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-arguments-optimized.json"
},
{
"id": "F2-arguments",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-arguments-optimized-public.json"
},
{
"id": "F2-arguments",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-arguments-unoptimized.json"
},
{
"id": "F2-expression",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-expression-optimized.json"
},
{
"id": "F2-expression",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-expression-optimized-public.json"
},
{
"id": "F2-expression",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-expression-unoptimized.json"
},
{
"id": "F2-struct-method",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-struct-method-optimized.json"
},
{
"id": "F2-struct-method",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-struct-method-optimized-public.json"
},
{
"id": "F2-struct-method",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F2-struct-method-unoptimized.json"
},
{
"id": "F3-single-file",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-single-file-optimized.json"
},
{
"id": "F3-single-file",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-single-file-optimized-public.json"
},
{
"id": "F3-single-file",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-single-file-unoptimized.json"
},
{
"id": "F3-function",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F3-function-optimized.json"
},
{
"id": "F3-function",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F3-function-optimized-public.json"
},
{
"id": "F3-function",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F3-function-unoptimized.json"
},
{
"id": "F3-global",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F3-global-optimized.json"
},
{
"id": "F3-global",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F3-global-optimized-public.json"
},
{
"id": "F3-global",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F3-global-unoptimized.json"
},
{
"id": "F3-service",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F3-service-optimized.json"
},
{
"id": "F3-service",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F3-service-optimized-public.json"
},
{
"id": "F3-service",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F3-service-unoptimized.json"
},
{
"id": "F3-file-private",
"optimization": "optimized",
"public": false,
"expectedCompile": "rejected",
"status": "analysis_failed",
"report": "reports/checkout/F3-file-private-optimized.json"
},
{
"id": "F3-file-private",
"optimization": "optimized",
"public": true,
"expectedCompile": "rejected",
"status": "public_compile_rejected",
"report": "reports/checkout/F3-file-private-optimized-public.json"
},
{
"id": "F3-file-private",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "rejected",
"status": "analysis_failed",
"report": "reports/checkout/F3-file-private-unoptimized.json"
},
{
"id": "F4-distinct",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-distinct-optimized.json"
},
{
"id": "F4-distinct",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-distinct-optimized-public.json"
},
{
"id": "F4-distinct",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-distinct-unoptimized.json"
},
{
"id": "F4-same-no-dependency",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-same-no-dependency-optimized.json"
},
{
"id": "F4-same-no-dependency",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-same-no-dependency-optimized-public.json"
},
{
"id": "F4-same-no-dependency",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-same-no-dependency-unoptimized.json"
},
{
"id": "F4-same-dependency",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F4-same-dependency-optimized.json"
},
{
"id": "F4-same-dependency",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F4-same-dependency-optimized-public.json"
},
{
"id": "F4-same-dependency",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F4-same-dependency-unoptimized.json"
},
{
"id": "F4-rename-a",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-rename-a-optimized.json"
},
{
"id": "F4-rename-a",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-rename-a-optimized-public.json"
},
{
"id": "F4-rename-a",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-rename-a-unoptimized.json"
},
{
"id": "F4-same-direct",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F4-same-direct-optimized.json"
},
{
"id": "F4-same-direct",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "public_compile_rejected",
"report": "reports/checkout/F4-same-direct-optimized-public.json"
},
{
"id": "F4-same-direct",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "analysis_failed",
"report": "reports/checkout/F4-same-direct-unoptimized.json"
},
{
"id": "F5-shopvisit",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-shopvisit-optimized.json"
},
{
"id": "F5-shopvisit",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-shopvisit-optimized-public.json"
},
{
"id": "F5-shopvisit",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-shopvisit-unoptimized.json"
},
{
"id": "F5-scene",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-optimized.json"
},
{
"id": "F5-scene",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-optimized-public.json"
},
{
"id": "F5-scene",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-unoptimized.json"
},
{
"id": "F5-scene-alias",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-alias-optimized.json"
},
{
"id": "F5-scene-alias",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-alias-optimized-public.json"
},
{
"id": "F5-scene-alias",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-alias-unoptimized.json"
},
{
"id": "F5-scene-positional",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-positional-optimized.json"
},
{
"id": "F5-scene-positional",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-positional-optimized-public.json"
},
{
"id": "F5-scene-positional",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F5-scene-positional-unoptimized.json"
},
{
"id": "runtime-trap-control",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/runtime-trap-control-optimized.json"
},
{
"id": "runtime-trap-control",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/runtime-trap-control-optimized-public.json"
},
{
"id": "runtime-trap-control",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/runtime-trap-control-unoptimized.json"
},
{
"id": "F1-service-local",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-service-local-optimized.json"
},
{
"id": "F1-service-local",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-service-local-optimized-public.json"
},
{
"id": "F1-service-local",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-service-local-unoptimized.json"
},
{
"id": "F1-condition",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-condition-optimized.json"
},
{
"id": "F1-condition",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-condition-optimized-public.json"
},
{
"id": "F1-condition",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F1-condition-unoptimized.json"
},
{
"id": "F3-global-local",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-global-local-optimized.json"
},
{
"id": "F3-global-local",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-global-local-optimized-public.json"
},
{
"id": "F3-global-local",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-global-local-unoptimized.json"
},
{
"id": "F3-service-local",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-service-local-optimized.json"
},
{
"id": "F3-service-local",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-service-local-optimized-public.json"
},
{
"id": "F3-service-local",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F3-service-local-unoptimized.json"
},
{
"id": "F4-public-aliases",
"optimization": "optimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-public-aliases-optimized.json"
},
{
"id": "F4-public-aliases",
"optimization": "optimized",
"public": true,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-public-aliases-optimized-public.json"
},
{
"id": "F4-public-aliases",
"optimization": "unoptimized",
"public": false,
"expectedCompile": "compiled",
"status": "compiled",
"report": "reports/checkout/F4-public-aliases-unoptimized.json"
}
]
}
@@ -0,0 +1,109 @@
{
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/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",
"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/agd113-installed-wwme056f/F1-condition/optimized-public/cartridge",
"bytecodeBytes": 1176,
"bytecodeSha256": "209cb17032e08539d9950c5ea308bd28de1511e29d548311874288d4a197ddbe",
"files": {
"0": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized-public/src/main.pbs",
"1": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/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@2bd08376, 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@2bd08376, 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@2bd08376, 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@95e33cc, 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@3f9342d4, registryInstruction=null]"
]
},
{
"callableId": "CallableId(1)",
"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@539d019, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=Probe.value, calleeCallableId=CallableId(2), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=1, expectedRetSlots=1, span=p.studio.compiler.source.Span@3ad2e17, 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@554e218, 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@1608bcbd, 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@55493582, 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@29ca3d04, 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@b2c5e07, 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@5812f68b, 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@4426bff1, 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@55493582, 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@55493582, 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@55493582, 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@38604b81, registryInstruction=null]"
]
},
{
"callableId": "CallableId(2)",
"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@52c3cb31, 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@4b79ac84, registryInstruction=null]"
]
},
{
"callableId": "CallableId(3)",
"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@3f9342d4, 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@38604b81, registryInstruction=null]"
]
},
{
"callableId": "CallableId(4)",
"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(3), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, 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@38604b81, 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@38604b81, 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@38604b81, 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@38604b81, 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@38604b81, 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@38604b81, 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@38604b81, 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@38604b81, 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@38604b81, registryInstruction=null]",
"Instruction[kind=CALL_FUNC, calleeModuleId=ModuleId(0), calleeCallableName=frame, calleeCallableId=CallableId(1), hostCall=null, intrinsicCall=null, label=, targetLabel=, expectedArgSlots=0, expectedRetSlots=0, span=p.studio.compiler.source.Span@38604b81, 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@38604b81, registryInstruction=null]"
]
}
],
"logs": [
"[INFO] [DEPS]: dependency completed successfully \n",
"[DEBUG] Project [ caseapp ] source loading... \n",
"[DEBUG] Walking source root [ /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/agd113-installed-wwme056f/F1-condition/optimized-public/src ] \n",
"[DEBUG] PBS frontend lowered to IR BE:\nIRBackend{entrypoint=main@-, functions=1, 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=[109,171] \n",
"[DEBUG] Frontend phase completed successfully! \n",
"[DEBUG] Common lifecycle assembly completed successfully! \n",
"[INFO] builder pipeline completed successfully \n",
"[INFO] builder pipeline completed successfully \n"
],
"caseId": "F1-condition",
"sourceSha256": "415d08d0155fc8e8b4e0df3c1eb47c0a6aa7bda6481fdc4f5024c14d0f70d014",
"durationSeconds": 0.488,
"stderr": "[main] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n[main] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully\n"
}

Some files were not shown because too many files have changed in this diff Show More