Commit 110ec5d2 authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

[sparkplug] Pass slot as TaggedIndex to Builtin_KeyedHasICBaseline

... to match what the builtin expects.

Bug: v8:11499, v8:11429
Change-Id: I6e784f6c5109f8d92446e98b8abb7274d5a166a4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2718151
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Igor Sheludko <ishell@chromium.org>
Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73022}
parent b2228102
......@@ -1493,7 +1493,7 @@ void BaselineCompiler::VisitTestIn() {
CallBuiltin(Builtins::kKeyedHasICBaseline,
kInterpreterAccumulatorRegister, // object
RegisterOperand(0), // name
IndexAsSmi(1)); // slot
IndexAsTagged(1)); // slot
}
void BaselineCompiler::VisitTestUndetectable() {
......
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