diff options
Diffstat (limited to 'runtime/instruction_set.h')
| -rw-r--r-- | runtime/instruction_set.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/runtime/instruction_set.h b/runtime/instruction_set.h index f4eecfc85a..a08becfb76 100644 --- a/runtime/instruction_set.h +++ b/runtime/instruction_set.h @@ -81,6 +81,10 @@ class PACKED(4) InstructionSetFeatures {      return mask_ != peer.mask_;    } +  bool operator<=(const InstructionSetFeatures &peer) const { +    return (mask_ & peer.mask_) == mask_; +  } +   private:    uint32_t mask_;  }; |