summaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/Common/CodeGenTarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/Common/CodeGenTarget.h')
-rw-r--r--llvm/utils/TableGen/Common/CodeGenTarget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/Common/CodeGenTarget.h b/llvm/utils/TableGen/Common/CodeGenTarget.h
index 41497c8d8e0d..c7b44f7028eb 100644
--- a/llvm/utils/TableGen/Common/CodeGenTarget.h
+++ b/llvm/utils/TableGen/Common/CodeGenTarget.h
@@ -95,7 +95,7 @@ public:
/// getInstructionSet - Return the InstructionSet object.
///
- Record *getInstructionSet() const;
+ const Record *getInstructionSet() const;
/// getAllowRegisterRenaming - Return the AllowRegisterRenaming flag value for
/// this target.
@@ -104,12 +104,12 @@ public:
/// getAsmParser - Return the AssemblyParser definition for this target.
///
- Record *getAsmParser() const;
+ const Record *getAsmParser() const;
/// getAsmParserVariant - Return the AssemblyParserVariant definition for
/// this target.
///
- Record *getAsmParserVariant(unsigned i) const;
+ const Record *getAsmParserVariant(unsigned i) const;
/// getAsmParserVariantCount - Return the AssemblyParserVariant definition
/// available for this target.
@@ -118,7 +118,7 @@ public:
/// getAsmWriter - Return the AssemblyWriter definition for this target.
///
- Record *getAsmWriter() const;
+ const Record *getAsmWriter() const;
/// getRegBank - Return the register bank description.
CodeGenRegBank &getRegBank() const;