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:
unzner
2012-12-22 18:30:50 +00:00
parent 4051c0f4e9
commit 02c27b58c6

View File

@ -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 };