Skip to content

Commit

Permalink
Fix printing of live registers if # of regs > 15.
Browse files Browse the repository at this point in the history
  • Loading branch information
nominolo committed Oct 1, 2012
1 parent c2364ee commit 4499ed4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vm/bytecode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ static ostream &printInlineBitmaps(ostream &out, const BcIns *ins) {
break;
if (ptrs != 0)
ptrs = *(++ptr_bitmap);
if (lives != 0)
if (lives != 0) {
lives = *(++lives_bitmap);
reg += 15;
}
}
if (sep == '{') out << '{';
out << '}' << endl;
Expand Down

0 comments on commit 4499ed4

Please sign in to comment.