[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: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73022}
This commit is contained in:
Igor Sheludko 2021-02-24 18:59:40 +01:00 committed by Commit Bot
parent b2228102b0
commit 110ec5d2ea

View File

@ -1493,7 +1493,7 @@ void BaselineCompiler::VisitTestIn() {
CallBuiltin(Builtins::kKeyedHasICBaseline,
kInterpreterAccumulatorRegister, // object
RegisterOperand(0), // name
IndexAsSmi(1)); // slot
IndexAsTagged(1)); // slot
}
void BaselineCompiler::VisitTestUndetectable() {