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

Method EmitThrowExceptionLabel

source/common/scripting/jit/jit.cpp:499–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499asmjit::Label JitCompiler::EmitThrowExceptionLabel(EVMAbortException reason)
500{
501 auto label = cc.newLabel();
502 auto cursor = cc.getCursor();
503 cc.bind(label);
504 EmitThrowException(reason);
505 cc.setCursor(cursor);
506
507 JitLineInfo info;
508 info.Label = label;
509 info.LineNumber = sfunc->PCToLine(pc);
510 LineInfo.Push(info);
511
512 return label;
513}
514
515asmjit::X86Gp JitCompiler::CheckRegD(int r0, int r1)
516{

Callers

nothing calls this directly

Calls 6

getCursorMethod · 0.80
PCToLineMethod · 0.80
newLabelMethod · 0.45
bindMethod · 0.45
setCursorMethod · 0.45
PushMethod · 0.45

Tested by

no test coverage detected