File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
compiler/src/dotty/tools/dotc/transform/init Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,6 @@ object Semantic:
242242 * that could be reused to check other classes. We employ this trick to
243243 * improve performance of the analysis.
244244 */
245- private type Config = Value
246- private type Res = Value
247245
248246 /** The heap for abstract objects
249247 *
@@ -257,14 +255,14 @@ object Semantic:
257255 private type Heap = Map [Ref , Objekt ]
258256
259257
260- class Data extends Cache [Config , Res ]:
258+ class Data extends Cache [Value , Value ]:
261259 /** Global cached values for expressions
262260 *
263261 * The values are only added when a fixed point is reached.
264262 *
265263 * It is intended to improve performance for computation related to warm values.
266264 */
267- private var stable : ExprValueCache [Config , Res ] = Map .empty
265+ private var stable : ExprValueCache [Value , Value ] = Map .empty
268266
269267 /** Abstract heap stores abstract objects
270268 *
You can’t perform that action at this time.
0 commit comments