[JS IR] Take into account the declaration annotations in IC hash

So the annotation modifications invalidate the caller.
This commit is contained in:
Alexander Korepanov
2022-12-02 18:47:34 +01:00
committed by Space Team
parent 0a35d84193
commit d21cbfe02e
14 changed files with 91 additions and 19 deletions
@@ -190,6 +190,11 @@ public class InvalidationTestGenerated extends AbstractInvalidationTest {
runTest("js/js.translator/testData/incremental/invalidation/inlineBecomeNonInline/");
}
@TestMetadata("inlineFunctionAnnotations")
public void testInlineFunctionAnnotations() throws Exception {
runTest("js/js.translator/testData/incremental/invalidation/inlineFunctionAnnotations/");
}
@TestMetadata("inlineFunctionAsFunctionReference")
public void testInlineFunctionAsFunctionReference() throws Exception {
runTest("js/js.translator/testData/incremental/invalidation/inlineFunctionAsFunctionReference/");