Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierNicole authored and vouillon committed Sep 20, 2024
1 parent 5d782da commit 785564b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions compiler/lib/wasm/wa_link.ml
Original file line number Diff line number Diff line change
Expand Up @@ -510,28 +510,28 @@ let build_runtime_arguments
Javascript.call
(EArrow
( Javascript.fun_
[ Javascript.ident Constant.global_object_ ]
[ Javascript.ident Global_constant.global_object_ ]
[ var
Constant.old_global_object_
(EVar (Javascript.ident Constant.global_object_))
Global_constant.old_global_object_
(EVar (Javascript.ident Global_constant.global_object_))
; var
Constant.exports_
Global_constant.exports_
(EBin
( Or
, EDot
( EDot
( EVar (Javascript.ident Constant.global_object_)
( EVar (Javascript.ident Global_constant.global_object_)
, ANullish
, Utf8_string.of_string_exn "module" )
, ANullish
, Utf8_string.of_string_exn "export" )
, EVar (Javascript.ident Constant.global_object_) ))
, EVar (Javascript.ident Global_constant.global_object_) ))
; Return_statement (Some (obj generated_js)), N
]
N
, true
, AUnknown ))
[ EVar (Javascript.ident Constant.global_object_) ]
[ EVar (Javascript.ident Global_constant.global_object_) ]
N
in
obj
Expand Down

0 comments on commit 785564b

Please sign in to comment.