Permalink
Browse files

Fix printing of live registers if # of regs > 15.

  • Loading branch information...
1 parent c2364ee commit 4499ed458c710a82335d96a534cf4804b7662891 @nominolo committed Oct 1, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 vm/bytecode.cc
View
@@ -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;

0 comments on commit 4499ed4

Please sign in to comment.