Washi1337 / OldRod

An automated KoiVM disassembler and devirtualisation utility
GNU General Public License v3.0
350 stars 80 forks source link

Fix recompilation of `rethrow` OpCode #51

Closed ElektroKill closed 2 years ago

ElektroKill commented 2 years ago

The old implementation treated rethrow OpCode as if it had the same stack behavior as throw. This was incorrect as rethrow does not pop anything from the stack unlike throw which does.

Washi1337 commented 2 years ago

Good catch.