Skip to content

Commit ee9d9cd

Browse files
thomasahleclaude
andcommitted
[circt] Bump to ed1847092 — fix bytecode fast-path external constant init
- Updates CIRCT_REF_LOCKED to ed1847092a7ef898e81dc58c68b4018d2c7c6957 (fixes case/mux bug: bytecode fast-path registers were zero-initialized on each activation, so module-scope constants were never materialized) - Fixes sync-circt-wasm.sh VPI patch: Emscripten 4.0.21 no longer emits `await` before the wasmTable.get() call; make it optional in the regex - Re-uploaded static/circt artifacts to the circt-wasm GitHub release Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 094c065 commit ee9d9cd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/sync-circt-wasm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ replaceExact(
220220
// VPIRuntime::registerCb requires non-null cb_rtn; we pass a placeholder (1).
221221
// The JS yield hook handles all dispatch; the table call is a formality.
222222
replaceExact(
223-
/if\(cbFuncPtr\)return await wasmTable\.get\(cbFuncPtr\)\(cbDataPtr\);return 0/,
224-
'if(cbFuncPtr){try{return await wasmTable.get(cbFuncPtr)(cbDataPtr);}catch(e){}}return 0',
223+
/if\(cbFuncPtr\)return (?:await )?wasmTable\.get\(cbFuncPtr\)\(cbDataPtr\);return 0/,
224+
'if(cbFuncPtr){try{return wasmTable.get(cbFuncPtr)(cbDataPtr);}catch(e){}}return 0',
225225
'vpi yield try-catch'
226226
);
227227

scripts/toolchain.lock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ readonly NODE_MAJOR_VERSION_LOCKED="22"
77
readonly EMSDK_VERSION_LOCKED="4.0.21"
88

99
readonly CIRCT_REPO_LOCKED="https://github.com/thomasnormal/circt.git"
10-
readonly CIRCT_REF_LOCKED="6f649f63b8be09c8dbb5cd5b9bd56e1ef0e1d9b1"
10+
readonly CIRCT_REF_LOCKED="ed1847092a7ef898e81dc58c68b4018d2c7c6957"
1111
readonly CIRCT_LLVM_SUBMODULE_REF_LOCKED="aa3d6b37c7945bfb4c261dd994689de2a2de25bf"
1212

1313
readonly SURFER_ARTIFACT_URL_LOCKED="https://gitlab.com/surfer-project/surfer/-/jobs/artifacts/main/download?job=pages_build"

0 commit comments

Comments
 (0)