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

Method JitX86CodeGen

source/emulation/cpu/x32/jitX86CodeGen.cpp:211–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209 }
210
211 JitX86CodeGen(CPU* cpu) : JitSSE(cpu) {
212#ifdef BOXEDWINE_64
213#ifdef BOXEDWINE_MSVC
214 params[0] = asmjit::x86::rcx;
215 params[1] = asmjit::x86::rdx;
216 params[2] = asmjit::x86::r8;
217 params[3] = asmjit::x86::r9;
218#else
219 params[0] = asmjit::x86::rdi;
220 params[1] = asmjit::x86::rsi;
221 params[2] = asmjit::x86::rdx;
222 params[3] = asmjit::x86::rcx;
223#endif
224#endif
225 code.init(rt.environment());
226 code.attach(&compiler);
227 code.set_error_handler(this);
228 }
229
230 void preOp(DecodedOp* op) override;
231 RegPtr getReg(U8 reg, S8 hint = -1, bool load = true) override;

Callers

nothing calls this directly

Calls 3

initMethod · 0.45
attachMethod · 0.45
set_error_handlerMethod · 0.45

Tested by

no test coverage detected