(errorFormat: ErrorFormat)
| 73 | } |
| 74 | |
| 75 | export function getCallSite(errorFormat: ErrorFormat): CallSite { |
| 76 | if (errorFormat === 'minimal' || TARGET_BUILD_TYPE === 'wasm-compiler-edge') { |
| 77 | if (typeof $EnabledCallSite === 'function' && errorFormat !== 'minimal') { |
| 78 | return new $EnabledCallSite() |
| 79 | } else { |
| 80 | return new DisabledCallSite() |
| 81 | } |
| 82 | } else { |
| 83 | return new EnabledCallSite() |
| 84 | } |
| 85 | } |
no outgoing calls
no test coverage detected