summaryrefslogtreecommitdiff
path: root/support/tools/TableGen/InstrSelectorEmitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/tools/TableGen/InstrSelectorEmitter.h')
-rw-r--r--support/tools/TableGen/InstrSelectorEmitter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/tools/TableGen/InstrSelectorEmitter.h b/support/tools/TableGen/InstrSelectorEmitter.h
index a1b1b6e781..9588130b61 100644
--- a/support/tools/TableGen/InstrSelectorEmitter.h
+++ b/support/tools/TableGen/InstrSelectorEmitter.h
@@ -142,6 +142,7 @@ private:
/// register result, specified with a (set) in the pattern.
///
Record *Result;
+ std::string ResultName; // The name of the result value...
/// TheRecord - The actual TableGen record corresponding to this pattern.
///
@@ -185,6 +186,7 @@ public:
TreePatternNode *getTree() const { return Tree; }
Record *getResult() const { return Result; }
+ const std::string &getResultName() const { return ResultName; }
/// getRecord - Return the actual TableGen record corresponding to this
/// pattern.