(x)
| 92 | // Helper function to export a heap symbol on the module object, |
| 93 | // if requested. |
| 94 | const shouldExportHeap = (x) => { |
| 95 | let shouldExport = false; |
| 96 | if (MODULARIZE && EXPORT_ALL) { |
| 97 | shouldExport = true; |
| 98 | } else if (EXPORTED_RUNTIME_METHODS.has(x)) { |
| 99 | shouldExport = true; |
| 100 | } |
| 101 | return shouldExport; |
| 102 | } |
| 103 | const maybeExportHeap = (x) => { |
| 104 | if (shouldExportHeap(x) && MODULARIZE != 'instance') { |
| 105 | return `Module['${x}'] = `; |