This commit is contained in:
LDj3SNuD 2019-09-17 20:50:17 +02:00 committed by GitHub
commit e6a07d8119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,11 +252,14 @@ namespace ARMeilleure.CodeGen.X86
if (_aotInfo != null) if (_aotInfo != null)
{ {
_aotInfo.WriteCode(codeStream); if ((int)codeStream.Length >= Aot.MinCodeLengthToSave)
{
_aotInfo.WriteCode(codeStream);
}
} }
return codeStream.ToArray(); return codeStream.ToArray();
} }
} }
} }
} }