Skip to content

Commit

Permalink
Fix up step over. Again
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Godbolt committed Jul 5, 2011
1 parent 8b30674 commit 7c3cb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function step() {

function isUnconditionalJump(addr) {
var result = disassemble(addr);
if (result[0].match(/^JMP|RET/)) {
if (result[0].match(/^(JR 0x|JP|RET)/)) {
return true;
}
return false;
Expand Down

0 comments on commit 7c3cb78

Please sign in to comment.