v8
3.11.10(node0.8.26)
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 | 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 | 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 COUNT_FLAG | ( | type | ) | + 1 |
Definition at line 522 of file hydrogen-instructions.h.
#define DECLARE_ABSTRACT_INSTRUCTION | ( | type | ) |
Definition at line 210 of file hydrogen-instructions.h.
#define DECLARE_CONCRETE_INSTRUCTION | ( | type | ) |
Definition at line 218 of file hydrogen-instructions.h.
#define DECLARE_FLAG | ( | type | ) | kChanges##type, kDependsOn##type, |
Definition at line 516 of file hydrogen-instructions.h.
Referenced by v8::internal::GetGVNFlagsString().
#define DECLARE_OPCODE | ( | type | ) | k##type, |
Definition at line 573 of file hydrogen-instructions.h.
#define DECLARE_PREDICATE | ( | type | ) | bool Is##type() const { return opcode() == k##type; } |
Definition at line 588 of file hydrogen-instructions.h.
#define DECLARE_PREDICATE | ( | type | ) | virtual bool Is##type() const { return false; } |
Definition at line 588 of file hydrogen-instructions.h.
#define GVN_TRACKED_FLAG_LIST | ( | V | ) | V(NewSpacePromotion) |
Definition at line 192 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 195 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 61 of file hydrogen-instructions.h.
Referenced by HValue::Mnemonic().