aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCInstPrinter.h
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-09-03 15:03:36 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-09-03 15:03:36 +0000
commitf21c18db9fa8bf185a44287f5700fec3d4a98e14 (patch)
tree0cc90933418327327189a64dedcc20f9dfa0e3ff /include/llvm/MC/MCInstPrinter.h
parent69086b2962b16a9e78aea0605202c5ea126049ae (diff)
downloadexternal_llvm-f21c18db9fa8bf185a44287f5700fec3d4a98e14.zip
external_llvm-f21c18db9fa8bf185a44287f5700fec3d4a98e14.tar.gz
external_llvm-f21c18db9fa8bf185a44287f5700fec3d4a98e14.tar.bz2
[MC] AvailableFeatures needs to be a uint64_t to match FeatureBits in MCSubtargetInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCInstPrinter.h')
-rw-r--r--include/llvm/MC/MCInstPrinter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/MC/MCInstPrinter.h b/include/llvm/MC/MCInstPrinter.h
index cb7225f..b4258be 100644
--- a/include/llvm/MC/MCInstPrinter.h
+++ b/include/llvm/MC/MCInstPrinter.h
@@ -41,7 +41,7 @@ protected:
const MCRegisterInfo &MRI;
/// The current set of available features.
- unsigned AvailableFeatures;
+ uint64_t AvailableFeatures;
/// True if we are printing marked up assembly.
bool UseMarkup;
@@ -77,8 +77,8 @@ public:
/// printRegName - Print the assembler register name.
virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
- unsigned getAvailableFeatures() const { return AvailableFeatures; }
- void setAvailableFeatures(unsigned Value) { AvailableFeatures = Value; }
+ uint64_t getAvailableFeatures() const { return AvailableFeatures; }
+ void setAvailableFeatures(uint64_t Value) { AvailableFeatures = Value; }
bool getUseMarkup() const { return UseMarkup; }
void setUseMarkup(bool Value) { UseMarkup = Value; }