V8 Project
|
#include <hydrogen-instructions.h>
Public Member Functions | |
HPositionInfo (int pos) | |
HSourcePosition | position () const |
void | set_position (HSourcePosition pos) |
void | ensure_storage_for_operand_positions (Zone *zone, int operand_count) |
HSourcePosition | operand_position (int idx) const |
void | set_operand_position (int idx, HSourcePosition pos) |
Private Member Functions | |
HSourcePosition * | operand_position_slot (int idx) const |
bool | has_operand_positions () const |
HSourcePosition * | operand_positions () const |
Static Private Member Functions | |
static bool | IsTaggedPosition (intptr_t val) |
static intptr_t | UntagPosition (intptr_t val) |
static intptr_t | TagPosition (intptr_t val) |
Private Attributes | |
intptr_t | data_ |
Static Private Attributes | |
static const intptr_t | kInstructionPosIndex = 0 |
static const intptr_t | kFirstOperandPosIndex = 1 |
static const intptr_t | kPositionTag = 1 |
static const intptr_t | kPositionShift = 1 |
Definition at line 1059 of file hydrogen-instructions.h.
|
inlineexplicit |
Definition at line 1061 of file hydrogen-instructions.h.
|
inline |
Definition at line 1078 of file hydrogen-instructions.h.
References data_, DCHECK, has_operand_positions(), kFirstOperandPosIndex, v8::internal::Zone::NewArray(), position(), set_position(), and v8::internal::HSourcePosition::Unknown().
Referenced by v8::internal::HInstruction::set_operand_position().
|
inlineprivate |
Definition at line 1117 of file hydrogen-instructions.h.
References data_, and IsTaggedPosition().
Referenced by ensure_storage_for_operand_positions(), operand_position(), operand_position_slot(), operand_positions(), position(), and set_position().
|
inlinestaticprivate |
Definition at line 1128 of file hydrogen-instructions.h.
References kPositionTag.
Referenced by has_operand_positions(), and UntagPosition().
|
inline |
Definition at line 1097 of file hydrogen-instructions.h.
References has_operand_positions(), operand_position_slot(), and position().
Referenced by v8::internal::HInstruction::operand_position().
|
inlineprivate |
Definition at line 1112 of file hydrogen-instructions.h.
References DCHECK, has_operand_positions(), kFirstOperandPosIndex, and operand_positions().
Referenced by operand_position(), and set_operand_position().
|
inlineprivate |
Definition at line 1121 of file hydrogen-instructions.h.
References data_, DCHECK, and has_operand_positions().
Referenced by operand_position_slot(), position(), and set_position().
|
inline |
Definition at line 1063 of file hydrogen-instructions.h.
References data_, has_operand_positions(), kInstructionPosIndex, operand_positions(), and UntagPosition().
Referenced by ensure_storage_for_operand_positions(), operand_position(), and v8::internal::HInstruction::position().
|
inline |
Definition at line 1104 of file hydrogen-instructions.h.
References operand_position_slot().
Referenced by v8::internal::HInstruction::set_operand_position().
|
inline |
Definition at line 1070 of file hydrogen-instructions.h.
References data_, has_operand_positions(), kInstructionPosIndex, operand_positions(), v8::internal::HSourcePosition::raw(), and TagPosition().
Referenced by ensure_storage_for_operand_positions(), and v8::internal::HInstruction::set_position().
|
inlinestaticprivate |
Definition at line 1135 of file hydrogen-instructions.h.
References DCHECK, kPositionShift, kPositionTag, and UntagPosition().
Referenced by set_position().
|
inlinestaticprivate |
Definition at line 1131 of file hydrogen-instructions.h.
References DCHECK, IsTaggedPosition(), and kPositionShift.
Referenced by position(), and TagPosition().
|
private |
Definition at line 1141 of file hydrogen-instructions.h.
Referenced by ensure_storage_for_operand_positions(), has_operand_positions(), operand_positions(), position(), and set_position().
|
staticprivate |
Definition at line 1110 of file hydrogen-instructions.h.
Referenced by ensure_storage_for_operand_positions(), and operand_position_slot().
|
staticprivate |
Definition at line 1109 of file hydrogen-instructions.h.
Referenced by position(), and set_position().
|
staticprivate |
Definition at line 1127 of file hydrogen-instructions.h.
Referenced by TagPosition(), and UntagPosition().
|
staticprivate |
Definition at line 1126 of file hydrogen-instructions.h.
Referenced by IsTaggedPosition(), and TagPosition().