v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Protected Member Functions | |
CompareOperation (Isolate *isolate, Token::Value op, Expression *left, Expression *right, int pos) | |
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) |
|
inlineprotected |
Definition at line 1790 of file ast.h.
References ASSERT, and Token::IsCompareOp().
|
inline |
Definition at line 1779 of file ast.h.
References AstNode::reuse().
Referenced by TypeFeedbackOracle::CompareType(), TypeFeedbackOracle::GetCompareMap(), and TypeFeedbackOracle::IsSymbolCompare().
bool IsLiteralCompareNull | ( | Expression ** | expr | ) |
bool IsLiteralCompareTypeof | ( | Expression ** | expr, |
Handle< String > * | check | ||
) |
bool IsLiteralCompareUndefined | ( | Expression ** | expr | ) |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from Expression.
void RecordTypeFeedback | ( | TypeFeedbackOracle * | oracle | ) |
Definition at line 607 of file ast.cc.
References ASSERT, TypeFeedbackOracle::CompareType(), TypeInfo::IsNonPrimitive(), TypeInfo::IsSmi(), and NONE.
|
inline |