private static bool CheckForConstantResult(FunctionScript Function)
{
if (Function.Instructions.Length == 1 && Function.Instructions[0] == Instructions.SystemConstant)
{
return true;
}
for (int i = 0; i < Function.Instructions.Length; i++)
{
if ((int) Function.Instructions[i] >= (int) Instructions.LogicalXor)
{
return false;
}
}
return true;
}