Lines Matching defs:frames

5 #include "src/execution/frames.h"
18 #include "src/execution/frames-inl.h"
72 // For CWasmEntry frames, the handler was registered by the last C++
138 // When we're done iterating over the stack frames, the handler
248 std::vector<FrameSummary> frames;
249 frame()->Summarize(&frames);
251 for (int i = static_cast<int>(frames.size()) - 1; i >= 0; i--) {
252 if (!IsValidJSFunction(*frames[i].AsJavaScript().function())) continue;
253 return frames[i];
258 if (is_wasm()) return frames.back();
444 // referred to full-codegen frames (now removed from the tree), and
445 // OPTIMIZED refers to turbofan frames, both of which are generated
446 // code. INTERPRETED frames refer to bytecode.
465 // Check that there are no js frames on top of the native frames.
544 // Some of the EXIT frames may have ExternalCallbackScope allocated on
546 // frame beneath it. There may be other EXIT frames on top of the
660 // interpreted frames.
668 // TODO(bmeurer): We treat frames for BUILTIN Code objects as
728 // Unoptimized and optimized JavaScript frames, including
729 // interpreted frames, should never have a StackFrame::Type
820 // Distinguish between between regular and builtin exit frames.
852 // For WASM_EXIT frames, {sp} is only needed for finding the PC slot,
874 void BuiltinExitFrame::Summarize(std::vector<FrameSummary>* frames) const {
875 DCHECK(frames->empty());
883 frames->push_back(summary);
1024 // This should only be called on frames which override this method.
1030 // possibly find pointers in optimized frames in that state.
1263 // frames) and the function (in JS frames). If it has WebAssembly ABI, visit
1266 // JavaScript ABI frames also contain arguments count value which is stored
1699 std::vector<FrameSummary> frames;
1700 frame->Summarize(&frames);
1701 DCHECK_LT(0, frames.size());
1702 return frames.back();
1710 std::vector<FrameSummary> frames;
1711 frame->Summarize(&frames);
1712 DCHECK_EQ(1, frames.size());
1713 return frames.front();
1718 std::vector<FrameSummary> frames;
1719 frame->Summarize(&frames);
1720 DCHECK_GT(frames.size(), index);
1721 return frames[index];
1756 void OptimizedFrame::Summarize(std::vector<FrameSummary>* frames) const {
1757 DCHECK(frames->empty());
1764 return JavaScriptFrame::Summarize(frames);
1780 // We create the summary in reverse order because the frames
1827 frames->push_back(summary);
1910 // We insert the frames in reverse order because the frames
2424 // Internal frames typically do not receive any arguments, hence their stack