Lines Matching refs:StackFrame
27 ReturnAddressLocationResolver StackFrame::return_address_location_resolver_ =
34 StackHandlerIterator(const StackFrame* frame, StackHandler* handler) in StackHandlerIterator()
80 StackFrame::State state; in Advance()
81 StackFrame::Type type = frame_->GetCallerState(&state); in Advance()
98 StackFrame::State state; in Reset()
99 StackFrame::Type type = ExitFrame::GetStateForFramePointer( in Reset()
106 StackFrame* StackFrameIteratorBase::SingletonFor(StackFrame::Type type, in SingletonFor()
107 StackFrame::State* state) { in SingletonFor()
108 StackFrame* result = SingletonFor(type); in SingletonFor()
109 DCHECK((!result) == (type == StackFrame::NONE)); in SingletonFor()
115 StackFrame* StackFrameIteratorBase::SingletonFor(StackFrame::Type type) { in SingletonFor()
117 case StackFrame::type: \ in SingletonFor()
121 case StackFrame::NONE: in SingletonFor()
147 StackFrame::Id id) in StackTraceFrameIterator()
158 bool StackTraceFrameIterator::IsValidFrame(StackFrame* frame) const { in IsValidFrame()
173 StackFrame::State* state) { in IsInterpreterFramePc()
194 if (StackFrame::IsTypeMarker(marker) || maybe_function->IsSmi()) { in IsInterpreterFramePc()
219 top_frame_type_(StackFrame::NONE), in SafeStackFrameIterator()
221 StackFrame::State state; in SafeStackFrameIterator()
222 StackFrame::Type type; in SafeStackFrameIterator()
232 state.pc_address = StackFrame::ResolveReturnAddressLocation( in SafeStackFrameIterator()
255 type = StackFrame::ComputeType(this, &state); in SafeStackFrameIterator()
258 if (type != StackFrame::INTERPRETED) { in SafeStackFrameIterator()
269 type = StackFrame::OPTIMIZED; in SafeStackFrameIterator()
271 top_frame_type_ = StackFrame::NONE; in SafeStackFrameIterator()
294 StackFrame* last_frame = frame_; in AdvanceOneFrame()
303 StackFrame::State state; in AdvanceOneFrame()
304 StackFrame::Type type = frame_->GetCallerState(&state); in AdvanceOneFrame()
315 bool SafeStackFrameIterator::IsValidFrame(StackFrame* frame) const { in IsValidFrame()
320 bool SafeStackFrameIterator::IsValidCaller(StackFrame* frame) { in IsValidCaller()
321 StackFrame::State state; in IsValidCaller()
349 StackFrame::State state; in IsValidExitFrame()
396 Code* StackFrame::LookupCode() const { in LookupCode()
403 void StackFrame::IteratePc(RootVisitor* v, Address* pc_address, in IteratePc()
420 void StackFrame::SetReturnAddressLocationResolver( in SetReturnAddressLocationResolver()
426 StackFrame::Type StackFrame::ComputeType(const StackFrameIteratorBase* iterator, in ComputeType()
445 if (!StackFrame::IsTypeMarker(marker)) { in ComputeType()
482 if (StackFrame::IsTypeMarker(marker)) break; in ComputeType()
515 DCHECK(StackFrame::IsTypeMarker(marker)); in ComputeType()
516 StackFrame::Type candidate = StackFrame::MarkerToType(marker); in ComputeType()
546 bool StackFrame::can_access_heap_objects() const { in can_access_heap_objects()
552 StackFrame::Type StackFrame::GetCallerState(State* state) const { in GetCallerState()
558 Address StackFrame::UnpaddedFP() const { in UnpaddedFP()
581 StackFrame::Type EntryFrame::GetCallerState(State* state) const { in GetCallerState()
629 StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) { in GetStateForFramePointer()
638 StackFrame::Type ExitFrame::ComputeFrameType(Address fp) { in ComputeFrameType()
650 StackFrame::Type frame_type = static_cast<StackFrame::Type>(marker_int >> 1); in ComputeFrameType()
704 void PrintIndex(StringStream* accumulator, StackFrame::PrintMode mode, in PrintIndex()
706 accumulator->Add((mode == StackFrame::OVERVIEW) ? "%5d: " : "[%d]: ", index); in PrintIndex()
709 const char* StringForStackFrameType(StackFrame::Type type) { in StringForStackFrameType()
712 case StackFrame::value: \ in StringForStackFrameType()
722 void StackFrame::Print(StringStream* accumulator, PrintMode mode, in Print()
859 if (StackFrame::IsTypeMarker(marker)) { in IterateCompiledFrame()
860 StackFrame::Type candidate = StackFrame::MarkerToType(marker); in IterateCompiledFrame()