mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
Fix reverting this in try-catch
This commit is contained in:
@@ -849,10 +849,6 @@ impl FunctionCompiler {
|
||||
let snap_registers = self.get_mutated_registers(try_.block.span);
|
||||
|
||||
for reg in snap_registers {
|
||||
if !reg.is_named() {
|
||||
continue;
|
||||
}
|
||||
|
||||
let snap_reg = self.allocate_reg_fresh(&format!("snap_{}", reg.name));
|
||||
|
||||
self.push(Instruction::Mov(
|
||||
|
||||
Reference in New Issue
Block a user