v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Protected Member Functions | |
Assignment (Isolate *isolate, Token::Value op, Expression *target, Expression *value, int pos) | |
template<class Visitor > | |
void | Init (Isolate *isolate, AstNodeFactory< Visitor > *factory) |
Protected Member Functions inherited from Expression | |
Expression (Isolate *isolate) | |
Additional Inherited Members | |
Public Types inherited from Expression | |
enum | Context { kUninitialized, kEffect, kValue, kTest } |
Public Types inherited from AstNode | |
enum | Type { kInvalid = -1 } |
Static Protected Member Functions inherited from AstNode | |
static int | GetNextId (Isolate *isolate) |
static int | ReserveIdRange (Isolate *isolate, int n) |
static TypeFeedbackId | reuse (BailoutId id) |
|
protected |
|
inline |
Definition at line 1876 of file ast.h.
References AstNode::reuse().
Referenced by TypeFeedbackOracle::StoreReceiverTypes().
|
inline |
Definition at line 1860 of file ast.h.
References v8::internal::NULL.
Token::Value binary_op | ( | ) | const |
Definition at line 132 of file ast.cc.
References v8::internal::ADD, v8::internal::DIV, v8::internal::MUL, v8::internal::SUB, and UNREACHABLE.
|
inline |
|
inlinevirtual |
Reimplemented from Expression.
|
inlineprotected |
Definition at line 1889 of file ast.h.
References ASSERT, and Token::IsAssignmentOp().
Referenced by BASE_EMBEDDED< Visitor >::NewAssignment().
|
inlinevirtual |
Reimplemented from Expression.
|
inline |
|
inlinevirtual |
Reimplemented from Expression.
void RecordTypeFeedback | ( | TypeFeedbackOracle * | oracle, |
Zone * | zone | ||
) |
Definition at line 439 of file ast.cc.
References ASSERT, Handle< T >::cast(), TypeFeedbackOracle::CollectKeyedReceiverTypes(), Literal::handle(), Expression::IsPropertyName(), Property::key(), v8::internal::kMaxKeyedPolymorphism, v8::internal::NULL, TypeFeedbackOracle::StoreIsMegamorphicWithTypeInfo(), TypeFeedbackOracle::StoreIsMonomorphicNormal(), TypeFeedbackOracle::StoreMonomorphicReceiverType(), and TypeFeedbackOracle::StoreReceiverTypes().
|
inline |
|
inline |