File tree 1 file changed +2
-4
lines changed
compiler/src/dotty/tools/dotc/transform/init
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,6 @@ object Semantic:
242
242
* that could be reused to check other classes. We employ this trick to
243
243
* improve performance of the analysis.
244
244
*/
245
- private type Config = Value
246
- private type Res = Value
247
245
248
246
/** The heap for abstract objects
249
247
*
@@ -257,14 +255,14 @@ object Semantic:
257
255
private type Heap = Map [Ref , Objekt ]
258
256
259
257
260
- class Data extends Cache [Config , Res ]:
258
+ class Data extends Cache [Value , Value ]:
261
259
/** Global cached values for expressions
262
260
*
263
261
* The values are only added when a fixed point is reached.
264
262
*
265
263
* It is intended to improve performance for computation related to warm values.
266
264
*/
267
- private var stable : ExprValueCache [Config , Res ] = Map .empty
265
+ private var stable : ExprValueCache [Value , Value ] = Map .empty
268
266
269
267
/** Abstract heap stores abstract objects
270
268
*
You can’t perform that action at this time.
0 commit comments