| ... | @@ -39,6 +39,7 @@ fn canPrune(op: Opcode) bool { | ... | @@ -39,6 +39,7 @@ fn canPrune(op: Opcode) bool { |
| 39 | .Arithmetic, | 39 | .Arithmetic, |
| 40 | .RelationalAndLogical, | 40 | .RelationalAndLogical, |
| 41 | .Bit, | 41 | .Bit, |
| | 42 | .Annotation, |
| 42 | => true, | 43 | => true, |
| 43 | else => switch (op) { | 44 | else => switch (op) { |
| 44 | .OpFunction, | 45 | .OpFunction, |
| ... | @@ -273,7 +274,7 @@ pub fn run(parser: *BinaryModule.Parser, binary: *BinaryModule, progress: std.Pr | ... | @@ -273,7 +274,7 @@ pub fn run(parser: *BinaryModule.Parser, binary: *BinaryModule, progress: std.Pr |
| 273 | .alive = try std.DynamicBitSetUnmanaged.initEmpty(a, info.result_id_to_code_offset.count()), | 274 | .alive = try std.DynamicBitSetUnmanaged.initEmpty(a, info.result_id_to_code_offset.count()), |
| 274 | }; | 275 | }; |
| 275 | | 276 | |
| 276 | // Mark initial stuff as slive | 277 | // Mark initial stuff as alive |
| 277 | { | 278 | { |
| 278 | var it = binary.iterateInstructions(); | 279 | var it = binary.iterateInstructions(); |
| 279 | while (it.next()) |inst| { | 280 | while (it.next()) |inst| { |