[wasm-gc] Fix a bug in CallRefIC
Bug: v8:7748 Change-Id: I7884b548276372e5dfa130fbe39d29f3cca4f530 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3310882 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#78205}
This commit is contained in:
parent
56f5d5c23c
commit
c1e3a5dba2
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user