Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Commit

Permalink
Connect nodes with throw cti to exit node.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Aug 19, 2012
1 parent d5bcb96 commit 16b9a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/furnace-avm2/transform/cfg_build.rb
Expand Up @@ -94,7 +94,7 @@ def transform(code, body)
cutoff(nil, [ nil ]) cutoff(nil, [ nil ])


when ABC::AS3Throw when ABC::AS3Throw
cutoff(opcode, [ ]) cutoff(opcode, [ nil ])


when ABC::AS3Jump when ABC::AS3Jump
@jumps.add(opcode.target_offset) @jumps.add(opcode.target_offset)
Expand Down

0 comments on commit 16b9a42

Please sign in to comment.