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

Function GenCodeCmdNeg

NULLC/CodeGen_X86.cpp:3017–3024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3015
3016
3017void GenCodeCmdNeg(VMCmd cmd)
3018{
3019 (void)cmd;
3020 EMIT_COMMENT("NEG int");
3021 EMIT_OP_REG(o_pop, rEAX);
3022 EMIT_OP_REG(o_neg, rEAX);
3023 EMIT_OP_REG(o_push, rEAX);
3024}
3025
3026void GenCodeCmdBitNot(VMCmd cmd)
3027{

Callers

nothing calls this directly

Calls 2

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85

Tested by

no test coverage detected