@@ -30,3 +30,9 @@ e.g.
3. HIR -> LIR (resolve var, build graph)
4. LIR -> Value
为每个值分配 ID 的难点在于对动态表达式的引用。
动态表达式有:
- 依赖于函数参数的表达式
- 依赖于 with 的表达式
- 依赖于动态表达式的表达式
而这些表达式在每一次分配 ValueId 时指向的 ValueId 都不同,因此需要追踪这些变量。
The note is not visible to the blocked user.