public PetitClrInterpreter ( |
||
classLoader | ||
methodDef | ||
directCall | bool | |
args | IList |
|
stubContext | object | |
return | System |
public PetitClrInterpreter(ClassLoader classLoader, MethodDefinition methodDef, bool directCall, IList<ObjectInstance> args, object stubContext)
{
_classLoader = classLoader;
_methInfo2 = methodDef;
_directCall = directCall;
_args = args;
_stubContext = stubContext;
_instructions = methodDef.Body.Instructions.ToArray();
_instructionPtr = 0;
_opStack = new Stack<ObjectInstance>();
_localSlot = new ObjectInstance[methodDef.Body.Variables.Count];
}