From ee080a3aeaab4b3d9cd174c88f30b6773a26f7a7 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Fri, 20 Dec 2024 14:52:23 +0100 Subject: [PATCH] Provide cachedTypes as the first argument to activate the caches --- .../java/org/enso/interpreter/runtime/data/EnsoMultiValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/EnsoMultiValue.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/EnsoMultiValue.java index 31ecb2ab9450..fec548b963b6 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/EnsoMultiValue.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/EnsoMultiValue.java @@ -94,7 +94,7 @@ public EnsoMultiValue newValue( abstract MultiType executeTypes(Type[] types, int from, int to); @Specialization( - guards = {"compareTypes(types, cachedTypes, from, to)"}, + guards = {"compareTypes(cachedTypes, types, from, to)"}, limit = INLINE_CACHE_LIMIT) final MultiType cachedMultiType( Type[] types,