MCPcopy Create free account
hub / github.com/WheretIB/nullc / GenCodeCmdGetAddr

Function GenCodeCmdGetAddr

NULLC/CodeGen_X86.cpp:1806–1815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1804
1805
1806void GenCodeCmdGetAddr(VMCmd cmd)
1807{
1808 EMIT_COMMENT("GETADDR");
1809
1810 if(cmd.helper)
1811 EMIT_OP_REG_RPTR(o_lea, rEAX, sNONE, rEBP, cmd.argument + paramBase);
1812 else
1813 EMIT_OP_REG_NUM(o_mov, rEAX, cmd.argument + paramBase);
1814 EMIT_OP_REG(o_push, rEAX);
1815}
1816
1817void GenCodeCmdFuncAddr(VMCmd cmd)
1818{

Callers

nothing calls this directly

Calls 4

EMIT_COMMENTFunction · 0.85
EMIT_OP_REG_RPTRFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85
EMIT_OP_REGFunction · 0.85

Tested by

no test coverage detected