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

Function GenCodeCmdPushDorLStk

NULLC/CodeGen_X86.cpp:1403–1411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1401}
1402
1403void GenCodeCmdPushDorLStk(VMCmd cmd)
1404{
1405 EMIT_COMMENT(cmd.flag ? "PUSH double stack" : "PUSH long stack");
1406
1407 EMIT_OP_REG(o_pop, rEDX);
1408 EMIT_OP_RPTR(o_push, sDWORD, rEDX, cmd.argument+4);
1409 EMIT_OP_RPTR(o_push, sDWORD, rEDX, cmd.argument);
1410 KILL_REG(rEBX);KILL_REG(rECX);KILL_REG(rEDX);
1411}
1412
1413void GenCodeCmdPushCmplxStk(VMCmd cmd)
1414{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_RPTRFunction · 0.85

Tested by

no test coverage detected