Commit 9ad39743 authored by Leszek Swirski's avatar Leszek Swirski Committed by V8 LUCI CQ

[maglev] Fix VisitLdaImmutableContextSlot

It should delegate to VisitLdaContextSlot.

Bug: v8:7700
Change-Id: I1591594648cfb038abccabb46a20c1b0c23b07a6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3602512
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80117}
parent 97e86869
...@@ -311,7 +311,7 @@ void MaglevGraphBuilder::VisitLdaContextSlot() { ...@@ -311,7 +311,7 @@ void MaglevGraphBuilder::VisitLdaContextSlot() {
} }
void MaglevGraphBuilder::VisitLdaImmutableContextSlot() { void MaglevGraphBuilder::VisitLdaImmutableContextSlot() {
// TODO(leszeks): Consider context specialising. // TODO(leszeks): Consider context specialising.
VisitLdaCurrentContextSlot(); VisitLdaContextSlot();
} }
void MaglevGraphBuilder::VisitLdaCurrentContextSlot() { void MaglevGraphBuilder::VisitLdaCurrentContextSlot() {
ValueNode* context = GetContext(); ValueNode* context = GetContext();
......
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