MCPcopy Create free account
hub / github.com/ZDoom/Raze / getCodeSize

Method getCodeSize

libraries/asmjit/asmjit/base/codeholder.cpp:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237// ============================================================================
238
239size_t CodeHolder::getCodeSize() const noexcept {
240 // Reflect all changes first.
241 const_cast<CodeHolder*>(this)->sync();
242
243 // TODO: Support sections.
244 return _sections[0]->_buffer._length + getTrampolinesSize();
245}
246
247// ============================================================================
248// [asmjit::CodeHolder - Logging & Error Handling]

Callers 2

_addMethod · 0.80
AddJitFunctionFunction · 0.80

Calls 1

syncMethod · 0.45

Tested by

no test coverage detected