v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include "v8.h"
#include "allocation.h"
#include "code-stubs.h"
#include "data-flow.h"
#include "small-pointer-list.h"
#include "string-stream.h"
#include "v8conversions.h"
#include "v8utils.h"
#include "zone.h"
Go to the source code of this file.
Namespaces | |
v8 | |
v8::internal | |
Macros | |
#define | HYDROGEN_ABSTRACT_INSTRUCTION_LIST(V) |
#define | HYDROGEN_CONCRETE_INSTRUCTION_LIST(V) |
#define | GVN_TRACKED_FLAG_LIST(V) V(NewSpacePromotion) |
#define | GVN_UNTRACKED_FLAG_LIST(V) |
#define | DECLARE_ABSTRACT_INSTRUCTION(type) |
#define | DECLARE_CONCRETE_INSTRUCTION(type) |
#define | ASSERT_ALLOCATION_DISABLED do {} while (0) |
#define | DECLARE_FLAG(type) kChanges##type, kDependsOn##type, |
#define | COUNT_FLAG(type) + 1 |
#define | DECLARE_OPCODE(type) k##type, |
#define | DECLARE_PREDICATE(type) bool Is##type() const { return opcode() == k##type; } |
#define | DECLARE_PREDICATE(type) virtual bool Is##type() const { return false; } |
#define | ADD_FLAG(type) result.Add(kDependsOn##type); |
#define | ADD_FLAG(type) result.Add(kChanges##type); |
Typedefs | |
typedef EnumSet< GVNFlag > | GVNFlagSet |
Enumerations | |
enum | GVNFlag { kAfterLastFlag, kLastFlag = kAfterLastFlag - 1, kNumberOfTrackedSideEffects = 0 GVN_TRACKED_FLAG_LIST(COUNT_FLAG) } |
enum | InliningKind { NORMAL_RETURN, DROP_EXTRA_ON_RETURN, CONSTRUCT_CALL_RETURN, GETTER_CALL_RETURN, SETTER_CALL_RETURN } |
enum | BoundsCheckKeyMode { DONT_ALLOW_SMI_KEY, ALLOW_SMI_KEY } |
enum | HoleCheckMode { PERFORM_HOLE_CHECK, OMIT_HOLE_CHECK } |
Functions | |
bool | StoringValueNeedsWriteBarrier (HValue *value) |
bool | ReceiverObjectNeedsWriteBarrier (HValue *object, HValue *new_space_dominator) |
#define ADD_FLAG | ( | type | ) | result.Add(kDependsOn##type); |
Referenced by HValue::AllChangesFlagSet(), and HValue::AllDependsOnFlagSet().
#define ADD_FLAG | ( | type | ) | result.Add(kChanges##type); |
#define ASSERT_ALLOCATION_DISABLED do {} while (0) |
Definition at line 237 of file hydrogen-instructions.h.
Referenced by HCheckPrototypeMaps::Hashcode(), HConstant::Hashcode(), and HLoadGlobalCell::Hashcode().
#define COUNT_FLAG | ( | type | ) | + 1 |
Definition at line 537 of file hydrogen-instructions.h.
#define DECLARE_ABSTRACT_INSTRUCTION | ( | type | ) |
Definition at line 213 of file hydrogen-instructions.h.
#define DECLARE_CONCRETE_INSTRUCTION | ( | type | ) |
Definition at line 221 of file hydrogen-instructions.h.
#define DECLARE_FLAG | ( | type | ) | kChanges##type, kDependsOn##type, |
Definition at line 531 of file hydrogen-instructions.h.
Referenced by v8::internal::GetGVNFlagsString().
#define DECLARE_OPCODE | ( | type | ) | k##type, |
Definition at line 595 of file hydrogen-instructions.h.
#define DECLARE_PREDICATE | ( | type | ) | bool Is##type() const { return opcode() == k##type; } |
Definition at line 610 of file hydrogen-instructions.h.
#define DECLARE_PREDICATE | ( | type | ) | virtual bool Is##type() const { return false; } |
Definition at line 610 of file hydrogen-instructions.h.
#define GVN_TRACKED_FLAG_LIST | ( | V | ) | V(NewSpacePromotion) |
Definition at line 195 of file hydrogen-instructions.h.
Referenced by HValue::AllChangesFlagSet(), HValue::AllDependsOnFlagSet(), v8::internal::GetGVNFlagsString(), and HValue::PrintChangesTo().
#define GVN_UNTRACKED_FLAG_LIST | ( | V | ) |
Definition at line 198 of file hydrogen-instructions.h.
Referenced by HValue::AllChangesFlagSet(), HValue::AllDependsOnFlagSet(), v8::internal::GetGVNFlagsString(), and HValue::PrintChangesTo().
#define HYDROGEN_ABSTRACT_INSTRUCTION_LIST | ( | V | ) |
Definition at line 55 of file hydrogen-instructions.h.
#define HYDROGEN_CONCRETE_INSTRUCTION_LIST | ( | V | ) |
Definition at line 62 of file hydrogen-instructions.h.
Referenced by HValue::Mnemonic().