public int GetMethodStackSize(MosaMethod method)
{
var size = 0;
lock (methodStackSizes)
{
if (!methodStackSizes.TryGetValue(method, out size))
{
if ((method.MethodAttributes & MosaMethodAttributes.Abstract) == MosaMethodAttributes.Abstract)
return 0;
return 0;
//throw new InvalidCompilerException();
}
}
return size;
}