V8 Project
v8::internal::compiler::anonymous_namespace{common-operator-unittest.cc} Namespace Reference

Classes

struct  SharedOperator
 
class  CommonSharedOperatorTest
 
class  CommonOperatorTest
 

Functions

std::ostream & operator<< (std::ostream &os, const SharedOperator &fop)
 

Variables

const SharedOperator kSharedOperators []
 
const int kArguments [] = {1, 5, 6, 42, 100, 10000, kMaxInt}
 
const float kFloat32Values []
 

Function Documentation

◆ operator<<()

std::ostream& v8::internal::compiler::anonymous_namespace{common-operator-unittest.cc}::operator<< ( std::ostream &  os,
const SharedOperator fop 
)

Definition at line 35 of file common-operator-unittest.cc.

35  {
36  return os << IrOpcode::Mnemonic(fop.opcode);
37 }

References v8::internal::compiler::IrOpcode::Mnemonic(), and v8::internal::compiler::anonymous_namespace{common-operator-unittest.cc}::SharedOperator::opcode.

+ Here is the call graph for this function:

Variable Documentation

◆ kArguments

const int v8::internal::compiler::anonymous_namespace{common-operator-unittest.cc}::kArguments[] = {1, 5, 6, 42, 100, 10000, kMaxInt}

Definition at line 135 of file common-operator-unittest.cc.

Referenced by v8::internal::compiler::TEST_F().

◆ kFloat32Values

const float v8::internal::compiler::anonymous_namespace{common-operator-unittest.cc}::kFloat32Values[]
Initial value:
= {
std::numeric_limits<float>::min(), -1.0f, -0.0f, 0.0f, 1.0f,
std::numeric_limits<float>::max()}
static int min(int a, int b)
Definition: liveedit.cc:273

Definition at line 137 of file common-operator-unittest.cc.

Referenced by v8::internal::compiler::TEST_F().

◆ kSharedOperators

const SharedOperator v8::internal::compiler::anonymous_namespace{common-operator-unittest.cc}::kSharedOperators[]
Initial value:
= {
#define SHARED(Name, properties, value_input_count, effect_input_count, control_input_count, effect_output_count, control_output_count)
SHARED(Dead, Operator::kFoldable, 0, 0, 0, 0, 1),
SHARED(End, Operator::kFoldable, 0, 0, 1, 0, 0),
SHARED(Branch, Operator::kFoldable, 1, 0, 1, 0, 2),
SHARED(IfTrue, Operator::kFoldable, 0, 0, 1, 0, 1),
SHARED(IfFalse, Operator::kFoldable, 0, 0, 1, 0, 1),
SHARED(Throw, Operator::kFoldable, 1, 0, 1, 0, 1),
SHARED(Return, Operator::kNoProperties, 1, 1, 1, 1, 1),
}
#define SHARED(Name, properties, value_input_count, effect_input_count, control_input_count, effect_output_count, control_output_count)
static Handle< Value > Throw(Isolate *isolate, const char *message)
Definition: d8.cc:72

Definition at line 40 of file common-operator-unittest.cc.