Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierNicole committed Sep 9, 2024
1 parent d6854e0 commit f54dfed
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 @@ -494,28 +494,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 f54dfed

Please sign in to comment.