(size, alignment)
| 1484 | } |
| 1485 | |
| 1486 | function alignMemory(size, alignment) { |
| 1487 | assert(alignment, "alignment argument is required"); |
| 1488 | return Math.ceil(size / alignment) * alignment; |
| 1489 | } |
| 1490 | function mmapAlloc(size) { |
| 1491 | abort('internal error: mmapAlloc called but `emscripten_builtin_memalign` native symbol not exported'); |
| 1492 | } |