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

Function GenCodeCmdDecI

NULLC/CodeGen_X86.cpp:3136–3143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3134
3135
3136void GenCodeCmdDecI(VMCmd cmd)
3137{
3138 (void)cmd;
3139 EMIT_COMMENT("DEC int");
3140 EMIT_OP_REG(o_pop, rEAX);
3141 EMIT_OP_REG_NUM(o_sub, rEAX, 1);
3142 EMIT_OP_REG(o_push, rEAX);
3143}
3144
3145void GenCodeCmdDecD(VMCmd cmd)
3146{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85

Tested by

no test coverage detected