[IR] Print evaluated const directly into interpreter's tests
This commit is contained in:
@@ -15,7 +15,7 @@ abstract class EvaluatedConstTracker {
|
||||
/**
|
||||
* Right now there are two places where we want to create this tracker.
|
||||
* 1. Right before `fir2ir` phase. We need to store evaluated values to use them later in const value serialization.
|
||||
* 2. In interpreter's tests for all IR backends. This is needed ONLY for tests and cover case when we run K1 IR compiler.
|
||||
* 2. In tests for K1 IR. This is needed ONLY for tests to log results of interpretation on lowering level.
|
||||
*/
|
||||
fun create(): EvaluatedConstTracker {
|
||||
return DefaultEvaluatedConstTracker()
|
||||
|
||||
Reference in New Issue
Block a user