JaCIL Framework API

MethodTranslator.ProcessNewObject Method 

Processes the newobj instructions.

protected virtual void ProcessNewObject(
   IInstructionStream newObj,
   ref IInstructionStream start,
   ILocalVariableTable locals,
   IList previousNewObjs,
   IList previousNewDups
);

Parameters

newObj
The instruction stream containing a new object instruction.
start
The starting point of the stream. This will be altered if the start of the stream is changed.
locals
The local variable table mapping.
previousNewObjs
The list of previously process newobj streams. The caller will add newObj to the list.
previousNewDups
The list of previously inserted new/dup streams. This method should add to this for each new/dup generated.

Remarks

An implementation should override this if a different behavior is required.

See Also

MethodTranslator Class | JaCIL.Compiler.Standard.Translator Namespace