edu.uci.eecs.doc.cascade.graph
Class Invoke
java.lang.Object
edu.uci.eecs.doc.cascade.graph.Vertex
edu.uci.eecs.doc.cascade.graph.BasicBlock
edu.uci.eecs.doc.cascade.graph.Invoke
public class Invoke
- extends BasicBlock
A basic block representing an instruction invocation.
- Author:
- Trevor Harmon
Fields inherited from class edu.uci.eecs.doc.cascade.graph.Vertex |
graph |
Invoke
public Invoke(Graph graph,
Node node,
InstructionHandle invokeInstruction,
InvokeMiss invokeMissBlock)
- Creates a new Invoke object.
- Parameters:
graph
- the control flow graph to which this block belongsnode
- a control flow tree node that corresponds to the basic blockinvokeInstruction
- the bytecode instruction that this block represents
(invokeInstruction.getInstruction() must be of type InvokeInstruction)invokeMissBlock
- the block that control flows to if the invocation results in a cache miss
getInvokeInstruction
public InvokeInstruction getInvokeInstruction()
- Returns the bytecode instruction that this block represents.
- Returns:
- a handle to an invocation bytecode instruction
getInvokeMiss
public InvokeMiss getInvokeMiss()
- Returns the block that control flows to if the invocation results in a cache miss.
- Returns:
- an invoke miss block