Skip to content

Commit

Permalink
Use GPR helper when generating opt assertions for byte operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Rogers committed Jun 6, 2009
1 parent 80f9107 commit 4dfefdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rvm/src-generated/ia32-assembler-opt/GenerateAssembler.java
Original file line number Diff line number Diff line change
Expand Up @@ -950,9 +950,9 @@ private void emitSingleton(String opcode, boolean[][] testsPerformed,
if (currentOpcode.indexOf("MOVZX") == -1 &&
currentOpcode.indexOf("MOVSX") == -1) {
emitTab(level);
emit("if (VM.VerifyAssertions && !(");
emit("if (VM.VerifyAssertions) VM._assert(");
emitArgs(i, ArgumentType.GPRegister);
emit(".value() < 4)) VM._assert(false, inst.toString());\n");
emit(".isValidAs8bitRegister());\n");
}
}

Expand Down

0 comments on commit 4dfefdf

Please sign in to comment.