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

Function OptimizationLookBehind

NULLC/CodeGen_X86.cpp:1193–1206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193void OptimizationLookBehind(bool allow)
1194{
1195 x86LookBehind = allow;
1196#ifdef NULLC_OPTIMIZE_X86
1197 if(!allow)
1198 {
1199 KILL_REG(rEAX);KILL_REG(rEBX);KILL_REG(rECX);KILL_REG(rEDX);
1200 KILL_REG(rESI);
1201 NULLC::lastInvalidate = (unsigned int)(x86Op - x86Base);
1202 NULLC::InvalidateState();
1203 NULLC::regUpdate[rESP] = 0;
1204 }
1205#endif
1206}
1207
1208static unsigned int paramBase = 0;
1209static unsigned int aluLabels = LABEL_ALU;

Callers 1

TranslateToNativeMethod · 0.85

Calls 1

InvalidateStateFunction · 0.85

Tested by

no test coverage detected