103 FirstBinaryWithConstant,
152 LastBinaryWithConstant,
178 static const char* GetName(Enum code);
181 using StorageType = plUInt32;
193 bool IsEmpty()
const {
return m_uiByteCodeCount == 0; }
195 const StorageType* GetByteCodeStart()
const;
196 const StorageType* GetByteCodeEnd()
const;
199 plUInt32 GetNumInstructions()
const;
200 plUInt32 GetNumTempRegisters()
const;
205 static OpCode::Enum GetOpCode(
const StorageType*& ref_pByteCode);
206 static plUInt32 GetRegisterIndex(
const StorageType*& ref_pByteCode);
208 static plUInt32 GetFunctionIndex(
const StorageType*& ref_pByteCode);
209 static plUInt32 GetFunctionArgCount(
const StorageType*& ref_pByteCode);
228 StorageType* m_pByteCode =
nullptr;
230 plUInt32 m_uiByteCodeCount = 0;
231 plUInt16 m_uiNumInputs = 0;
232 plUInt16 m_uiNumOutputs = 0;
233 plUInt16 m_uiNumFunctions = 0;
235 plUInt16 m_uiNumTempRegisters = 0;
236 plUInt32 m_uiNumInstructions = 0;