| 264 | } |
| 265 | |
| 266 | void _xsbug_import_(txMachine* the) |
| 267 | { |
| 268 | txSlot* realm = mxProgram.value.reference->next->value.module.realm; |
| 269 | mxPushSlot(mxArgv(0)); |
| 270 | mxPushUndefined(); |
| 271 | fxRunImport(the, realm, NULL); |
| 272 | mxDub(); |
| 273 | fxGetID(the, mxID(_then)); |
| 274 | mxCall(); |
| 275 | fxNewHostFunction(the, _xsbug_importFulfilled, 1, XS_NO_ID, XS_NO_ID); |
| 276 | fxNewHostFunction(the, _xsbug_importRejected, 1, XS_NO_ID, XS_NO_ID); |
| 277 | mxRunCount(2); |
| 278 | mxPop(); |
| 279 | if (xsTest(xsArg(1))) |
| 280 | gxTest262Async = TEST262_ASYNC_WAITING; |
| 281 | } |
| 282 | |
| 283 | void _xsbug_module_(txMachine* the) |
| 284 | { |
nothing calls this directly
no test coverage detected