| 54 | } |
| 55 | |
| 56 | void cleanup_inline_ctx(InlineCtx & ic) { |
| 57 | if ( ic.ctx ) das_context_release(ic.ctx); |
| 58 | if ( ic.program ) das_program_release(ic.program); |
| 59 | if ( ic.file_access ) das_fileaccess_release(ic.file_access); |
| 60 | if ( ic.module_group ) das_modulegroup_release(ic.module_group); |
| 61 | if ( ic.tout ) das_text_release(ic.tout); |
| 62 | ic = InlineCtx{}; |
| 63 | } |
| 64 | |
| 65 | bool huge_heap_enabled() { |
| 66 | if constexpr ( sizeof(void*) < 8 ) return false; |
no test coverage detected