v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <deoptimizer.h>
Public Member Functions | |
FrameDescription (uint32_t frame_size, JSFunction *function) | |
void * | operator new (size_t size, uint32_t frame_size) |
void | operator delete (void *pointer, uint32_t frame_size) |
void | operator delete (void *description) |
uint32_t | GetFrameSize () const |
JSFunction * | GetFunction () const |
unsigned | GetOffsetFromSlotIndex (int slot_index) |
intptr_t | GetFrameSlot (unsigned offset) |
double | GetDoubleFrameSlot (unsigned offset) |
void | SetFrameSlot (unsigned offset, intptr_t value) |
void | SetCallerPc (unsigned offset, intptr_t value) |
void | SetCallerFp (unsigned offset, intptr_t value) |
void | SetCallerConstantPool (unsigned offset, intptr_t value) |
intptr_t | GetRegister (unsigned n) const |
double | GetDoubleRegister (unsigned n) const |
void | SetRegister (unsigned n, intptr_t value) |
void | SetDoubleRegister (unsigned n, double value) |
intptr_t | GetTop () const |
void | SetTop (intptr_t top) |
intptr_t | GetPc () const |
void | SetPc (intptr_t pc) |
intptr_t | GetFp () const |
void | SetFp (intptr_t fp) |
intptr_t | GetContext () const |
void | SetContext (intptr_t context) |
intptr_t | GetConstantPool () const |
void | SetConstantPool (intptr_t constant_pool) |
Smi * | GetState () const |
void | SetState (Smi *state) |
void | SetContinuation (intptr_t pc) |
StackFrame::Type | GetFrameType () const |
void | SetFrameType (StackFrame::Type type) |
int | ComputeParametersCount () |
Object * | GetParameter (int index) |
unsigned | GetExpressionCount () |
Object * | GetExpression (int index) |
Static Public Member Functions | |
static int | registers_offset () |
static int | double_registers_offset () |
static int | frame_size_offset () |
static int | pc_offset () |
static int | state_offset () |
static int | continuation_offset () |
static int | frame_content_offset () |
Definition at line 466 of file deoptimizer.h.
FrameDescription | ( | uint32_t | frame_size, |
JSFunction * | function | ||
) |
Definition at line 2750 of file deoptimizer.cc.
References Register::kNumRegisters, v8::internal::kPointerSize, FrameDescription::SetFrameSlot(), and FrameDescription::SetRegister().
int ComputeParametersCount | ( | ) |
Definition at line 2795 of file deoptimizer.cc.
References v8::internal::ARGUMENTS_ADAPTOR, v8::internal::STUB, and UNREACHABLE.
Referenced by FrameDescription::GetOffsetFromSlotIndex(), and FrameDescription::GetParameter().
|
inlinestatic |
Definition at line 598 of file deoptimizer.h.
References OFFSET_OF.
|
inlinestatic |
Definition at line 582 of file deoptimizer.h.
References OFFSET_OF.
|
inlinestatic |
Definition at line 602 of file deoptimizer.h.
References OFFSET_OF.
|
inlinestatic |
Definition at line 586 of file deoptimizer.h.
References OFFSET_OF.
|
inline |
Definition at line 553 of file deoptimizer.h.
|
inline |
Definition at line 550 of file deoptimizer.h.
|
inline |
Definition at line 498 of file deoptimizer.h.
|
inline |
Definition at line 526 of file deoptimizer.h.
References ARRAY_SIZE, and ASSERT.
Object * GetExpression | ( | int | index | ) |
Definition at line 2829 of file deoptimizer.cc.
References ASSERT_EQ, and FrameDescription::GetOffsetFromSlotIndex().
unsigned GetExpressionCount | ( | ) |
Definition at line 2822 of file deoptimizer.cc.
References ASSERT_EQ, FrameDescription::GetFrameSize(), and v8::internal::kPointerSize.
|
inline |
Definition at line 547 of file deoptimizer.h.
|
inline |
Definition at line 485 of file deoptimizer.h.
References ASSERT.
Referenced by FrameDescription::GetExpressionCount(), and FrameDescription::GetOffsetFromSlotIndex().
|
inline |
Definition at line 494 of file deoptimizer.h.
|
inline |
Definition at line 563 of file deoptimizer.h.
Referenced by Deoptimizer::ConvertJSFrameIndexToFrameIndex().
|
inline |
Definition at line 490 of file deoptimizer.h.
unsigned GetOffsetFromSlotIndex | ( | int | slot_index | ) |
Definition at line 2780 of file deoptimizer.cc.
References FrameDescription::ComputeParametersCount(), and FrameDescription::GetFrameSize().
Referenced by FrameDescription::GetExpression(), and FrameDescription::GetParameter().
Object * GetParameter | ( | int | index | ) |
Definition at line 2813 of file deoptimizer.cc.
References ASSERT, FrameDescription::ComputeParametersCount(), and FrameDescription::GetOffsetFromSlotIndex().
|
inline |
Definition at line 544 of file deoptimizer.h.
|
inline |
Definition at line 513 of file deoptimizer.h.
References ARRAY_SIZE, and ASSERT.
|
inline |
Definition at line 558 of file deoptimizer.h.
|
inline |
Definition at line 541 of file deoptimizer.h.
|
inline |
Definition at line 477 of file deoptimizer.h.
|
inline |
Definition at line 481 of file deoptimizer.h.
|
inline |
Definition at line 471 of file deoptimizer.h.
References v8::internal::kPointerSize, and v8::internal::size.
|
inlinestatic |
Definition at line 590 of file deoptimizer.h.
References OFFSET_OF.
|
inlinestatic |
Definition at line 578 of file deoptimizer.h.
References OFFSET_OF.
void SetCallerConstantPool | ( | unsigned | offset, |
intptr_t | value | ||
) |
Definition at line 376 of file deoptimizer-arm.cc.
References ASSERT.
void SetCallerFp | ( | unsigned | offset, |
intptr_t | value | ||
) |
Definition at line 371 of file deoptimizer-arm.cc.
void SetCallerPc | ( | unsigned | offset, |
intptr_t | value | ||
) |
Definition at line 366 of file deoptimizer-arm.cc.
|
inline |
Definition at line 554 of file deoptimizer.h.
|
inline |
Definition at line 551 of file deoptimizer.h.
|
inline |
Definition at line 561 of file deoptimizer.h.
References v8::internal::pc.
|
inline |
Definition at line 536 of file deoptimizer.h.
References ARRAY_SIZE, and ASSERT.
|
inline |
Definition at line 548 of file deoptimizer.h.
References v8::internal::fp.
|
inline |
Definition at line 503 of file deoptimizer.h.
Referenced by FrameDescription::FrameDescription().
|
inline |
Definition at line 564 of file deoptimizer.h.
|
inline |
Definition at line 545 of file deoptimizer.h.
References v8::internal::pc.
|
inline |
Definition at line 531 of file deoptimizer.h.
References ARRAY_SIZE, and ASSERT.
Referenced by FrameDescription::FrameDescription().
|
inline |
Definition at line 559 of file deoptimizer.h.
|
inline |
Definition at line 542 of file deoptimizer.h.
|
inlinestatic |
Definition at line 594 of file deoptimizer.h.
References OFFSET_OF.