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

Function GenCodeCmdIncI

NULLC/CodeGen_X86.cpp:3106–3113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3104
3105
3106void GenCodeCmdIncI(VMCmd cmd)
3107{
3108 (void)cmd;
3109 EMIT_COMMENT("INC int");
3110 EMIT_OP_REG(o_pop, rEAX);
3111 EMIT_OP_REG_NUM(o_add, rEAX, 1);
3112 EMIT_OP_REG(o_push, rEAX);
3113}
3114
3115void GenCodeCmdIncD(VMCmd cmd)
3116{

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