diff options
Diffstat (limited to 'utils/TableGen/InstrSelectorEmitter.h')
-rw-r--r-- | utils/TableGen/InstrSelectorEmitter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/InstrSelectorEmitter.h b/utils/TableGen/InstrSelectorEmitter.h index a1b1b6e..9588130 100644 --- a/utils/TableGen/InstrSelectorEmitter.h +++ b/utils/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. |