diff options
Diffstat (limited to 'lib/Target/WebAssembly/WebAssemblySubtarget.h')
| -rw-r--r-- | lib/Target/WebAssembly/WebAssemblySubtarget.h | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/WebAssembly/WebAssemblySubtarget.h b/lib/Target/WebAssembly/WebAssemblySubtarget.h index a6bf0b6d54f6..b170dbff3b32 100644 --- a/lib/Target/WebAssembly/WebAssemblySubtarget.h +++ b/lib/Target/WebAssembly/WebAssemblySubtarget.h @@ -8,7 +8,7 @@  //===----------------------------------------------------------------------===//  ///  /// \file -/// \brief This file declares the WebAssembly-specific subclass of +/// This file declares the WebAssembly-specific subclass of  /// TargetSubtarget.  ///  //===----------------------------------------------------------------------===// @@ -32,6 +32,8 @@ class WebAssemblySubtarget final : public WebAssemblyGenSubtargetInfo {    bool HasSIMD128;    bool HasAtomics;    bool HasNontrappingFPToInt; +  bool HasSignExt; +  bool HasExceptionHandling;    /// String name of used CPU.    std::string CPUString; @@ -78,6 +80,8 @@ public:    bool hasSIMD128() const { return HasSIMD128; }    bool hasAtomics() const { return HasAtomics; }    bool hasNontrappingFPToInt() const { return HasNontrappingFPToInt; } +  bool hasSignExt() const { return HasSignExt; } +  bool hasExceptionHandling() const { return HasExceptionHandling; }    /// Parses features string setting specified subtarget options. Definition of    /// function is auto generated by tblgen.  | 
