MCPcopy Create free account
hub / github.com/ZDoom/Raze / WritePadding

Function WritePadding

source/common/scripting/jit/jit_runtime.cpp:392–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392static void WritePadding(TArray<uint8_t> &stream)
393{
394 int padding = stream.Size() % 8;
395 if (padding != 0)
396 {
397 padding = 8 - padding;
398 for (int i = 0; i < padding; i++) WriteUInt8(stream, 0);
399 }
400}
401
402static void WriteCIE(TArray<uint8_t> &stream, const TArray<uint8_t> &cieInstructions, uint8_t returnAddressReg)
403{

Callers 2

WriteCIEFunction · 0.85
WriteFDEFunction · 0.85

Calls 2

WriteUInt8Function · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected