Home | History | Annotate | Download | only in src

Lines Matching full:state

114   // Compute the state of the calling frame before restoring
116 // frame code that computes the caller state to access the top
118 StackFrame::State state;
119 StackFrame::Type type = frame_->GetCallerState(&state);
127 frame_ = SingletonFor(type, &state);
138 StackFrame::State state;
139 StackFrame::Type type = frame_->GetCallerState(&state);
140 frame_ = SingletonFor(type, &state);
145 StackFrame::State state;
149 Isolate::c_entry_fp(thread_), &state);
154 state.fp = fp_;
155 state.sp = sp_;
156 state.pc_address =
158 type = StackFrame::ComputeType(isolate(), &state);
161 frame_ = SingletonFor(type, &state);
166 StackFrame::State* state) {
170 result->state_ = *state;
229 StackFrame::State state;
230 ExitFrame::FillState(fp, sp, &state);
231 if (!validator_.IsValid(reinterpret_cast<Address>(state.pc_address))) {
234 return *state.pc_address != NULL;
313 StackFrame::State state;
332 frame->ComputeCallerState(&state);
333 return IsValidStackAddress(state.sp) && IsValidStackAddress(state.fp) &&
334 iterator_.SingletonFor(frame->GetCallerState(&state)) != NULL;
412 StackFrame::Type StackFrame::ComputeType(Isolate* isolate, State* state) {
413 ASSERT(state->fp != NULL);
414 if (StandardFrame::IsArgumentsAdaptorFrame(state->fp)) {
421 Object* marker = Memory::Object_at(state->fp + offset);
425 // into the heap to determine the state. This is safe as long
428 Code::Kind kind = GetContainingCode(isolate, *(state->pc_address))->kind();
437 StackFrame::Type StackFrame::GetCallerState(State* state) const {
438 ComputeCallerState(state);
439 return ComputeType(isolate(), state);
448 void EntryFrame::ComputeCallerState(State* state) const {
449 GetCallerState(state);
459 StackFrame::Type EntryFrame::GetCallerState(State* state) const {
462 return ExitFrame::GetStateForFramePointer(fp, state);
482 void ExitFrame::ComputeCallerState(State* state) const {
483 // Setup the caller state.
484 state->sp = caller_sp();
485 state->fp = Memory::Address_at(fp() + ExitFrameConstants::kCallerFPOffset);
486 state->pc_address
509 StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) {
512 FillState(fp, sp, state);
513 ASSERT(*state->pc_address != NULL);
518 void ExitFrame::FillState(Address fp, Address sp, State* state) {
519 state->sp = sp;
520 state->fp = fp;
521 state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize);
542 void StandardFrame::ComputeCallerState(State* state) const {
543 state->sp = caller_sp();
544 state->fp = caller_fp();
545 state->pc_address = reinterpret_cast<Address*>(ComputePCAddress(fp()));
572 // possibly find pointers in optimized frames in that state.