BinaryInstruction Abstract Class

Definition

Line 433 of cmsxi/Instruction.cm

Inheritance

Constructors & Destructor

public nothrow BinaryInstruction(int line_, Operator binOp_)

Member Functions

public override nothrow void BeginComputeLivenessAndNextUse()
public override nothrow void EndComputeLivenessAndNextUse()
public override void GenerateCode(MachineCode& machineCode, CodeFormatter& formatter)
public override void Print(CodeFormatter& formatter)
public nothrow void SetOperands(Value* left_, Value* right_)
public override void Validate(Function& function, int numArgs)
public void ValidateTypes()

Member Variables

public Operator binOp
public Value* left
public Value* right

Constructor& Destructor Details

BinaryInstruction Constructor

public nothrow BinaryInstruction(int line_, Operator binOp_)

Definition
Line 435 of cmsxi/Instruction.cm


Member Function Details

BeginComputeLivenessAndNextUse Member Function

public override nothrow void BeginComputeLivenessAndNextUse()

Definition
Line 471 of cmsxi/Instruction.cm


EndComputeLivenessAndNextUse Member Function

public override nothrow void EndComputeLivenessAndNextUse()

Definition
Line 485 of cmsxi/Instruction.cm


GenerateCode Member Function

public override void GenerateCode(MachineCode& machineCode, CodeFormatter& formatter)

Definition
Line 491 of cmsxi/Instruction.cm


Print Member Function

public override void Print(CodeFormatter& formatter)

Definition
Line 466 of cmsxi/Instruction.cm


SetOperands Member Function

public nothrow void SetOperands(Value* left_, Value* right_)

Definition
Line 438 of cmsxi/Instruction.cm


Validate Member Function

public override void Validate(Function& function, int numArgs)

Definition
Line 443 of cmsxi/Instruction.cm


ValidateTypes Member Function

public void ValidateTypes()

Definition
Line 459 of cmsxi/Instruction.cm