()
| 442 | |
| 443 | // top level variables should not be exported for performance reasons (PERF_NOTES.md) |
| 444 | export function getBindingRoot() { |
| 445 | const lFrame = instructionState.lFrame; |
| 446 | let index = lFrame.bindingRootIndex; |
| 447 | if (index === -1) { |
| 448 | index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex; |
| 449 | } |
| 450 | return index; |
| 451 | } |
| 452 | |
| 453 | export function getBindingIndex(): number { |
| 454 | return instructionState.lFrame.bindingIndex; |
no outgoing calls
no test coverage detected
searching dependent graphs…