V8 Project
v8::internal::BranchOnCondition Class Reference
+ Inheritance diagram for v8::internal::BranchOnCondition:
+ Collaboration diagram for v8::internal::BranchOnCondition:

Public Member Functions

 BranchOnCondition (LCodeGen *codegen, Condition cond)
 
virtual void Emit (Label *label) const
 
virtual void EmitInverted (Label *label) const
 

Private Attributes

Condition cond_
 

Detailed Description

Definition at line 50 of file lithium-codegen-arm64.cc.

Constructor & Destructor Documentation

◆ BranchOnCondition()

v8::internal::BranchOnCondition::BranchOnCondition ( LCodeGen codegen,
Condition  cond 
)
inline

Definition at line 52 of file lithium-codegen-arm64.cc.

Member Function Documentation

◆ Emit()

virtual void v8::internal::BranchOnCondition::Emit ( Label *  label) const
inlinevirtual

Definition at line 56 of file lithium-codegen-arm64.cc.

56  {
57  __ B(cond_, label);
58  }
#define __

References __, v8::internal::B, and cond_.

◆ EmitInverted()

virtual void v8::internal::BranchOnCondition::EmitInverted ( Label *  label) const
inlinevirtual

Definition at line 60 of file lithium-codegen-arm64.cc.

60  {
61  if (cond_ != al) {
62  __ B(NegateCondition(cond_), label);
63  }
64  }
Condition NegateCondition(Condition cond)
Definition: constants-arm.h:86

References __, v8::internal::al, v8::internal::B, cond_, and v8::internal::NegateCondition().

+ Here is the call graph for this function:

Member Data Documentation

◆ cond_

Condition v8::internal::BranchOnCondition::cond_
private

Definition at line 67 of file lithium-codegen-arm64.cc.

Referenced by Emit(), and EmitInverted().


The documentation for this class was generated from the following file: