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

Method BindLabels

source/common/scripting/jit/jit.cpp:189–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void JitCompiler::BindLabels()
190{
191 asmjit::CBNode *cursor = cc.getCursor();
192 unsigned int size = labels.Size();
193 for (unsigned int i = 0; i < size; i++)
194 {
195 const OpcodeLabel &label = labels[i];
196 if (label.inUse)
197 {
198 cc.setCursor(label.cursor);
199 cc.bind(label.label);
200 }
201 }
202 cc.setCursor(cursor);
203}
204
205void JitCompiler::CheckVMFrame()
206{

Callers

nothing calls this directly

Calls 4

getCursorMethod · 0.80
SizeMethod · 0.45
setCursorMethod · 0.45
bindMethod · 0.45

Tested by

no test coverage detected