This says we should not make assumptions about the value of the parameter. * This is different from deoptimization that will also cause argument values * to be deoptimized.
()
| 91 | * This is different from deoptimization that will also cause argument values |
| 92 | * to be deoptimized. */ |
| 93 | markReassigned(): void { |
| 94 | if (this.isReassigned) { |
| 95 | return; |
| 96 | } |
| 97 | super.markReassigned(); |
| 98 | for (const expression of this.expressionsDependingOnKnownValue) { |
| 99 | expression.deoptimizeCache(); |
| 100 | } |
| 101 | this.expressionsDependingOnKnownValue = EMPTY_ARRAY as unknown as DeoptimizableEntity[]; |
| 102 | } |
| 103 | |
| 104 | deoptimizeCache(): void { |
| 105 | this.markReassigned(); |
no test coverage detected