@@ -14087,6 +14087,18 @@ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalStringToStringDic
1408714087 return bjs_OptionalSupportImports_jsRoundTripOptionalStringToStringDictionaryUndefined_static_extern(v)
1408814088}
1408914089
14090+ #if arch(wasm32)
14091+ @_extern(wasm, module: "BridgeJSRuntimeTests", name: "bjs_OptionalSupportImports_jsRoundTripOptionalJSObjectNull_static")
14092+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalJSObjectNull_static_extern(_ valueIsSome: Int32, _ valueValue: Int32) -> Void
14093+ #else
14094+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalJSObjectNull_static_extern(_ valueIsSome: Int32, _ valueValue: Int32) -> Void {
14095+ fatalError("Only available on WebAssembly")
14096+ }
14097+ #endif
14098+ @inline(never) fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalJSObjectNull_static(_ valueIsSome: Int32, _ valueValue: Int32) -> Void {
14099+ return bjs_OptionalSupportImports_jsRoundTripOptionalJSObjectNull_static_extern(valueIsSome, valueValue)
14100+ }
14101+
1409014102#if arch(wasm32)
1409114103@_extern(wasm, module: "BridgeJSRuntimeTests", name: "bjs_OptionalSupportImports_runJsOptionalSupportTests_static")
1409214104fileprivate func bjs_OptionalSupportImports_runJsOptionalSupportTests_static_extern() -> Void
@@ -14173,6 +14185,15 @@ func _$OptionalSupportImports_jsRoundTripOptionalStringToStringDictionaryUndefin
1417314185 return JSUndefinedOr<[String: String]>.bridgeJSLiftReturn()
1417414186}
1417514187
14188+ func _$OptionalSupportImports_jsRoundTripOptionalJSObjectNull(_ value: Optional<JSObject>) throws(JSException) -> Optional<JSObject> {
14189+ let (valueIsSome, valueValue) = value.bridgeJSLowerParameter()
14190+ bjs_OptionalSupportImports_jsRoundTripOptionalJSObjectNull_static(valueIsSome, valueValue)
14191+ if let error = _swift_js_take_exception() {
14192+ throw error
14193+ }
14194+ return Optional<JSObject>.bridgeJSLiftReturn()
14195+ }
14196+
1417614197func _$OptionalSupportImports_runJsOptionalSupportTests() throws(JSException) -> Void {
1417714198 bjs_OptionalSupportImports_runJsOptionalSupportTests_static()
1417814199 if let error = _swift_js_take_exception() {
0 commit comments