Constructor
new PairedInstruction(locationIndex, pairedLocationIndex)
Constructor for the paired instruction abstract class interface
Parameters:
| Name | Type | Description |
|---|---|---|
locationIndex |
Number | The location of the instruction within the unoptimised source code |
pairedLocationIndex |
Number | The location of the jump instruction within the unoptimised source code |
- Source:
- See:
Throws:
-
Abstract class PairedInstruction can't be instantiated
- Type
- Error
Methods
jumpLocation() → {Number}
Gets the jump location index of the paired instruction
- Source:
Returns:
- The jump location index
- Type
- Number