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

Method newLabel

libraries/asmjit/asmjit/base/assembler.cpp:168–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166// ============================================================================
167
168Label Assembler::newLabel() {
169 uint32_t id = 0;
170 if (!_lastError) {
171 ASMJIT_ASSERT(_code != nullptr);
172 Error err = _code->newLabelId(id);
173 if (ASMJIT_UNLIKELY(err)) setLastError(err);
174 }
175 return Label(id);
176}
177
178Label Assembler::newNamedLabel(const char* name, size_t nameLength, uint32_t type, uint32_t parentId) {
179 uint32_t id = 0;

Callers 12

EmitRETMethod · 0.45
EmitRETIMethod · 0.45
EmitBOUNDMethod · 0.45
EmitBOUND_KMethod · 0.45
EmitBOUND_RMethod · 0.45
EmitADDA_RRMethod · 0.45
EmitADDA_RKMethod · 0.45
CodegenMethod · 0.45
EmitComparisonOpcodeMethod · 0.45
GetLabelMethod · 0.45
EmitReadBarrierMethod · 0.45

Calls 2

LabelClass · 0.85
newLabelIdMethod · 0.80

Tested by

no test coverage detected