Commit 9ef5202
Phase 122.6c: Rename expdesc local variable fields for clarity
Replaced abbreviated field names with verbose camelCase:
- var.ridx → var.registerIndex (4 sites: 2 field + 2 accessor)
- var.vidx → var.variableIndex (4 sites: 2 field + 2 accessor)
Updated accessor method implementations:
- getLocalRegister(), setLocalRegister() now use u.var.registerIndex
- getLocalVarIndex(), setLocalVarIndex() now use u.var.variableIndex
All implementation code uses accessor methods (perfect encapsulation),
so no changes needed outside lparser.h.
Changes:
- lparser.h (expdesc class: var struct field declarations, accessor implementations)
Performance: ~2.20s avg (5 runs) - excellent, well within ≤4.33s target
Tests: All passing ✓
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 145cd90 commit 9ef5202
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments