Skip to content

Commit

Permalink
[mips] Change Feature-related types from unsigned to uint64_t in Mips…
Browse files Browse the repository at this point in the history
…AsmParser. No functional changes.

Summary: Found a couple of cases where unsigned was still being used. These two should be the last ones in the (entire) Mips backend.

Reviewers: dsanders

Reviewed By: dsanders

Differential Revision: http://reviews.llvm.org/D5028

llvm-svn: 217257
  • Loading branch information
Toma Tabacu committed Sep 5, 2014
1 parent 8ae5961 commit 901ba6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Expand Up @@ -254,14 +254,14 @@ class MipsAsmParser : public MCTargetAsmParser {
ComputeAvailableFeatures(STI.ToggleFeature(ArchFeature)));
}

void setFeatureBits(unsigned Feature, StringRef FeatureString) {
void setFeatureBits(uint64_t Feature, StringRef FeatureString) {
if (!(STI.getFeatureBits() & Feature)) {
setAvailableFeatures(
ComputeAvailableFeatures(STI.ToggleFeature(FeatureString)));
}
}

void clearFeatureBits(unsigned Feature, StringRef FeatureString) {
void clearFeatureBits(uint64_t Feature, StringRef FeatureString) {
if (STI.getFeatureBits() & Feature) {
setAvailableFeatures(
ComputeAvailableFeatures(STI.ToggleFeature(FeatureString)));
Expand Down

0 comments on commit 901ba6e

Please sign in to comment.