public ProgramCounter(ZingMethod method)
{
string name = method.MethodName;
object o = methodNameTable[name];
Hashtable blockTable = null;
if (o == null)
{
methodNameTable[name] = ++methodCounter;
blockTable = new Hashtable();
methodBlockTable[name] = blockTable;
methodNumberTable[methodCounter] = name;
methodNumber = methodCounter;
}
else
{
blockTable = (Hashtable)methodBlockTable[name];
methodNumber = (ushort)o;
}
nextBlock = method.NextBlock;
blockTable[nextBlock] = method.ProgramCounter;
}