Skip to content

Commit

Permalink
Provide cachedTypes as the first argument to activate the caches
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Dec 20, 2024
1 parent 2dcc2c4 commit ee080a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ee080a3

Please sign in to comment.