Commit c1e3a5db authored by Manos Koukoutos's avatar Manos Koukoutos Committed by V8 LUCI CQ

[wasm-gc] Fix a bug in CallRefIC

Bug: v8:7748

Change-Id: I7884b548276372e5dfa130fbe39d29f3cca4f530
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3310882Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78205}
parent 56f5d5c2
......@@ -513,7 +513,7 @@ builtin CallRefIC(
if (entries.objects[i] == funcref) {
// Polymorphic hit.
const count = UnsafeCast<Smi>(entries.objects[i + 1]) + SmiConstant(1);
vector.objects[i + 1] = count;
entries.objects[i + 1] = count;
return GetTargetAndInstance(funcref);
}
}
......
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