|
V8 Project
|
#include <ast.h>
Inheritance diagram for v8::internal::Expression:
Collaboration diagram for v8::internal::Expression:Public Types | |
| enum | Context { kUninitialized , kEffect , kValue , kTest } |
Public Types inherited from v8::internal::AstNode | |
| 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 Protected Member Functions inherited from v8::internal::AstNode | |
| 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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
inline |
Definition at line 379 of file ast.h.
References id_.
Referenced by v8::internal::HOptimizedGraphBuilder::BuildArrayCall(), and v8::internal::FullCodeGenerator::PrepareForBailout().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| bool v8::internal::Expression::IsNullLiteral | ( | ) | const |
Definition at line 46 of file ast.cc.
Referenced by v8::internal::MatchLiteralCompareNull().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:Definition at line 51 of file ast.cc.
References v8::internal::Variable::location(), NULL, and v8::internal::Variable::UNALLOCATED.
Referenced by v8::internal::MatchLiteralCompareUndefined().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
inline |
Definition at line 357 of file ast.h.
References parenthesization_level_.
Referenced by v8::internal::CheckAndDeclareArrowParameter().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 338 of file ast.h.
Referenced by v8::internal::FullCodeGenerator::VisitArithmeticExpression().
Here is the caller graph for this function:
|
inline |
Definition at line 354 of file ast.h.
References bounds(), and bounds_.
Referenced by v8::internal::AstTyper::NarrowLowerType(), and v8::internal::AstTyper::NarrowType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
|
inline |
Definition at line 380 of file ast.h.
References test_id_.
Referenced by RecordToBooleanTypeFeedback().
Here is the caller graph for this function:
|
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().