equal
deleted
inserted
replaced
1230 |
1230 |
1231 // Resolve all breaks. |
1231 // Resolve all breaks. |
1232 Chain exit = switchEnv.info.exit; |
1232 Chain exit = switchEnv.info.exit; |
1233 if (exit != null) { |
1233 if (exit != null) { |
1234 code.resolve(exit); |
1234 code.resolve(exit); |
1235 exit.state.defined.excludeFrom(code.nextreg); |
1235 exit.state.defined.excludeFrom(limit); |
1236 } |
1236 } |
1237 |
1237 |
1238 // If we have not set the default offset, we do so now. |
1238 // If we have not set the default offset, we do so now. |
1239 if (code.get4(tableBase) == -1) { |
1239 if (code.get4(tableBase) == -1) { |
1240 code.put4(tableBase, code.entryPoint(stateSwitch) - startpc); |
1240 code.put4(tableBase, code.entryPoint(stateSwitch) - startpc); |