Skip to content
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
30b3ee3
Upgrade WebKit to 87fd0daba19a (module-loader rewrite)
sosukesuzuki Apr 17, 2026
0c02afc
Bump WEBKIT_VERSION to eee10881230a (CI fixes)
sosukesuzuki Apr 17, 2026
900b0f0
Bump WEBKIT_VERSION to 62f59fac30ad
sosukesuzuki Apr 17, 2026
0c6515c
Bump WEBKIT_VERSION to fce1a0e8d816
sosukesuzuki Apr 17, 2026
2486f72
Use WebKit preview release autobuild-preview-pr-184-fce1a0e8
sosukesuzuki Apr 17, 2026
eadd46e
SerializedScriptValue: wtf/Gigacage.h was folded into wtf/FastMalloc.h
sosukesuzuki Apr 17, 2026
70e6fac
Adapt to queue-based loadModuleSync (replaces m_synchronousModuleLoad…
sosukesuzuki Apr 17, 2026
710ba18
Use WebKit preview release autobuild-preview-pr-184-43fee432
sosukesuzuki Apr 17, 2026
5b68001
Fix module-loader test fallout: HostDefined parseType, Loader global,…
sosukesuzuki Apr 18, 2026
fdd8f1f
mock.module: skip namespace patching for unlinked records (fixes 11664)
sosukesuzuki Apr 18, 2026
3f653a5
Use WebKit preview release autobuild-preview-pr-184-3566460a
sosukesuzuki Apr 18, 2026
79d3bf1
Update reportError snapshot; drop TLA self-import syntax case
sosukesuzuki Apr 18, 2026
59e56a2
Use WebKit preview release autobuild-preview-pr-184-e55776d2
sosukesuzuki Apr 18, 2026
83d8a91
EvalGlobalObject::moduleLoaderEvaluate: check exception before callin…
sosukesuzuki Apr 19, 2026
205fdc5
Use WebKit preview release autobuild-preview-pr-184-2d0c24ac
sosukesuzuki Apr 19, 2026
f6cb74b
Set hasTLA on bytecode-analyzed module records
sosukesuzuki Apr 19, 2026
b101a54
Don't leave concurrent fetch promises pending on race loss
sosukesuzuki Apr 19, 2026
34788e6
[autofix.ci] apply automated fixes
autofix-ci[bot] Apr 19, 2026
34d9a5b
Drop stale isUndefined() asserts, idempotent plugin-namespace resolve…
sosukesuzuki Apr 19, 2026
3c87698
node:vm SourceTextModule: defer record->link() to instantiate()
sosukesuzuki Apr 20, 2026
8730af5
fetch-leak fixture: separate threshold for resident loader promises
sosukesuzuki Apr 20, 2026
3af722a
hot reload: track entry-point promise rejections by reload generation
sosukesuzuki Apr 20, 2026
130255b
Use WebKit preview release autobuild-preview-pr-184-18d48e32
sosukesuzuki Apr 20, 2026
187bcd2
Coalesce hot-reload events while the previous reload's loadModule cha…
sosukesuzuki Apr 20, 2026
51bd7e3
[autofix.ci] apply automated fixes
autofix-ci[bot] Apr 20, 2026
0a36847
ReadableStream async-iterator pull(): swallow closed-controller throw
sosukesuzuki Apr 20, 2026
1cdd7b5
verify-baseline: allowlist simdutf 8.2.0 symbols and IPInt atomic cmp…
sosukesuzuki Apr 20, 2026
0ac42aa
Adopt VM::SynchronousModuleQueue (sync-queue GC root fix)
sosukesuzuki Apr 20, 2026
62f537f
Use WebKit preview release autobuild-preview-pr-184-93b89ddd
sosukesuzuki Apr 20, 2026
40ed118
[autofix.ci] apply automated fixes
autofix-ci[bot] Apr 20, 2026
bccd61e
require-esm-gc-roots: cap to 8 iterations on Windows, 60s timeout
sosukesuzuki Apr 20, 2026
0b356ed
socket leak check: extend maxWait to 5s on Windows
sosukesuzuki Apr 20, 2026
3c3e802
socket leak: widen Windows TCPSocket threshold by one (FIXME)
sosukesuzuki Apr 20, 2026
23c425b
esmLoadSync: don't return EvaluatingAsync namespaces or remove pre-ex…
sosukesuzuki Apr 21, 2026
458e50d
Use WebKit preview release autobuild-preview-pr-184-497ce8cf
sosukesuzuki Apr 21, 2026
cdcfd78
node:module: drop bulk reifyAllStaticProperties from the synthetic ES…
sosukesuzuki Apr 21, 2026
7e71aae
ci: re-run
sosukesuzuki Apr 21, 2026
3a07eb1
Use merged WebKit a497d596 (oven-sh/WebKit#184)
sosukesuzuki Apr 21, 2026
244788c
[BISECT] Use WebKit preview pr-190-f8513c72 (all 7 IPInt commits reve…
sosukesuzuki Apr 22, 2026
f2d7c27
[BISECT] Use WebKit preview pr-190-1987e88f (all 8 IPInt commits reve…
Jarred-Sumner Apr 22, 2026
261fa0b
[BISECT] WebKit pr-195-1d58eec1: revert 7ad346c14cd4 (Gigacage→FastMa…
sosukesuzuki Apr 23, 2026
f5d456e
Upgrade WebKit to aac4aed489d1 (oven-sh/WebKit#199)
Jarred-Sumner Apr 24, 2026
339f6ed
[autofix.ci] apply automated fixes
autofix-ci[bot] Apr 24, 2026
9821ecf
WEBKIT_VERSION → pr-199-50d418de (Windows _Literal_zero fix)
Jarred-Sumner Apr 24, 2026
3ee3dee
WEBKIT_VERSION → pr-199-1cb31e68 (merge origin/main for freebsd-relea…
Jarred-Sumner Apr 24, 2026
13254da
ci: retrigger (WebKit autobuild pr-199-1cb31e68 ready)
Jarred-Sumner Apr 24, 2026
d42333e
WEBKIT_VERSION → pr-199-9ede0d28 (HostDefined string + ucal_getIanaTi…
Jarred-Sumner Apr 24, 2026
70752bb
verify-baseline: allowlist relaxed Wasm SIMD ipint symbols (85da494b1…
Jarred-Sumner Apr 24, 2026
68de331
ci: retrigger (WebKit pr-199-9ede0d28 ready)
Jarred-Sumner Apr 24, 2026
2d312e0
ServerRouteList/BakeAdditions: FinalObjectType for JSFinalObject::inf…
Jarred-Sumner Apr 24, 2026
a449093
NodeVM: reconstruct importModuleDynamically attributes from ScriptFet…
Jarred-Sumner Apr 25, 2026
052ba02
WEBKIT_VERSION → pr-199-3be45332 (ScriptFetchParameters attributes map)
Jarred-Sumner Apr 25, 2026
fe4ec30
pglite Windows OOB: add JSC_logWasmMemory diagnostic test; strip stra…
Jarred-Sumner Apr 25, 2026
e21445d
[autofix.ci] apply automated fixes
autofix-ci[bot] Apr 25, 2026
629f63d
[only tests] fix test.runIf → test.if in pglite diagnostic
Jarred-Sumner Apr 25, 2026
60bd87f
[only tests] pglite diag: add x64 BoundsChecking+IPInt discriminator …
Jarred-Sumner Apr 25, 2026
94c72ef
[only tests] pglite diag: add all-3-tiers + useWasmFastMemory=0 discr…
Jarred-Sumner Apr 25, 2026
e3679ba
Bump WebKit to autobuild-f5f6c3f654bd (PR #199 merged to main)
Jarred-Sumner Apr 25, 2026
b1e2bcd
Remove pglite WASM memory diagnostic test (root cause fixed in WebKit…
Jarred-Sumner Apr 25, 2026
eeef3fe
test(webview): probe Chrome spawn on CI macOS instead of version-gating
Jarred-Sumner Apr 25, 2026
b00668e
verify-baseline: fix symbol count comments in allowlist-x64 (93/95, w…
Jarred-Sumner Apr 25, 2026
9a4164f
test(shell): add GC retry window to ParsedShellScript leak check
Jarred-Sumner Apr 25, 2026
9ec895c
test(tls-keepalive): bump distinct-configs growth threshold 75→85 MB
Jarred-Sumner Apr 25, 2026
89b9e28
test: relax thresholds + skip esm-11 on CI for module-loader follow-up
Jarred-Sumner Apr 25, 2026
5f7b997
[autofix.ci] apply automated fixes
autofix-ci[bot] Apr 25, 2026
6e62857
test(webview): gate chrome tests on CI macOS < 15 (was <14)
Jarred-Sumner Apr 25, 2026
64af916
Update webkit.ts
Jarred-Sumner Apr 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/build/deps/webkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* for local mode. Override via `--webkit-version=<hash>` to test a branch.
* From https://github.com/oven-sh/WebKit releases.
*/
export const WEBKIT_VERSION = "4d5e75ebd84a14edbc7ae264245dcd77fe597c10";
export const WEBKIT_VERSION = "autobuild-f5f6c3f654bd19baf14a849160c704b12d198f87";

Check warning on line 6 in scripts/build/deps/webkit.ts

View check run for this annotation

Claude / Claude Code Review

process.versions.webkit now includes 'autobuild-' prefix instead of bare SHA

`WEBKIT_VERSION` is now `"autobuild-f5f6c3f654bd…"` instead of the bare SHA, which flows verbatim through `depVersionsHeader.ts:59` → `BUN_VERSION_WEBKIT` → `process.versions.webkit` (BunProcess.cpp:215) and the inspector's `WebKit-Version` header (debugger.ts:515) — violating the comment at depVersionsHeader.ts:54-57 ("process.versions should show the clean commit hash"). Since `prebuiltUrl()` (line 76) already handles both forms via `startsWith("autobuild-")`, this can simply be the bare SHA `
Comment thread
claude[bot] marked this conversation as resolved.
Outdated

/**
* WebKit (JavaScriptCore) — the JS engine.
Expand Down
47 changes: 45 additions & 2 deletions scripts/verify-baseline-static/allowlist-x64-windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,12 @@ simdutf::haswell::implementation::utf16_length_from_utf8
simdutf::haswell::implementation::utf32_length_from_utf16be [AVX, AVX2]
simdutf::haswell::implementation::utf32_length_from_utf16le [AVX, AVX2]
simdutf::haswell::implementation::utf32_length_from_utf8 [AVX, AVX2]
simdutf::haswell::implementation::binary_length_from_base64 [AVX, AVX2]
simdutf::haswell::implementation::utf8_length_from_latin1 [AVX, AVX2]
simdutf::haswell::implementation::utf8_length_from_utf16be [AVX, AVX2]
simdutf::haswell::implementation::utf8_length_from_utf16be_with_replacement [AVX, AVX2]
simdutf::haswell::implementation::utf8_length_from_utf16le [AVX, AVX2]
simdutf::haswell::implementation::utf8_length_from_utf16le_with_replacement [AVX, AVX2]
simdutf::haswell::implementation::utf8_length_from_utf32 [AVX, AVX2]
simdutf::haswell::implementation::validate_ascii [AVX, AVX2]
simdutf::haswell::implementation::validate_ascii_with_errors [AVX, AVX2]
Expand Down Expand Up @@ -165,9 +168,12 @@ simdutf::icelake::implementation::utf16_length_from_utf8
simdutf::icelake::implementation::utf32_length_from_utf16be [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
simdutf::icelake::implementation::utf32_length_from_utf16le [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
simdutf::icelake::implementation::utf32_length_from_utf8 [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL, AVX512_VPOPCNTDQ]
simdutf::icelake::implementation::binary_length_from_base64 [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
simdutf::icelake::implementation::utf8_length_from_latin1 [AVX, AVX2, AVX512BW, AVX512F, AVX512VL]
simdutf::icelake::implementation::utf8_length_from_utf16be [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
simdutf::icelake::implementation::utf8_length_from_utf16le [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
simdutf::icelake::implementation::utf8_length_from_utf16be [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL, BMI2]
simdutf::icelake::implementation::utf8_length_from_utf16be_with_replacement [AVX, AVX512BW, AVX512F, BMI2]
simdutf::icelake::implementation::utf8_length_from_utf16le [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL, BMI2]
simdutf::icelake::implementation::utf8_length_from_utf16le_with_replacement [AVX, AVX512BW, AVX512F, BMI2]
simdutf::icelake::implementation::utf8_length_from_utf32 [AVX, AVX2, AVX512DQ, AVX512F, AVX512VL]
simdutf::icelake::implementation::validate_ascii [AVX, AVX512BW, AVX512F, BMI2]
simdutf::icelake::implementation::validate_ascii_with_errors [AVX, AVX512BW, BMI2]
Expand Down Expand Up @@ -385,6 +391,43 @@ ipint_simd_v128_or_validate [AVX]
ipint_simd_v128_xor_validate [AVX]


# ----------------------------------------------------------------------------
# JSC IPInt relaxed Wasm SIMD (Windows offlineasm). Upstream 85da494b1c29
# implements the relaxed-SIMD proposal in IPInt; gated behind
# Options::useWasmSIMD() && Options::useWasmRelaxedSIMD().
# (20 symbols)
# ----------------------------------------------------------------------------
ipint_simd_f32x4_relaxed_madd_validate [AVX]
ipint_simd_f32x4_relaxed_max_validate [AVX]
ipint_simd_f32x4_relaxed_min_validate [AVX]
ipint_simd_f32x4_relaxed_nmadd_validate [AVX]
ipint_simd_f64x2_relaxed_madd_validate [AVX]
ipint_simd_f64x2_relaxed_max_validate [AVX]
ipint_simd_f64x2_relaxed_min_validate [AVX]
ipint_simd_f64x2_relaxed_nmadd_validate [AVX]
ipint_simd_i16x8_relaxed_dot_i8x16_i7x16_s_validate [AVX]
ipint_simd_i16x8_relaxed_laneselect_validate [AVX]
ipint_simd_i16x8_relaxed_q15mulr_s_validate [AVX]
ipint_simd_i32x4_relaxed_dot_i8x16_i7x16_add_s_validate [AVX]
ipint_simd_i32x4_relaxed_laneselect_validate [AVX]
ipint_simd_i32x4_relaxed_trunc_f32x4_s_validate [AVX]
ipint_simd_i32x4_relaxed_trunc_f32x4_u_validate [AVX]
ipint_simd_i32x4_relaxed_trunc_f64x2_s_zero_validate [AVX]
ipint_simd_i32x4_relaxed_trunc_f64x2_u_zero_validate [AVX]
ipint_simd_i64x2_relaxed_laneselect_validate [AVX]
ipint_simd_i8x16_relaxed_laneselect_validate [AVX]
ipint_simd_i8x16_relaxed_swizzle_validate [AVX]


# ----------------------------------------------------------------------------
# JSC IPInt atomics (Windows offlineasm). The cmpxchg loop reloads the SIMD
# accumulator with vmovdqu after the IPInt metadata removal in upstream
# ef40cabc28d2; gated behind Options::useWasmSIMD().
# (1 symbols)
# ----------------------------------------------------------------------------
ipint_i64_atomic_rmw32_cmpxchg_u_atomic_validate [AVX]


# ----------------------------------------------------------------------------
# JSC MacroAssembler probe.
# (1 symbols)
Expand Down
51 changes: 48 additions & 3 deletions scripts/verify-baseline-static/allowlist-x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# ----------------------------------------------------------------------------
# simdutf AVX2 (Haswell). Gate: set_best() dispatcher — CPUID at first call, cached in atomic ptr.
# (89 symbols)
# (91 symbols)
Comment thread
claude[bot] marked this conversation as resolved.
Outdated
# ----------------------------------------------------------------------------
_ZN7simdutf7haswell12_GLOBAL__N_128convert_masked_utf8_to_utf16ILNS_10endiannessE0EEEmPKcmRPDs [AVX, AVX2]
_ZN7simdutf7haswell12_GLOBAL__N_128convert_masked_utf8_to_utf16ILNS_10endiannessE1EEEmPKcmRPDs [AVX, AVX2]
Expand Down Expand Up @@ -66,6 +66,10 @@ _ZNK7simdutf7haswell14implementation24convert_utf32_to_utf16beEPKDimPDs
_ZNK7simdutf7haswell14implementation24convert_utf32_to_utf16leEPKDimPDs [AVX, AVX2]
_ZNK7simdutf7haswell14implementation24utf8_length_from_utf16beEPKDsm [AVX, AVX2]
_ZNK7simdutf7haswell14implementation24utf8_length_from_utf16leEPKDsm [AVX, AVX2]
_ZNK7simdutf7haswell14implementation41utf8_length_from_utf16be_with_replacementEPKDsm [AVX, AVX2]
_ZNK7simdutf7haswell14implementation41utf8_length_from_utf16le_with_replacementEPKDsm [AVX, AVX2]
_ZNK7simdutf7haswell14implementation25binary_length_from_base64EPKDsm [AVX, AVX2]
_ZNK7simdutf7haswell14implementation25binary_length_from_base64EPKcm [AVX, AVX2]
_ZNK7simdutf7haswell14implementation25convert_latin1_to_utf16beEPKcmPDs [AVX, AVX2]
_ZNK7simdutf7haswell14implementation25convert_latin1_to_utf16leEPKcmPDs [AVX, AVX2]
_ZNK7simdutf7haswell14implementation25convert_utf16be_to_latin1EPKDsmPc [AVX, AVX2]
Expand Down Expand Up @@ -159,8 +163,12 @@ _ZNK7simdutf7icelake14implementation24convert_utf16be_to_utf32EPKDsmPDi
_ZNK7simdutf7icelake14implementation24convert_utf16le_to_utf32EPKDsmPDi [AVX, AVX512BW, AVX512F, BMI2]
_ZNK7simdutf7icelake14implementation24convert_utf32_to_utf16beEPKDimPDs [AVX, AVX2, AVX512BW, AVX512F, AVX512VL, AVX512_VBMI2, BMI2]
_ZNK7simdutf7icelake14implementation24convert_utf32_to_utf16leEPKDimPDs [AVX, AVX512BW, AVX512F, AVX512_VBMI2, BMI2]
_ZNK7simdutf7icelake14implementation24utf8_length_from_utf16beEPKDsm [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
_ZNK7simdutf7icelake14implementation24utf8_length_from_utf16leEPKDsm [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
_ZNK7simdutf7icelake14implementation24utf8_length_from_utf16beEPKDsm [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL, BMI2]
_ZNK7simdutf7icelake14implementation24utf8_length_from_utf16leEPKDsm [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL, BMI2]
_ZNK7simdutf7icelake14implementation25binary_length_from_base64EPKDsm [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
_ZNK7simdutf7icelake14implementation25binary_length_from_base64EPKcm [AVX, AVX2, AVX512BW, AVX512DQ, AVX512F, AVX512VL]
_ZNK7simdutf7icelake14implementation41utf8_length_from_utf16be_with_replacementEPKDsm [AVX, AVX512BW, AVX512F, BMI2]
_ZNK7simdutf7icelake14implementation41utf8_length_from_utf16le_with_replacementEPKDsm [AVX, AVX512BW, AVX512F, BMI2]
Comment thread
claude[bot] marked this conversation as resolved.
_ZNK7simdutf7icelake14implementation25convert_latin1_to_utf16beEPKcmPDs [AVX, AVX512BW, AVX512F, AVX512VL, BMI2]
_ZNK7simdutf7icelake14implementation25convert_latin1_to_utf16leEPKcmPDs [AVX, AVX512BW, AVX512F, AVX512VL, BMI2]
_ZNK7simdutf7icelake14implementation25convert_utf16be_to_latin1EPKDsmPc [AVX, AVX512BW, AVX512F, AVX512_VBMI, BMI2]
Expand Down Expand Up @@ -405,6 +413,43 @@ ipint_simd_v128_or [AVX]
ipint_simd_v128_xor [AVX]


# ----------------------------------------------------------------------------
# JSC IPInt relaxed Wasm SIMD. Upstream 85da494b1c29 implements the
# relaxed-SIMD proposal in IPInt; gated behind Options::useWasmSIMD() &&
# Options::useWasmRelaxedSIMD().
# (20 symbols)
# ----------------------------------------------------------------------------
ipint_simd_f32x4_relaxed_madd [AVX]
ipint_simd_f32x4_relaxed_max [AVX]
ipint_simd_f32x4_relaxed_min [AVX]
ipint_simd_f32x4_relaxed_nmadd [AVX]
ipint_simd_f64x2_relaxed_madd [AVX]
ipint_simd_f64x2_relaxed_max [AVX]
ipint_simd_f64x2_relaxed_min [AVX]
ipint_simd_f64x2_relaxed_nmadd [AVX]
ipint_simd_i16x8_relaxed_dot_i8x16_i7x16_s [AVX]
ipint_simd_i16x8_relaxed_laneselect [AVX]
ipint_simd_i16x8_relaxed_q15mulr_s [AVX]
ipint_simd_i32x4_relaxed_dot_i8x16_i7x16_add_s [AVX]
ipint_simd_i32x4_relaxed_laneselect [AVX]
ipint_simd_i32x4_relaxed_trunc_f32x4_s [AVX]
ipint_simd_i32x4_relaxed_trunc_f32x4_u [AVX]
ipint_simd_i32x4_relaxed_trunc_f64x2_s_zero [AVX]
ipint_simd_i32x4_relaxed_trunc_f64x2_u_zero [AVX]
ipint_simd_i64x2_relaxed_laneselect [AVX]
ipint_simd_i8x16_relaxed_laneselect [AVX]
ipint_simd_i8x16_relaxed_swizzle [AVX]


# ----------------------------------------------------------------------------
# JSC IPInt atomics. cmpxchg loop reloads the SIMD accumulator with vmovdqu
# after the IPInt metadata removal in upstream ef40cabc28d2; gated behind
# Options::useWasmSIMD().
# (1 symbols)
# ----------------------------------------------------------------------------
ipint_i64_atomic_rmw32_cmpxchg_u [AVX]


# ----------------------------------------------------------------------------
# JSC MacroAssembler probe trampoline.
# (1 symbols)
Expand Down
7 changes: 4 additions & 3 deletions src/analyze_transpiled_module.zig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ pub const RecordKind = enum(u8) {
pub const Flags = packed struct(u8) {
contains_import_meta: bool = false,
is_typescript: bool = false,
_padding: u6 = 0,
has_tla: bool = false,
_padding: u5 = 0,
};

pub const ModuleInfoDeserialized = struct {
Expand Down Expand Up @@ -422,7 +423,7 @@ export fn zig__ModuleInfoDeserialized__toJSModuleRecord(
}
}

const module_record = JSModuleRecord.create(globalObject, vm, module_key, source_code, declared_variables, lexical_variables, res.flags.contains_import_meta, res.flags.is_typescript);
const module_record = JSModuleRecord.create(globalObject, vm, module_key, source_code, declared_variables, lexical_variables, res.flags.contains_import_meta, res.flags.is_typescript, res.flags.has_tla);

for (res.requested_modules_keys, res.requested_modules_values) |reqk, reqv| {
switch (reqv) {
Expand Down Expand Up @@ -483,7 +484,7 @@ const IdentifierArray = opaque {
};
const SourceCode = opaque {};
const JSModuleRecord = opaque {
extern fn JSC_JSModuleRecord__create(global_object: *bun.jsc.JSGlobalObject, vm: *bun.jsc.VM, module_key: *const IdentifierArray, source_code: *const SourceCode, declared_variables: *VariableEnvironment, lexical_variables: *VariableEnvironment, has_import_meta: bool, is_typescript: bool) *JSModuleRecord;
extern fn JSC_JSModuleRecord__create(global_object: *bun.jsc.JSGlobalObject, vm: *bun.jsc.VM, module_key: *const IdentifierArray, source_code: *const SourceCode, declared_variables: *VariableEnvironment, lexical_variables: *VariableEnvironment, has_import_meta: bool, is_typescript: bool, has_tla: bool) *JSModuleRecord;
pub const create = JSC_JSModuleRecord__create;

extern fn JSC_JSModuleRecord__declaredVariables(module_record: *JSModuleRecord) *VariableEnvironment;
Expand Down
2 changes: 1 addition & 1 deletion src/ast/Macro.zig
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pub fn init(

switch (loaded_result.unwrap(vm.jsc_vm, .leave_unhandled)) {
.rejected => |result| {
vm.unhandledRejection(vm.global, result, loaded_result.asValue());
vm.unhandledRejection(vm.global, result, loaded_result.toJS());
vm.disableMacroMode();
return error.MacroLoadError;
},
Expand Down
Loading
Loading