V8 Project
|
#include <operator.h>
Public Member Functions | |
SimpleOperator (Opcode opcode, Properties properties, int input_count, int output_count, const char *mnemonic) | |
~SimpleOperator () | |
virtual bool | Equals (const Operator *that) const FINAL |
virtual int | HashCode () const FINAL |
virtual int | InputCount () const FINAL |
virtual int | OutputCount () const FINAL |
![]() | |
Operator (Opcode opcode, Properties properties, const char *mnemonic) | |
virtual | ~Operator () |
Opcode | opcode () const |
const char * | mnemonic () const |
bool | HasProperty (Property property) const |
Properties | properties () const |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Private Member Functions | |
virtual OStream & | PrintTo (OStream &os) const FINAL |
DISALLOW_COPY_AND_ASSIGN (SimpleOperator) | |
Private Attributes | |
int | input_count_ |
int | output_count_ |
Additional Inherited Members | |
![]() | |
enum | Property { kNoProperties = 0 , kReducible = 1 << 0 , kCommutative = 1 << 1 , kAssociative = 1 << 2 , kIdempotent = 1 << 3 , kNoRead = 1 << 4 , kNoWrite = 1 << 5 , kNoThrow = 1 << 6 , kFoldable = kNoRead | kNoWrite , kEliminatable = kNoWrite | kNoThrow , kPure = kNoRead | kNoWrite | kNoThrow | kIdempotent } |
typedef uint8_t | Opcode |
typedef base::Flags< Property, uint8_t > | Properties |
Definition at line 108 of file operator.h.
v8::internal::compiler::SimpleOperator::SimpleOperator | ( | Opcode | opcode, |
Properties | properties, | ||
int | input_count, | ||
int | output_count, | ||
const char * | mnemonic | ||
) |
Definition at line 14 of file operator.cc.
v8::internal::compiler::SimpleOperator::~SimpleOperator | ( | ) |
Definition at line 22 of file operator.cc.
|
private |
|
inlinevirtual |
Implements v8::internal::compiler::Operator.
Definition at line 114 of file operator.h.
References v8::internal::compiler::Operator::opcode().
|
inlinevirtual |
Implements v8::internal::compiler::Operator.
Definition at line 117 of file operator.h.
References v8::internal::compiler::Operator::opcode().
|
inlinevirtual |
Implements v8::internal::compiler::Operator.
Definition at line 118 of file operator.h.
References input_count_.
|
inlinevirtual |
Implements v8::internal::compiler::Operator.
Definition at line 119 of file operator.h.
References output_count_.
|
inlineprivatevirtual |
Implements v8::internal::compiler::Operator.
Definition at line 122 of file operator.h.
References v8::internal::compiler::Operator::mnemonic().
|
private |
Definition at line 126 of file operator.h.
Referenced by InputCount().
|
private |
Definition at line 127 of file operator.h.
Referenced by OutputCount().