Skip to content

Commit

Permalink
Update module_loader.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jan 29, 2025
1 parent 3294af7 commit 74a9a7c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/bun.js/module_loader.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1661,12 +1661,6 @@ pub const ModuleLoader = struct {
var parse_result: ParseResult = switch (disable_transpilying or
(loader == .json and !path.isJSONCFile())) {
inline else => |return_file_only| brk: {
const heap_access = if (!disable_transpilying)
jsc_vm.jsc.releaseHeapAccess()
else
JSC.VM.ReleaseHeapAccess{ .vm = jsc_vm.jsc, .needs_to_acquire = false };
defer heap_access.acquire();

break :brk jsc_vm.transpiler.parseMaybeReturnFileOnly(
parse_options,
null,
Expand Down

0 comments on commit 74a9a7c

Please sign in to comment.