MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / emitFix

Method emitFix

Engine/source/console/compiler.h:429–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427 }
428
429 inline U32 emitFix(FixType type)
430 {
431 U32 *ptr = (U32*)allocCode(4);
432 *ptr = (U32)type;
433
434#ifdef DEBUG_CODESTREAM
435 printf("code[%u] = [FIX:%u]\n", mCodePos, (U32)type);
436#endif
437
438 mFixList.push_back(mCodePos);
439 mFixList.push_back((U32)type);
440 return mCodePos++;
441 }
442
443 inline void pushFixScope(bool isLoop)
444 {

Callers 1

compileStmtMethod · 0.80

Calls 2

printfFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected