From 9f94e4247cde1f504c13805292719d5bfedcc231 Mon Sep 17 00:00:00 2001 From: Leszek Swirski Date: Fri, 15 Jul 2022 14:32:28 +0200 Subject: [PATCH] [maglev] Fix CreateClosure input count Bug: v8:7700 Change-Id: I0fb6de81c924e8200bd0c3117e3bf08e0365d939 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3764346 Auto-Submit: Leszek Swirski Reviewed-by: Victor Gomes Commit-Queue: Victor Gomes Cr-Commit-Position: refs/heads/main@{#81767} --- src/maglev/maglev-ir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maglev/maglev-ir.h b/src/maglev/maglev-ir.h index 3a8e8526a2..4751883131 100644 --- a/src/maglev/maglev-ir.h +++ b/src/maglev/maglev-ir.h @@ -1909,8 +1909,8 @@ class FastCreateClosure : public FixedInputValueNodeT<1, FastCreateClosure> { const compiler::FeedbackCellRef feedback_cell_; }; -class CreateClosure : public FixedInputValueNodeT<0, CreateClosure> { - using Base = FixedInputValueNodeT<0, CreateClosure>; +class CreateClosure : public FixedInputValueNodeT<1, CreateClosure> { + using Base = FixedInputValueNodeT<1, CreateClosure>; public: explicit CreateClosure(uint64_t bitfield,