VM_MethodArea

VM_MethodArea

This class manages shared memory and overall executed instructions

Constructor

new VM_MethodArea()

Source:

Methods

analyzeBlocks(pMethod)

Source:

To perform forward and backward analysis. It allows to identify IF statement, GOTO, and more

Parameters:
Name Type Description
pMethod Method

getInstructions(pMethod) → {Array.<Object>}

Source:
Deprecated:
  • Yes

To get optimized instructions

Parameters:
Name Type Description
pMethod Method

The method containing requested instructions

Returns:

An array of anonymous object containg Instruction object or BasicBlock metadata

Type
Array.<Object>

initMethod(pMethod)

Source:
Parameters:
Name Type Description
pMethod Method

The method to init