[maglev] BitwiseNot has one input

Bug: v8:7700
Change-Id: Ieecdd66e7e540ad27aaa05cf13f270e42377b15e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3599471
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80076}
This commit is contained in:
Leszek Swirski 2022-04-21 11:52:42 +02:00 committed by V8 LUCI CQ
parent 50304f87ac
commit f98e1f4db9

View File

@ -77,6 +77,7 @@ class MaglevGraphVerifier {
case Opcode::kGenericIncrement:
case Opcode::kGenericDecrement:
case Opcode::kCheckedSmiUntag:
case Opcode::kGenericBitwiseNot:
case Opcode::kLoadField:
case Opcode::kLoadGlobal:
// TODO(victorgomes): Can we check that the input is actually a map?
@ -105,7 +106,6 @@ class MaglevGraphVerifier {
case Opcode::kGenericShiftLeft:
case Opcode::kGenericShiftRight:
case Opcode::kGenericShiftRightLogical:
case Opcode::kGenericBitwiseNot:
// TODO(victorgomes): Can we use the fact that these nodes return a
// Boolean?
case Opcode::kGenericEqual: