Commit 80580d6
committed
Remove registry check from EmitBlock to fix op/pack.t regression
The registry check in EmitBlock (lines 104-138) was causing op/pack.t to stop
at test 245 instead of running 14579 tests, a regression of -14334 tests.
Root cause: The check was too aggressive and interfered with normal control flow
in labeled blocks, particularly SKIP blocks in test files.
Solution: Remove the registry check from EmitBlock entirely. Real loops (for/while/foreach)
have their own registry checks in EmitForeach.java and EmitStatement.java that work correctly.
Changes:
- EmitBlock.java: Removed registry check (lines 104-138)
- Kept conditional registry clearing at block exit (works correctly)
Results:
- op/pack.t: restored to baseline
- uni/variables.t: 66683/66880 (baseline maintained)
- skip_control_flow.t: tests 2,5,8 still fail (scalar context issue remains)1 parent e94a91a commit 80580d6
1 file changed
Lines changed: 3 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 102 | | |
141 | | - | |
142 | | - | |
| 103 | + | |
| 104 | + | |
143 | 105 | | |
144 | 106 | | |
145 | 107 | | |
146 | | - | |
| 108 | + | |
147 | 109 | | |
148 | 110 | | |
149 | 111 | | |
| |||
0 commit comments