[turbofan] Add WasmObject to the DetectableReceiver type
Otherwise monotonicity of ToObject is violated, as a WasmObject is currently a Receiver but *not* a DetectableReceiver. Bug: v8:12185 Change-Id: I04ac78f7635ed54cf7d433231455fc207aa10109 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4150087 Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Auto-Submit: Shu-yu Guo <syg@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/main@{#85265}
This commit is contained in:
parent
ae2e2a5fe0
commit
6491416033
@ -205,7 +205,7 @@ namespace compiler {
|
||||
V(NonCallableOrNull, kNonCallable | kNull) \
|
||||
V(DetectableObject, kArray | kFunction | kBoundFunction | \
|
||||
kOtherCallable | kOtherObject) \
|
||||
V(DetectableReceiver, kDetectableObject | kProxy) \
|
||||
V(DetectableReceiver, kDetectableObject | kProxy | kWasmObject) \
|
||||
V(DetectableReceiverOrNull, kDetectableReceiver | kNull) \
|
||||
V(Object, kDetectableObject | kOtherUndetectable) \
|
||||
V(Receiver, kObject | kProxy | kWasmObject) \
|
||||
|
Loading…
Reference in New Issue
Block a user