Commit 46887d2b authored by Victor Gomes's avatar Victor Gomes Committed by V8 LUCI CQ

[cleanup] Refactor MaglevFrame::Iterate from IterateCompiledFrame

We visit the pointers in the same order as the ASCII diagram.

Bug: v8:7700
Change-Id: Ia11f49cb84b1d5abf4723aa5604c4a302f4ea79d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3789513Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82020}
parent 4fd2314e
This diff is collapsed.
......@@ -22,6 +22,8 @@
// - InterpretedFrame
// - BaselineFrame
// - OptimizedFrame
// - MaglevFrame
// - TurboFanFrame
// - TypedFrameWithJSLinkage
// - BuiltinFrame
// - JavaScriptBuiltinContinuationFrame
......@@ -937,6 +939,8 @@ class MaglevFrame : public OptimizedFrame {
return static_cast<MaglevFrame*>(frame);
}
void Iterate(RootVisitor* v) const override;
protected:
inline explicit MaglevFrame(StackFrameIteratorBase* iterator);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment