diff options
| author | Toma Tabacu <toma.tabacu@imgtec.com> | 2014-09-05 16:32:09 +0000 |
|---|---|---|
| committer | Toma Tabacu <toma.tabacu@imgtec.com> | 2014-09-05 16:32:09 +0000 |
| commit | 901ba6ea2e218973e1e2c7a49995e7eb6e784bf4 (patch) | |
| tree | be6395a21fa37b4319f1262961894c1b9bb72994 /llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | |
| parent | 8ae596106592f8881a16185f3c56b58c024f2f9c (diff) | |
| download | bcm5719-llvm-901ba6ea2e218973e1e2c7a49995e7eb6e784bf4.tar.gz bcm5719-llvm-901ba6ea2e218973e1e2c7a49995e7eb6e784bf4.zip | |
[mips] Change Feature-related types from unsigned to uint64_t in MipsAsmParser. 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
Diffstat (limited to 'llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index 3a849cadf6a..c00a2f8d361 100644 --- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp @@ -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))); |

