Skip to content

Commit

Permalink
More patching
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmstill committed Jul 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 779d9c4 commit 5a2ebec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module/parser.zig
Original file line number Diff line number Diff line change
@@ -305,6 +305,7 @@ pub const Parser = struct {
.else_ip = math.cast(u32, self.code_ptr + 1) orelse return error.FailedCast,
},
};
self.module.instructions.items[parsed_code_offset] = VirtualMachine.@"if";
},
else => return error.UnexpectedInstruction,
}

0 comments on commit 5a2ebec

Please sign in to comment.