V8 Project
|
#include <ast.h>
Public Types | |
enum | Context { kUninitialized , kEffect , kValue , kTest } |
![]() | |
enum | NodeType { kInvalid = -1 } |
Protected Member Functions | |
Expression (Zone *zone, int pos, IdGen *id_gen) | |
void | set_to_boolean_types (byte types) |
Private Attributes | |
Bounds | bounds_ |
byte | to_boolean_types_ |
unsigned | parenthesization_level_ |
const BailoutId | id_ |
const TypeFeedbackId | test_id_ |
Additional Inherited Members | |
![]() | |
static TypeFeedbackId | reuse (BailoutId id) |
Definition at line 383 of file ast.h.
|
inline |
Definition at line 353 of file ast.h.
References bounds_.
Referenced by v8::internal::AstTyper::NarrowLowerType(), v8::internal::AstTyper::NarrowType(), and set_bounds().
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 366 of file ast.h.
References NULL, and UNREACHABLE.
Referenced by v8::internal::ComputeReceiverTypes().
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 370 of file ast.h.
References v8::internal::STANDARD_STORE, and UNREACHABLE.
Referenced by v8::internal::HOptimizedGraphBuilder::HandleKeyedElementAccess().
|
inline |
Definition at line 379 of file ast.h.
References id_.
Referenced by v8::internal::HOptimizedGraphBuilder::BuildArrayCall(), and v8::internal::FullCodeGenerator::PrepareForBailout().
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 362 of file ast.h.
References UNREACHABLE.
Referenced by v8::internal::ComputeReceiverTypes().
bool v8::internal::Expression::IsNullLiteral | ( | ) | const |
Definition at line 46 of file ast.cc.
Referenced by v8::internal::MatchLiteralCompareNull().
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 334 of file ast.h.
Referenced by v8::internal::HOptimizedGraphBuilder::HandleKeyedElementAccess(), and v8::internal::ParserTraits::PushPropertyName().
bool v8::internal::Expression::IsSmiLiteral | ( | ) | const |
bool v8::internal::Expression::IsStringLiteral | ( | ) | const |
Definition at line 41 of file ast.cc.
Referenced by v8::internal::MatchLiteralCompareTypeof().
Definition at line 51 of file ast.cc.
References v8::internal::Variable::location(), NULL, and v8::internal::Variable::UNALLOCATED.
Referenced by v8::internal::MatchLiteralCompareUndefined().
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 325 of file ast.h.
Referenced by v8::internal::compiler::DetermineLhsKind(), and v8::internal::compiler::AstGraphBuilder::VisitForInAssignment().
|
inline |
Definition at line 357 of file ast.h.
References parenthesization_level_.
Referenced by v8::internal::CheckAndDeclareArrowParameter().
|
virtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 562 of file ast.cc.
References test_id(), to_boolean_types_, and v8::internal::TypeFeedbackOracle::ToBooleanTypes().
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 338 of file ast.h.
Referenced by v8::internal::FullCodeGenerator::VisitArithmeticExpression().
|
inline |
Definition at line 354 of file ast.h.
References bounds(), and bounds_.
Referenced by v8::internal::AstTyper::NarrowLowerType(), and v8::internal::AstTyper::NarrowType().
|
inlineprotected |
|
inline |
Definition at line 380 of file ast.h.
References test_id_.
Referenced by RecordToBooleanTypeFeedback().
|
inline |
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
|
private |
Definition at line 392 of file ast.h.
Referenced by bounds(), and set_bounds().
|
private |
|
private |
Definition at line 394 of file ast.h.
Referenced by increase_parenthesization_level(), is_parenthesized(), and parenthesization_level().
|
private |
|
private |
Definition at line 393 of file ast.h.
Referenced by RecordToBooleanTypeFeedback(), set_to_boolean_types(), and to_boolean_types().