Removed narrowing conversion
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1986 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -32,9 +32,10 @@ void BochsALUInstructions::buildEquivalenceClasses() {
|
||||
InstrList &currVector = equivalenceClasses[allInstr[i].aluClass];
|
||||
if (allInstr[i].opcodeRegisterOffset <= BochsALUInstr::REG_COUNT) {
|
||||
// add an entry for each possible opcode
|
||||
for (int j = 0; j < allInstr[i].opcodeRegisterOffset; j++) {
|
||||
for (Bit8u j = 0; j < allInstr[i].opcodeRegisterOffset; j++) {
|
||||
Bit8u new_opcode = allInstr[i].opcode + j;
|
||||
BochsALUInstr newInstr = { allInstr[i].bochs_operation,
|
||||
allInstr[i].opcode + j,
|
||||
new_opcode,
|
||||
allInstr[i].reg,
|
||||
j,
|
||||
allInstr[i].aluClass };
|
||||
|
||||
Reference in New Issue
Block a user