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

Function InvalidateState

NULLC/CodeGen_X86.cpp:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 }
90
91 void InvalidateState()
92 {
93 stackTop = 0;
94 for(unsigned int i = 0; i < STACK_STATE_SIZE; i++)
95 stack[i].type = x86Argument::argNone;
96 for(unsigned int i = 0; i < 9; i++)
97 reg[i].type = x86Argument::argNone;
98 for(unsigned int i = 0; i < MEMORY_STATE_SIZE; i++)
99 mCache[i].address.type = x86Argument::argNone;
100 mCacheEntries = 0;
101 }
102
103 void InvalidateDependand(x86Reg dreg)
104 {

Callers 6

EMIT_LABELFunction · 0.85
EMIT_OPFunction · 0.85
EMIT_OP_LABELFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_RPTRFunction · 0.85
OptimizationLookBehindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected