MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / CodeHolder_init_section_storage

Function CodeHolder_init_section_storage

lib/asmjit/asmjit/core/codeholder.cpp:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114// ======================
115
116static ASMJIT_INLINE Error CodeHolder_init_section_storage(CodeHolder* self) noexcept {
117 Error err1 = self->_sections.reserve_additional(self->_arena);
118 Error err2 = self->_sections_by_order.reserve_additional(self->_arena);
119
120 return Error(uint32_t(err1) | uint32_t(err2));
121}
122
123static ASMJIT_INLINE void CodeHolder_add_text_section(CodeHolder* self) noexcept {
124 Section* text_section = &self->_text_section;

Callers 2

initMethod · 0.85
reinitMethod · 0.85

Calls 2

ErrorEnum · 0.85
reserve_additionalMethod · 0.80

Tested by

no test coverage detected