Skip to content

Commit

Permalink
Merge pull request eclipse-omr#7123 from dylanjtuttle/missingSwitchCases
Browse files Browse the repository at this point in the history
Add missing default cases to switch statements
  • Loading branch information
knn-k authored Sep 21, 2023
2 parents 1b52192 + c39b842 commit 47af8aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/aarch64/codegen/ARM64Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1695,6 +1695,9 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64Trg1Src1ImmInstruction *instr)
break;
case TR::InstOpCode::addsimmw:
mnemonic = "cmnimmw";
break;
default:
break;
}
trfprintf(pOutFile, "%s \t", mnemonic);
print(pOutFile, instr->getSource1Register(), TR_WordReg);
Expand Down
2 changes: 2 additions & 0 deletions compiler/aarch64/codegen/OMRCodeGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,8 @@ OMR::ARM64::CodeGenerator::supportsNonHelper(TR::SymbolReferenceTable::CommonNon
result = true;
break;
}
default:
break;
}

return result;
Expand Down

0 comments on commit 47af8aa

Please sign in to comment.