diff --git a/tests/compiler/checks_elimination_ecma_test.cpp b/tests/compiler/checks_elimination_ecma_test.cpp index ddcee6553584ff6f39303f49630d85dcab5b9b7c..a072bcd968b36eed094b26eb4c2a5b2a5349564a 100644 --- a/tests/compiler/checks_elimination_ecma_test.cpp +++ b/tests/compiler/checks_elimination_ecma_test.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2021-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -770,7 +770,7 @@ TEST_F(CheckEliminationEcmaTest, EliminateHclassCheckInlined) // do something to prevent cleanup of call/return inlined INST(7, Opcode::AnyTypeCheck).any().AnyType(AnyBaseType::ECMASCRIPT_INT_TYPE).Inputs(1, 6); INST(8, Opcode::ReturnInlined).Inputs(2); - INST(9, Opcode::Return).any().Inputs(5); + INST(9, Opcode::Return).any().Inputs(7); } } @@ -818,7 +818,7 @@ TEST_F(CheckEliminationEcmaTest, EliminateHclassCheckInlined) // do something to prevent cleanup of call/return inlined INST(7, Opcode::AnyTypeCheck).any().AnyType(AnyBaseType::ECMASCRIPT_INT_TYPE).Inputs(1, 6); INST(8, Opcode::ReturnInlined).Inputs(2); - INST(9, Opcode::Return).any().Inputs(5); + INST(9, Opcode::Return).any().Inputs(7); } } EXPECT_TRUE(GraphComparator().Compare(graph, graphOpt));